SAP ABAP Class CL_CMIS10_UTIL (Utilities for CMIS connector)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ECM-ABA (Application Component) ECM ABAP Stack
     S_NWECM_CONNECTOR_CMIS_1_0 (Package) CMIS Connector Version 1.0
Properties
Class CL_CMIS10_UTIL  
Short Description Utilities for CMIS connector    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_NWECM_CONNECTOR_CMIS_1_0   CMIS Connector Version 1.0 
Created 20100519   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 NEMCM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CMIS10_UTIL has no interface implemented.
Friends
Class CL_CMIS10_UTIL has no friend class.
Attributes
Class CL_CMIS10_UTIL has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 COPY_SINGLE_FILE Static method Public Method create a new file 20100609
2 COPY_SINGLE_FOLDER Static method Public Method copies a single node without hierarchy 20100609
3 CREATE_CMIS_PROPS_FROM_ECM Static method Public Method Create CMIS properties from an ECM Object 20100531
4 CREATE_ECM_OBJECT_FROM_CMIS Static method Public Method Create a ECM object from a CMIS object 20100519
5 CREATE_ECM_PROPS_FROM_CMIS Static method Public Method Create a ECM property object from a cmis object 20100610
6 CREATE_EMPTY_CMIS_PROPS Static method Public Method Create CMIS properties from an ECM Object 20100614
7 CREATE_FILE Static method Public Method create a new file 20100609
8 CREATE_FOLDER Static method Public Method create a new folder 20100609
9 DELETE_NODE Static method Public Method deletes a node 20100609
10 GET_CHILDREN Static method Public Method Read the children for a node 20100601
11 GET_DEFAULT_FILTER Static method Public Method Returns the default property filter 20100520
12 GET_ECM_OBJECT_BY_ID Static method Public Method Gets a ECM object by its CMIS id 20100520
13 GET_NODE_BY_PATH Static method Public Method read a node by its path 20100604
14 GET_PATH_FOR_FILE Static method Public Method returns the path for a file 20100611
15 GET_TIMESTAMP Static method Public Method retrusn a timestamp for a string 20110222
16 GET_UTC_STRING Static method Public Method retrusn a timestamp for a string 20110222
17 RENAME Static method Public Method rename a node 20100609
Events
Class CL_CMIS10_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PROPERTY_MAPPING Private See coding 20100526 BEGIN OF property_mapping, cmis_name TYPE string, ecm_name TYPE string, END OF property_mapping
Method Signatures

Method COPY_SINGLE_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FILE_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_FILE_INFO The parent folder where the new file should be created 20100609
2 Importing IO_PARENT_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_FOLDER_INFO The parent folder where the new file should be created 20100609
3 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO Session information 20100609
4 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100609
5 Returning RO_NODE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_NODE_INFO The newly created file 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_ITEM_EXISTS ECMI: Item Already Exists Exception 20100609
5 CX_NWECM_LOCK ECMI: Lock Exception 20100609
6 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609

Method COPY_SINGLE_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO Session Object for the connector call 20100609
2 Importing IO_SOURCE_FOLDER_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_FOLDER_INFO node object to be copied 20100609
3 Importing IO_TARGET_FOLDER_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_FOLDER_INFO folder object where node is to be copied 20100609
4 Importing IV_NAME Call by reference Type reference (TYPE) STRING new name of the node object in target folder 20100609
5 Returning RO_NODE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_NODE_INFO ID of node object 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_ITEM_EXISTS ECMI: Item Already Exists Exception 20100609
5 CX_NWECM_LOCK ECMI: Lock Exception 20100609
6 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609

Method CREATE_CMIS_PROPS_FROM_ECM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CMIS_NODE Call by reference Type reference (TYPE) CM10_CMIS_PROPERTIES_TYPE Proxy Structure (generated) 20100604
2 Exporting EV_NEW_NAME Call by reference Type reference (TYPE) STRING the value if the name property if provided 20100604
3 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO Simple ECM connector session implementation 20100531
4 Importing IO_TYPE_NAME Call by reference Object reference (TYPE REF TO) CL_NWECM_NAME type name 20100601
5 Importing IT_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_PROPERTY_HOLDER Table of property holder objects 20100531
6 Importing IV_INCLUDE_ADDITIONAL_PROPS Call by reference Type reference (TYPE) ABAP_BOOL include additional pros like type and name 20100601
7 Importing IV_IS_FOLDER Call by reference Type reference (TYPE) ABAP_BOOL true, if object is a folder 20100531
8 Importing IV_NAME Call by reference Type reference (TYPE) STRING node name 20100601
# Exception Resumable Description Created on
1 CX_CMIS10_PROP_DEF_NOT_FOUND Property Definition not found 20100608
2 CX_NWECM_NODE_TYPE_NOT_FOUND ECMI: Node Type Not Found Exception 20100608
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100601

Method CREATE_ECM_OBJECT_FROM_CMIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100519
2 Importing IS_CMIS_NODE Call by reference Type reference (TYPE) CM10_CMIS_OBJECT_TYPE Proxy Structure (generated) 20100519
3 Importing I_ALL_PROPERTIES_READ Call by reference Type reference (TYPE) ABAP_BOOL 20110121
4 Returning RO_NODE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_NODE_INFO ECMI: Connector-Specific Node Info 20100520
# Exception Resumable Description Created on
1 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100519

Method CREATE_ECM_PROPS_FROM_CMIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_PROPERTY_INFO Table of property info type 20100610
2 Exporting E_CHANGE_TOKEN Call by reference Type reference (TYPE) STRING change token used for optimistic locking 20100614
3 Exporting E_ID Call by reference Type reference (TYPE) STRING node id if available in properties 20100610
4 Exporting E_NAME Call by reference Type reference (TYPE) STRING node name f available in properties 20100610
5 Exporting E_PATH Call by reference Type reference (TYPE) STRING node path f available in properties 20100610
6 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100610
7 Importing IS_PROPERTIES Call by reference Type reference (TYPE) CM10_CMIS_PROPERTIES_TYPE Proxy Structure (generated) 20100610
8 Importing IV_TYPE_ID Call by reference Type reference (TYPE) STRING node type 20100610
# Exception Resumable Description Created on
1 CX_CMIS10_PROP_DEF_NOT_FOUND Property Definition not found 20100610
2 CX_NWECM_NODE_TYPE_NOT_FOUND ECMI: Node Type Not Found Exception 20100610
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100610

Method CREATE_EMPTY_CMIS_PROPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CMIS_NODE Call by reference Type reference (TYPE) CM10_CMIS_PROPERTIES_TYPE Proxy Structure (generated) 20100614
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO Simple ECM connector session implementation 20100614
3 Importing IO_TYPE_NAME Call by reference Object reference (TYPE REF TO) CL_NWECM_NAME type name 20100614
4 Importing IT_PROPERTY_NAMES Call by reference Type reference (TYPE) NWECM_T_NAME Table of property holder objects 20100614
# Exception Resumable Description Created on
1 CX_CMIS10_PROP_DEF_NOT_FOUND Property Definition not found 20100614
2 CX_NWECM_NODE_TYPE_NOT_FOUND ECMI: Node Type Not Found Exception 20100614
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100614

Method CREATE_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_FOLDER_INFO The parent folder where the new file should be created 20100609
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO Session information 20100609
3 Importing IT_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_PROPERTY_HOLDER Table of property info type 20100609
4 Importing IV_CONTENT Call by reference Type reference (TYPE) XSTRING The content as xstring 20100609
5 Importing IV_MIME_TYPE Call by reference Type reference (TYPE) STRING 20100609
6 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100609
7 Importing IV_SIZE Call by reference Type reference (TYPE) NWECM_LONG Lenght of a file in bytes 20100609
8 Returning RO_FILE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_FILE_INFO The newly created file 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_ITEM_EXISTS ECMI: Item Already Exists Exception 20100609
5 CX_NWECM_LOCK ECMI: Lock Exception 20100609
6 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609

Method CREATE_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_FOLDER_INFO The parent folder of the new folder 20100609
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO Session information 20100609
3 Importing IT_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_PROPERTY_HOLDER Table of property info type 20100609
4 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20100609
5 Returning RO_FOLDER_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_FOLDER_INFO The newly created folder 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_ITEM_EXISTS ECMI: Item Already Exists Exception 20100609
5 CX_NWECM_LOCK ECMI: Lock Exception 20100609
6 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609

Method DELETE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NODE_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_NODE_INFO ECMI: Connector-Specific Node Info 20100609
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_LOCK ECMI: Lock Exception 20100609
5 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609

Method GET_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FOLDER_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_FOLDER_INFO NW ECM: Connector-Specific Folder Information 20100601
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO used for user and workspace identification 20100601
3 Importing IT_PREPARE_FOR_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_NAME 20100601
4 Importing IV_FROM Call by reference Type reference (TYPE) I 0 20100601
5 Importing IV_PREPARE_FOR_CONTENT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100601
6 Importing IV_TO Call by reference Type reference (TYPE) I 0 20100601
7 Returning RT_CHILD_INFOS Value transfer Type reference (TYPE) NWECM_T_NODE_INFO Table containing node references 20100601
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100601
2 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100611
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100601

Method GET_DEFAULT_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO Simple ECM connector session implementation 20100614
2 Importing IT_NAMES Call by reference Type reference (TYPE) NWECM_T_NAME Table of names 20100614
3 Importing IV_IS_FOLDER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110713
4 Importing IV_TYPE_ID Call by reference Type reference (TYPE) STRING type id 20100614
5 Returning RV_FILTER Value transfer Type reference (TYPE) STRING cmis filter 20100520

Method GET_DEFAULT_FILTER on class CL_CMIS10_UTIL has no exception.

Method GET_ECM_OBJECT_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_SESSION_INFO CMIS connector session implementation 20100520
2 Importing IT_PREPARE_FOR_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_NAME Table of names 20100614
3 Importing IV_ID Call by reference Type reference (TYPE) STRING node id 20100520
4 Returning RO_NODE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_NODE_INFO CMIS Node Info 20100520
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100521
2 CX_NWECM_NODE_NOT_FOUND ECMI: Node Not Found Exception 20100520
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100520

Method GET_NODE_BY_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PATH Call by reference Object reference (TYPE REF TO) CL_NWECM_PATH ECMI: Path Representation and Handling 20100604
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100604
3 Importing IT_PREPARE_FOR_PROPERTIES Call by reference Type reference (TYPE) NWECM_T_NAME Table of names 20100604
4 Importing IV_PREPARE_FOR_CONTENT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100604
5 Returning RO_NODE_INFO Value transfer Object reference (TYPE REF TO) IF_NWECM_NODE_INFO ECMI: Connector-Specific Node Info 20100604
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100604
2 CX_NWECM_NODE_NOT_FOUND ECMI: Node Not Found Exception 20100604
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100604
4 CX_NWECM_UNSUPPORTED_OPERATION ECMI: Unsupported Repository Operation Exception 20100604

Method GET_PATH_FOR_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_FILE_INFO Call by reference Object reference (TYPE REF TO) CL_CMIS10_FILE_INFO ECMI: Connector-Specific Node Info 20100611
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100611
3 Returning RV_PATH Value transfer Type reference (TYPE) STRING ECMI: Path Representation and Handling 20100611
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100611
2 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100611
3 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100611

Method GET_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_TIMSTAMP Value transfer Type reference (TYPE) NWECM_TIMESTAMP nwecm: Timestamp (DATS + TIMS) 20110222
2 Importing IV_STRING Call by reference Type reference (TYPE) STRING date as string 20110222

Method GET_TIMESTAMP on class CL_CMIS10_UTIL has no exception.

Method GET_UTC_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_STRING Value transfer Type reference (TYPE) STRING date as string 20110222
2 Importing IV_TIMSTAMP Value transfer Type reference (TYPE) NWECM_TIMESTAMP nwecm: Timestamp (DATS + TIMS) 20110222

Method GET_UTC_STRING on class CL_CMIS10_UTIL has no exception.

Method RENAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NODE_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_NODE_INFO ECMI: Connector-Specific Node Info 20100609
2 Importing IO_SESSION_INFO Call by reference Object reference (TYPE REF TO) IF_NWECM_SESSION_INFO ECMI: Session Info for User and Workspace Identification 20100609
3 Importing IV_NEW_NAME Call by reference Type reference (TYPE) STRING 20100609
4 Returning RV_NODE_ID Value transfer Type reference (TYPE) STRING 20100609
# Exception Resumable Description Created on
1 CX_NWECM_ACCESS_DENIED ECMI: Access Denied Exception 20100609
2 CX_NWECM_CONSTRAINT_VIOLATION ECMI: Constraint Violation 20100609
3 CX_NWECM_INVALID_STATE ECMI: Invalid State Exception 20100609
4 CX_NWECM_ITEM_EXISTS ECMI: Item Already Exists Exception 20100609
5 CX_NWECM_LOCK ECMI: Lock Exception 20100609
6 CX_NWECM_REPOSITORY ECMI: Repository Exception 20100609
History
Last changed by/on SAP  20130531 
SAP Release Created in 703