SAP ABAP Class CL_SRM_ECM_FILE_INFO (NW ECM: RM File Info)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-RM (Application Component) SAP Records Management
⤷
SRM_ECM_IMPL (Package) Records Management SPI (ECM) Implementation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SRM_ECM_NODE_INFO | NW ECM: RM Node Info Implementation | 20081127 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_NWECM_BINARY | NW ECM: Byte Sequence | 20081127 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_NWECM_CONTENT | NW ECM: File Content | 20081127 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_NWECM_FILE_INFO | ECMI: Connector-Specific File Info | 20081127 |
Properties
| Class | CL_SRM_ECM_FILE_INFO | |
| Short Description | NW ECM: RM File Info | |
| Super Class | CL_SRM_ECM_NODE_INFO | NW ECM: RM Node Info Implementation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SRM_ECM_IMPL | Records Management SPI (ECM) Implementation |
| Created | 20081127 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_NWECM_BINARY | NW ECM: Byte Sequence | 20081127 | ||
| 2 | IF_NWECM_CONTENT | NW ECM: File Content | 20081127 | ||
| 3 | IF_NWECM_FILE_INFO | ECMI: Connector-Specific File Info | 20081127 |
Friends
Class CL_SRM_ECM_FILE_INFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_NWECM_INPUT_STREAM | NW ECM: Streamed Binary Reader | 20081127 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | STRING | Mimetype | 20081127 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | NWECM_LONG | Lenght of a file in bytes | 20081127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Get Document Content (method internal reuseable) | 20090427 | |
| 2 | Instance method | Public | Method | Get Size and Type and Set it in Global Class Attributes | 20081127 | |
| 3 | Instance method | Public | Method | Get Content of a file | 20081127 | |
| 4 | Instance method | Public | Method | Get Mime Type and Size of Content | 20081127 | |
| 5 | Instance method | Public | Method | Get Document ID of DocumentObjectInstance | 20090427 | |
| 6 | Instance method | Public | Method | Get File Object Reference (Here: Document Object) | 20081127 | |
| 7 | Instance method | Public | Method | Get Session Info | 20081127 | |
| 8 | Instance method | Public | Method | Get Mime Type and Size of Content | 20081127 | |
| 9 | Instance method | Public | Method | Get the MIME-TYPE of this file (method internal reuseable) | 20090429 | |
| 10 | Instance method | Public | Method | Set HASH Value for optimistic locking (comparision of attr.) | 20090427 | |
| 11 | Instance method | Public | Method | Set Session Info | 20081127 |
Events
Class CL_SRM_ECM_FILE_INFO has no event.
Types
Class CL_SRM_ECM_FILE_INFO has no local type.
Method Signatures
Method GET_BYTES_INTERNAL_REUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AVOID_HASH_CALCULATION | Call by reference | Type reference (TYPE) | BOOLEAN | IF_SRM=>FALSE | If athwart call of private method, set = ABAP_TRUE | 20090427 | ||
| 2 | IV_USERNAME | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20090427 | ||
| 3 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090427 | |||
| 4 | OV_BYTES | Value transfer | Type reference (TYPE) | XSTRING | Content of file | 20090427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090427 |
Method GET_COMPONENT_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SP_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_SP_DOCUMENT | Document backedn API | 20081127 | |||
| 2 | IT_COMPONENT_TAB | Call by reference | Type reference (TYPE) | SRMGS_COMPONENTS | Component Table (size and type) | 20081127 | |||
| 3 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081127 | |||
| 4 | OV_MIMETYPE | Call by reference | Type reference (TYPE) | STRING | Mime type | 20081127 | |||
| 5 | OV_SIZE | Call by reference | Type reference (TYPE) | NWECM_LONG | Lenght of a file in bytes | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20081127 |
Method GET_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SESSION_INFO | Call by reference | Object reference (TYPE REF TO) | IF_NWECM_SESSION_INFO | NW ECM: Session Info for User and Workspace Identification | 20081127 | |||
| 2 | RO_CONTENT | Value transfer | Object reference (TYPE REF TO) | IF_NWECM_CONTENT | NW ECM: File Info Implementation | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20081127 |
Method GET_CONTENT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SP_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_SP_DOCUMENT | Document backedn API | 20081127 | |||
| 2 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081127 | |||
| 3 | OV_MIMETYPE | Call by reference | Type reference (TYPE) | STRING | Mime type | 20081127 | |||
| 4 | OV_SIZE | Call by reference | Type reference (TYPE) | NWECM_LONG | Lenght of a file in bytes | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NW ECM: Repository Exception | 20081127 |
Method GET_DOC_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SRM_SP_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_SRM_SP_DOCUMENT | Represents SP Document Back End | 20090427 | |||
| 2 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090427 | |||
| 3 | OV_DOC_ID | Call by reference | Type reference (TYPE) | STRING | Return DOC-ID | 20090427 | |||
| 4 | OV_NODE_ID_TECH | Call by reference | Type reference (TYPE) | STRING | technical ID | 20090429 | |||
| 5 | OV_PATHNAME | Call by reference | Type reference (TYPE) | STRING | Pathname | 20090427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20090427 |
Method GET_FILE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OR_SRM_SP_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_SRM_SP_DOCUMENT | Document backedn API | 20081127 | |||
| 2 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NW ECM Repository Exception | 20081127 |
Method GET_SESSION_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OR_SESSION_INFO | Call by reference | Object reference (TYPE REF TO) | IF_NWECM_SESSION_INFO | NW ECM: Session Info for User and Workspace Identification | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20081127 |
Method GET_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SP_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_SRM_SP_DOCUMENT | Document backedn API | 20081127 | |||
| 2 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20081127 | |||
| 3 | OV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | binary content of file | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document Client | 20081127 |
Method GET_TYPE_INTERNAL_REUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATHWART_CALL | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_FALSE | To be set on true, if no if_nwecm-method calls this method | 20090429 | ||
| 2 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090429 | |||
| 3 | OV_DOC_ID | Call by reference | Type reference (TYPE) | STRING | further more information, here doc-id | 20090429 | |||
| 4 | OV_EXCEPTION_TYPE | Call by reference | Type reference (TYPE) | SEOSCONAME | Only needed by prime-method not for athwart call | 20090429 | |||
| 5 | OV_MIME_TYPE | Value transfer | Type reference (TYPE) | STRING | MimeType of file | 20090429 | |||
| 6 | OV_PATHNAME | Call by reference | Type reference (TYPE) | STRING | further more information, here path | 20090429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20090429 |
Method SET_HASH_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SRM_SP_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_SRM_SP_DOCUMENT | Document Back-End API | 20090427 | |||
| 2 | IV_DOC_ID_TECH | Call by reference | Type reference (TYPE) | STRING | DOC-ID with version and variant | 20090429 | |||
| 3 | IV_PATHNAME | Call by reference | Type reference (TYPE) | STRING | Fully pathname | 20090427 | |||
| 4 | IV_USERNAME | Call by reference | Type reference (TYPE) | SYUNAME | User Name | 20090427 | |||
| 5 | OT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20090427 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20090427 |
Method SET_SESSION_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SESSION_INFO | Call by reference | Object reference (TYPE REF TO) | IF_NWECM_SESSION_INFO | NW ECM: Session Info for User and Workspace Identification | 20081127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Application Log of SRM ECM | 20081127 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |