SAP ABAP Class CB_NWDEMO_PERSIST_BP_PH (Base agent SAP NW Demo Model - bp telephone persistence clas)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_NWDEMO_MODEL_BUSINESS_P (Package) SAP NetWeaver Demo Model - Business Partner
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_OS_CA_COMMON Superclass of the Object Services Class Actors 20070614
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CA_NWDEMO_PERSIST_BP_PH Agent SAP NW Demo Model - bp telephone persistence class 20070614
Properties
Class CB_NWDEMO_PERSIST_BP_PH  
Short Description Base agent SAP NW Demo Model - bp telephone persistence clas    
Super Class CL_OS_CA_COMMON Superclass of the Object Services Class Actors 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 11  Factory for Persistent Class 
Package S_NWDEMO_MODEL_BUSINESS_P   SAP NetWeaver Demo Model - Business Partner 
Created 20070614   SAP 
Last change 20071217   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CB_NWDEMO_PERSIST_BP_PH has no forward declaration.
Interfaces
Class CB_NWDEMO_PERSIST_BP_PH has no interface implemented.
Friends
Class CB_NWDEMO_PERSIST_BP_PH has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CURRENT_SPECIAL_OBJECT_INFO Instance attribute Protected Type reference (TYPE) TYP_SPECIAL_OBJECT_INFO Current Class-Specific Object Data 20070614
2 MAP_ATT_INFO_TAB Instance attribute Protected Type reference (TYPE) OSTYP_RT_MAP_ATT_INFO_SRT_TAB Query: Mapping Metadata for Attributes 20070614
3 SPECIAL_BKEY_TAB Instance attribute Protected Type reference (TYPE) TYP_SPECIAL_BKEY_TAB Class-Specific: Search Table Business Keys 20070614
4 SPECIAL_OBJECT_INFO Instance attribute Protected Type reference (TYPE) TYP_SPECIAL_OBJECT_INFO_TAB Class-Specific Object Data 20070614
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_PERSISTENT Instance method Public Method Generate New Persistent Object with Key 20070614
2 CREATE_TRANSIENT Instance method Public Method Generate Transient Object with Key 20070614
3 DELETE_PERSISTENT Instance method Public Method Deletes Persistent Object with Key 20070614
4 GET_PERSISTENT Instance method Public Method Get Persistent Object with Key 20070614
5 GET_TRANSIENT Instance method Public Method Get Transient Object with Key 20070614
6 MAP_EXTRACT_IDENTIFIER Instance method Protected Method Extracts BKey from Database Data 20070614
7 MAP_GET_ATTRIBUTES Instance method Protected Method Reads Persistent Attributes from Object 20070614
8 MAP_INITIALIZE_METADATA Instance method Protected Method Initializes Metadata Table for Attributes 20070614
9 MAP_LOAD_FROM_DATABASE Instance method Protected Method Reads Identified Object Data from the DB Based on a Filter 20070614
10 MAP_LOAD_FROM_DATABASE_KEY Instance method Protected Method Reads Object Data Identified Using Bus. Key from Database 20070614
11 MAP_MERGE_IDENTIFIER Instance method Protected Method Adds BKey to DB Data 20070614
12 MAP_SAVE_TO_DATABASE Instance method Protected Method Saves Object Data in Database 20070614
13 MAP_SERIALIZE_BKEY Instance method Protected Method Serializes Business Key 20070614
14 MAP_SET_ATTRIBUTES Instance method Protected Method Sets Persistent Attributes of an Object 20070614
15 PM_CHECK_AND_SET_ATTRIBUTES Instance method Protected Method Checks and Sets Persistent Attributes 20070614
16 PM_CREATE_REPRESENTANT Instance method Protected Method Generate New Wrapper Object and Administration Entry 20070614
17 PM_DELETE_PERSISTENT Instance method Protected Method Deletes Persistent Object from Database 20070614
18 PM_LOAD_AND_SET_ATTRIBUTES Instance method Protected Method Loads and Sets Persistent Attributes 20070614
Events
Class CB_NWDEMO_PERSIST_BP_PH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYP_BUSINESS_KEY Protected See coding Business Key 20070614 begin of TYP_BUSINESS_KEY , PHONE_GUID type GUID_16 , end of TYP_BUSINESS_KEY
2 TYP_BUSINESS_KEY_TAB Protected See coding TYP_BUSINESS_KEY Table Type Object Reference 20070614 TYP_BUSINESS_KEY_TAB type standard table of TYP_BUSINESS_KEY with non-unique default key
3 TYP_DB_DATA Protected See coding Line-Type Persistent Object Data 20070614 begin of TYP_DB_DATA , PARTNER_GUID type GUID_16 , PHONE_EXTENSION type SDEMO_EXTENSION , PHONE_GUID type GUID_16 , PHONE_NUMBER type SDEMO_NUMBER , VAL_DATE_END type SDEMO_VALIDITY_END_DATE , VAL_DATE_START type SDEMO_VALIDITY_START_DATE , end of TYP_DB_DATA
4 TYP_DB_DATA_TAB Protected See coding TYP_DB_DATA Table-Type Persistent Object Data 20070614 TYP_DB_DATA_TAB type standard table of TYP_DB_DATA with non-unique default key
5 TYP_DB_DELETE_TAB Protected See coding TYP_SPECIAL_OBJECT_INFO Table Type Identifiers to Delete 20070614 TYP_DB_DELETE_TAB type standard table of TYP_SPECIAL_OBJECT_INFO with non-unique default key
6 TYP_OBJECT_REF Protected Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP_PH Type of Managed Object 20070614
7 TYP_OBJECT_REF_TAB Protected See coding TYP_OBJECT_REF Table Type Object Reference 20070614 TYP_OBJECT_REF_TAB type standard table of TYP_OBJECT_REF with non-unique default key
8 TYP_OID Protected Type reference (TYPE) OS_GUID Type of Generic Object Identifier 20070614
9 TYP_OID_TAB Protected See coding TYP_OID Table Type Object Identifier 20070614 TYP_OID_TAB type standard table of TYP_OID with non-unique default key
10 TYP_SPECIAL_BKEY_TAB Protected See coding TYP_SPECIAL_OBJECT_INFO Table Type Search Table Business Keys 20070614 TYP_SPECIAL_BKEY_TAB type sorted table of TYP_SPECIAL_OBJECT_INFO with unique key BUSINESS_KEY
11 TYP_SPECIAL_OBJECT_INFO Protected See coding Line Type Class-Specific Object Data 20070614 begin of TYP_SPECIAL_OBJECT_INFO , OBJECT_ID type TYP_INTERNAL_OID , ID_STATUS type TYP_ID_STATUS , BUSINESS_KEY type TYP_BUSINESS_KEY , end of TYP_SPECIAL_OBJECT_INFO
12 TYP_SPECIAL_OBJECT_INFO_TAB Protected See coding TYP_SPECIAL_OBJECT_INFO Table Type Class-Specific Object Data 20070614 TYP_SPECIAL_OBJECT_INFO_TAB type sorted table of TYP_SPECIAL_OBJECT_INFO with unique key OBJECT_ID
13 TYP_TYPE Protected Type reference (TYPE) OS_GUID Type of Type Identifier 20070614
Method Signatures

Method CREATE_PERSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTNER_GUID Call by reference Type reference (TYPE) GUID_16 Persistent Attribute 20070614
2 Importing I_PHONE_EXTENSION Call by reference Type reference (TYPE) SDEMO_EXTENSION Persistent Attribute 20070614
3 Importing I_PHONE_GUID Call by reference Type reference (TYPE) GUID_16 Business Key 20070614
4 Importing I_PHONE_NUMBER Call by reference Type reference (TYPE) SDEMO_NUMBER Persistent Attribute 20070614
5 Importing I_VAL_DATE_END Call by reference Type reference (TYPE) SDEMO_VALIDITY_END_DATE Persistent Attribute 20070614
6 Importing I_VAL_DATE_START Call by reference Type reference (TYPE) SDEMO_VALIDITY_START_DATE Persistent Attribute 20070614
7 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP_PH Newly Generated Persistent Object 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_EXISTING Object Services Exception 20070614

Method CREATE_TRANSIENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PARTNER_GUID Call by reference Type reference (TYPE) GUID_16 Persistent Attribute 20070614
2 Importing I_PHONE_EXTENSION Call by reference Type reference (TYPE) SDEMO_EXTENSION Persistent Attribute 20070614
3 Importing I_PHONE_GUID Call by reference Type reference (TYPE) GUID_16 Business Key 20070614
4 Importing I_PHONE_NUMBER Call by reference Type reference (TYPE) SDEMO_NUMBER Persistent Attribute 20070614
5 Importing I_VAL_DATE_END Call by reference Type reference (TYPE) SDEMO_VALIDITY_END_DATE Persistent Attribute 20070614
6 Importing I_VAL_DATE_START Call by reference Type reference (TYPE) SDEMO_VALIDITY_START_DATE Persistent Attribute 20070614
7 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP_PH Newly Generated Transient Object 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_EXISTING Object Services Exception 20070614

Method DELETE_PERSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PHONE_GUID Call by reference Type reference (TYPE) GUID_16 Business Key 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_EXISTING Object Services Exception 20070614

Method GET_PERSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PHONE_GUID Call by reference Type reference (TYPE) GUID_16 Business Key 20070614
2 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP_PH Persistent Object 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_FOUND Object Services Exception 20070614

Method GET_TRANSIENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PHONE_GUID Call by reference Type reference (TYPE) GUID_16 Business Key 20070614
2 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_NWDEMO_PERSIST_BP_PH Transient Object 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_FOUND Object Services Exception 20070614

Method MAP_EXTRACT_IDENTIFIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_BUSINESS_KEY Value transfer Type reference (TYPE) TYP_BUSINESS_KEY Business Key Extracted from Database Data 20070614
2 Importing I_DB_DATA Call by reference Type reference (TYPE) TYP_DB_DATA Object Data Read from DB 20070614

Method MAP_EXTRACT_IDENTIFIER on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_OBJECT_DATA_TAB Value transfer Type reference (TYPE) TYP_DB_DATA_TAB Object Data Read 20070614
2 Importing I_OBJECT_REF_TAB Call by reference Type reference (TYPE) TYP_OBJECT_REF_TAB List of Objects Affected 20070614

Method MAP_GET_ATTRIBUTES on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_INITIALIZE_METADATA Signature

Method MAP_INITIALIZE_METADATA on class CB_NWDEMO_PERSIST_BP_PH has no parameter.
Method MAP_INITIALIZE_METADATA on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_LOAD_FROM_DATABASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ORDER_BY_CLAUSE Call by reference Type reference (TYPE) STRING ORDER BY Clause 20070614
2 Importing I_SUBCLASSES Call by reference Type reference (TYPE) OS_BOOLEAN OSCON_FALSE Load Subclass Instances 20070614
3 Importing I_UPTO Call by reference Type reference (TYPE) I 0 Max. No. Instances 20070614
4 Importing I_WHERE_CLAUSE Call by reference Type reference (TYPE) STRING Where Clause 20070614
5 Importing PAR1 Call by reference Type reference (TYPE) ANY First Parameter for Query Execution 20070614
6 Importing PAR2 Call by reference Type reference (TYPE) ANY Second Parameter for Query Execution 20070614
7 Importing PAR3 Call by reference Type reference (TYPE) ANY Third Parameter for Query Execution 20070614
8 Returning RESULT Value transfer Type reference (TYPE) TYP_DB_DATA_TAB Object Data Read from the Database 20070614

Method MAP_LOAD_FROM_DATABASE on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_LOAD_FROM_DATABASE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BUSINESS_KEY_TAB Call by reference Type reference (TYPE) TYP_BUSINESS_KEY_TAB Business Key of the Data to Be Loaded 20070614
2 Returning RESULT Value transfer Type reference (TYPE) TYP_DB_DATA_TAB Object Data Read from the Database 20070614

Method MAP_LOAD_FROM_DATABASE_KEY on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_MERGE_IDENTIFIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_DB_DATA_TAB Call by reference Type reference (TYPE) TYP_DB_DATA_TAB Object Data in Which Identifiers Are to Be Mixed 20070614
2 Importing I_BUSINESS_KEY_TAB Call by reference Type reference (TYPE) TYP_BUSINESS_KEY_TAB List of Business Keys 20070614

Method MAP_MERGE_IDENTIFIER on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_SAVE_TO_DATABASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DELETES Call by reference Type reference (TYPE) TYP_DB_DELETE_TAB Key of the Data to Be Deleted 20070614
2 Importing I_INSERTS Call by reference Type reference (TYPE) TYP_DB_DATA_TAB Data to Be Created 20070614
3 Importing I_UPDATES Call by reference Type reference (TYPE) TYP_DB_DATA_TAB Data to Be Changed 20070614

Method MAP_SAVE_TO_DATABASE on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_SERIALIZE_BKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BUSINESS_KEY Call by reference Type reference (TYPE) TYP_BUSINESS_KEY Business Key 20070614
2 Returning RESULT Value transfer Type reference (TYPE) STRING Business Key as String 20070614

Method MAP_SERIALIZE_BKEY on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method MAP_SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJECT_DATA Call by reference Type reference (TYPE) TYP_DB_DATA Object Data to Be Set 20070614
2 Importing I_OBJECT_REF Call by reference Type reference (TYPE) TYP_OBJECT_REF Object Affected 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_FOUND Object Services Exception 20070614

Method PM_CHECK_AND_SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BUSINESS_KEY Call by reference Type reference (TYPE) TYP_BUSINESS_KEY Business Key 20070614
2 Importing I_ID_PROVIDED Call by reference Type reference (TYPE) TYP_ID_STATUS 0 With Which Identifiers Were Loading and Checking Performed 20070614
3 Importing I_OBJECT_DATA Call by reference Type reference (TYPE) TYP_DB_DATA Data Loaded from Database 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_FOUND Object Services Exception 20070614

Method PM_CREATE_REPRESENTANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BUSINESS_KEY Call by reference Type reference (TYPE) TYP_BUSINESS_KEY Business Key 20070614
2 Returning RESULT Value transfer Type reference (TYPE) TYP_OBJECT_REF Newly Generated Wrapper Object 20070614

Method PM_CREATE_REPRESENTANT on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method PM_DELETE_PERSISTENT Signature

Method PM_DELETE_PERSISTENT on class CB_NWDEMO_PERSIST_BP_PH has no parameter.
Method PM_DELETE_PERSISTENT on class CB_NWDEMO_PERSIST_BP_PH has no exception.

Method PM_LOAD_AND_SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BUSINESS_KEY Call by reference Type reference (TYPE) TYP_BUSINESS_KEY Business Key 20070614
# Exception Resumable Description Created on
1 CX_OS_OBJECT_NOT_FOUND Object Services Exception 20070614
History
Last changed by/on SAP  20071217 
SAP Release Created in 710