CL_CRM_MKTGS_CGPL_WRAPPER - MKTGS OL: Generic Object CGPL Wrapper

General Material Data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

>>> Development Documentation generated by DocuGenerator v2.0 (only available in English => NO TRANSLATION!!!) <<<

General Class Description

This is the cgpl wrapper class which builds the connection between the object layer objects and the cgpl hierarchy node (project/tasks)
You can build an instance by passing one of the optional parameter
- object item
- cgpl hierarchy node
- cgpl guid

__________________________________________________________

Class Info

Name:CL_CRM_MKTGS_CGPL_WRAPPER
Instantiation:Public

Superclass

None

Implemented Interfaces

None

Friend Classes

None

Subclasses

None

__________________________________________________________

Methods

CONSTRUCTOR

Public CONSTRUCTOR(

IMPORTINGABAP_BOOL IV_CGPL_LOAD_COMPLETE
CGPL_GUID16 IV_CGPL_GUID
CL_CRM_MKTGS_OBJ_ITEM IR_OBJECT_ITEM
CL_CGPL_HIERARCHY_NODE IR_CGPL_NODE

)

This is the contstructor

- IV_CGPL_GUIDGuid
- IR_OBJECT_ITEMObject item (object layer)
- IR_CGPL_NODEHierarchy node - project or task (cgpl framework)
- CX_CRM_MKTGS_MISSING_PARAMETEThis exception occurs if the supplied parameters are missing or invalid

________________________________________________________________________

FREE

Public FREE( )

This method frees all member attributes once the assignment item isno longer needed
and should be deleted by the garbage collector

________________________________________________________________________

GET_CGPL_ASSIGNMENTS

Public CL_CGPL_ASSIGNMENTS GET_CGPL_ASSIGNMENTS( )

This method returns the cgpl assignment collection

Returns

Cgpl assignment collection

________________________________________________________________________

GET_CGPL_ASSIGNMENTS_BY_TYPE

Public CGPL_ASSIGNMENTS GET_CGPL_ASSIGNMENTS_BY_TYPE(

IMPORTINGCGPL_OBJECT_TYPE IV_ASSIGNMENT_TYPE

)

This method returns a table of cgpl assignments of the same type

Returns

Table of cgpl assignments

________________________________________________________________________

GET_CGPL_GEN_ASSIGNMENTS_COLL

Public CL_CRM_MKTGS_ASSIGN_COLLECTIONGET_CGPL_GEN_ASSIGNMENTS_COLL(

IMPORTINGCGPL_OBJECT_TYPE IV_OBJECT_TYPE

)

This method returns the generic cgpl assignment collection of the requested type

Returns

Generic cgpl assignment collection

________________________________________________________________________

GET_CGPL_NODE

Public CL_CGPL_HIERARCHY_NODE GET_CGPL_NODE( )

This method returns the corresponding cgpl hierarchy node (project/task)

Returns

CGPL hierarchy node

________________________________________________________________________

GET_CGPL_PROJECT_TASK

Public GET_CGPL_PROJECT_TASK(

EXPORTINGCL_CGPL_TASK ER_TASK
CL_CGPL_PROJECTER_PROJECT

)

This method returns the cgpl project and cgpl task instance

Parameters

- ER_TASKCgpl task instance in case the object is of kind task only
- ER_PROJECTCgpl project instance

________________________________________________________________________

GET_CGPL_PROJECT_TASK_GUID

Public GET_CGPL_PROJECT_TASK_GUID(

EXPORTINGCGPL_GUID16 EV_TASK_GUID
CGPL_GUID16 EV_PROJECT_GUID

)

This method returns the cgpl project and cgpl task guid

Parameters

- EV_TASK_GUIDCgpl task guid in case the object is of kind task only
- EV_PROJECT_GUIDCgpl project guid

________________________________________________________________________

GET_OBJECT_ITEM_BY_CGPL_NODE

Public static CL_CRM_MKTGS_OBJ_ITEM GET_OBJECT_ITEM_BY_CGPL_NODE(

IMPORTINGCL_CGPL_HIERARCHY_NODE IR_CGPL_NODE
ABAP_BOOL IV_CGPL_LOAD_COMPLETE

)

________________________________________________________________________

GET_OBJECT_ITEM_BY_GUID

Public static CL_CRM_MKTGS_OBJ_ITEM GET_OBJECT_ITEM_BY_GUID(

IMPORTINGCRM_MKTGS_GUID IV_GUID

)

________________________________________________________________________

GET_OL_ASSIGNMENT_COLLECTION

Public CL_CRM_MKTGS_ASG_COLLECTIONGET_OL_ASSIGNMENT_COLLECTION(

IMPORTINGCRM_MKTGS_ASSIGNMENT_TYPE IV_ASSIGNMENT_TYPE

)

This method returns the object layer assignment collection of the requested type

Returns

Object Layer assignment collection or initial reference if not provided

________________________________________________________________________

GET_OL_OBJECT_ITEM

Public CL_CRM_MKTGS_OBJ_ITEM GET_OL_OBJECT_ITEM( )

This method returns the corresponding object item

Returns

Object item



ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.


Length: 11310 Date: 20120526 Time: 111006     triton ( 130 ms )