SAP ABAP Class CL_ARFND_IMAGE_HANDLER (SICF Handler of Image Upload Service)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-AR-BE (Application Component) SAP UI Integration - Application Reuse - Backend Enabl.
     AR_FND_SERVICES (Package) SAP UI Application Reuse Backend Services
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HTTP_EXTENSION HTTP Framework (iHTTP) HTTP Request Handler 20130108
Properties
Class CL_ARFND_IMAGE_HANDLER  
Short Description SICF Handler of Image Upload Service    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package AR_FND_SERVICES   SAP UI Application Reuse Backend Services 
Created 20130108   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ARFND_IMAGE_HANDLER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_HTTP_EXTENSION HTTP Framework (iHTTP) HTTP Request Handler 20130108
Friends
Class CL_ARFND_IMAGE_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DESKTOP_THUMBNAIL Constant Private See coding 20130111
2 GC_DEV_CLASS Instance attribute Private See coding '/UI2/WDC_DEVCLASS' 20130128
3 GC_IMAGE_EXTN Constant Private Type reference (TYPE) STRING '_uxga.jpg' 20130113
4 GC_THUMBNAIL_EXTN Constant Private Type reference (TYPE) STRING '_thumbnail.jpg' 20130113
5 GC_TRKORR_CONF Instance attribute Private See coding '/UI2/WD_TRKORR_CONF' 20130128
6 GC_TRKORR_CUST Instance attribute Private See coding '/UI2/WD_TRKORR_CUST' 20130128
7 GO_JSON_UTILS Instance attribute Private Object reference (TYPE REF TO) LCL_ARFND_JSON_UTILS 20130113
8 GV_CONF_PATH Instance attribute Private Type reference (TYPE) STRING '/sap/bc/bsp/sap/ARSRVC_SUITE_PB/themes/images/bgimages/' 20130113
9 GV_CUST_PATH Instance attribute Private Type reference (TYPE) STRING '/sap/bc/bsp/sap/ARSRVC_SUITE_PB/themes/images/bgimages/' 20130113
10 GV_HTTP_VERB Instance attribute Private Type reference (TYPE) STRING 20130113
11 GV_IMAGE_FORMAT_JPG Constant Private Type reference (TYPE) STRING 'image/jpeg' 20130115
12 GV_JSON_OUT Instance attribute Private Type reference (TYPE) STRING 20130115
13 GV_PERS_PATH Instance attribute Private Type reference (TYPE) STRING '/sap/bc/bsp/sap/ARSRVC_SUITE_PB/themes/images/bgimages/' 20130113
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130113
2 DELETE Instance method Private Method CRUDelete Image from MIME 20130108
3 EVALUATE_REQUEST Instance method Private Method 20130113
4 GET_MIME_PATH_NAME Instance method Private Method Get MIME Path 20130108
5 POST Instance method Private Method CreateRUD Image in the MIME 20130108
6 PROCESS_IMAGE Instance method Private Method 20130113
7 RESIZE_IMAGE Instance method Private Method Resize incoming image 20130108
8 W3MIMETAB_TO_XSTRING Instance method Private Method #imageconv 20130108
9 XSTRING_TO_W3MIMETAB Instance method Private Method #imageconv 20130108
Events
Class CL_ARFND_IMAGE_HANDLER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 DT_CHAR16 Private See coding 20130114 dt_char16 TYPE c LENGTH 16
2 TT_W3MIME Private See coding 20130113 tt_w3mime TYPE STANDARD TABLE OF t_w3mime
3 T_EVAL_REQUEST Private See coding 20130113 BEGIN OF t_eval_request, scope TYPE string, guid TYPE c LENGTH 16, img_typ TYPE string, END OF t_eval_request
4 T_W3MIME Private See coding 20130113 BEGIN OF t_w3mime, line TYPE x LENGTH 255, END OF t_w3mime
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_ARFND_IMAGE_HANDLER has no parameter.
Method CONSTRUCTOR on class CL_ARFND_IMAGE_HANDLER has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20130114
# Exception Resumable Description Created on
1 CX_ARFND_EXCEPTION Exception class for UI2Suite reusables 20130114

Method EVALUATE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20130113
2 Returning RS_PARAMS Value transfer Type reference (TYPE) T_EVAL_REQUEST 20130113

Method EVALUATE_REQUEST on class CL_ARFND_IMAGE_HANDLER has no exception.

Method GET_MIME_PATH_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IMAGE_PATH Call by reference Type reference (TYPE) STRING 20130108
2 Exporting EV_THUMBNAIL_PATH Call by reference Type reference (TYPE) STRING 20130108
3 Importing IS_JSON_PARAMS Call by reference Type reference (TYPE) T_EVAL_REQUEST Field of length 16 20130115

Method GET_MIME_PATH_NAME on class CL_ARFND_IMAGE_HANDLER has no exception.

Method POST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20130108
# Exception Resumable Description Created on
1 CX_ARFND_EXCEPTION Exception class for UI2Suite reusables 20130111

Method PROCESS_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SERVER Call by reference Object reference (TYPE REF TO) IF_HTTP_SERVER HTTP Framework (iHTTP) HTTP Server 20130113
2 Importing IS_JSON_PARAMS Call by reference Type reference (TYPE) T_EVAL_REQUEST 20130113
3 Importing IV_PACKAGE Call by reference Type reference (TYPE) DEVCLASS Package 20130113
4 Importing IV_TRCORR Call by reference Type reference (TYPE) TRKORR Request/Task 20130113
5 Returning RV_UPLOAD_SUCCESS Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130113
# Exception Resumable Description Created on
1 CX_ARFND_EXCEPTION Exception class for UI2Suite reusables 20130114

Method RESIZE_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_XSTRING Call by reference Type reference (TYPE) XSTRING 20130108
2 Importing IV_MIMETYPE Call by reference Type reference (TYPE) STRING 20130108
3 Importing IV_XRES Call by reference Type reference (TYPE) I 20130108
4 Importing IV_YRES Call by reference Type reference (TYPE) I 20130108

Method RESIZE_IMAGE on class CL_ARFND_IMAGE_HANDLER has no exception.

Method W3MIMETAB_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_W3MIMETAB Call by reference Type reference (TYPE) TT_W3MIME ITS: Table Type for MIME Source 20130113
2 Importing IV_LENGTH Call by reference Type reference (TYPE) I 20130108
3 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING 20130108

Method W3MIMETAB_TO_XSTRING on class CL_ARFND_IMAGE_HANDLER has no exception.

Method XSTRING_TO_W3MIMETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_W3MIMETAB Call by reference Type reference (TYPE) TT_W3MIME ITS: Table Type for MIME Source 20130113
2 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING 20130108

Method XSTRING_TO_W3MIMETAB on class CL_ARFND_IMAGE_HANDLER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 100