SAP ABAP Class CL_SIW_PROJECT_FACTORY (Factory for SIW project instances)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-SIW (Application Component) Service Implementation Workbench
     S_SIW_CORE (Package) Core of Service Implementation Workbench
Properties
Class CL_SIW_PROJECT_FACTORY  
Short Description Factory for SIW project instances    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_SIW_CORE   Core of Service Implementation Workbench 
Created 20091012   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)
Interfaces
Class CL_SIW_PROJECT_FACTORY has no interface implemented.
Friends
Class CL_SIW_PROJECT_FACTORY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 S_INSTANCE Static Attribute Public Object reference (TYPE REF TO) CL_SIW_PROJECT_FACTORY 20101125
2 TAB_INSTANCES Instance attribute Private See coding 20091012
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor Class Constructor 20101012
2 CREATE Instance method Private Method Creates a Project Instance 20101203
3 CREATE_AND_REGISTER Instance method Public Method Creates a Project Instance and Register at tab_instances 20101130
4 DEREGISTER Instance method Public Method Deregister a Specific Project Instance 20101130
5 DEREGISTER_ALL Instance method Public Method Deregister all Instances 20101130
6 GET_REGISTERED Instance method Public Method Get a Project Instance - if Registered 20101130
7 HANDLE_TRANSACTION_FINISHED Instance method Private Event handling method Clear tab_instances when Transaction is Finished 20101012
8 IS_REGISTERED Instance method Public Method Checks if a Project Instance is Registered 20101129
9 REGISTER Instance method Public Method Register a new Project Instance 20101130
10 S_GET_INSTANCE Static method Public Method Returns the Static Instance of the Project Factory 20101125
Events
Class CL_SIW_PROJECT_FACTORY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_INSTANCE Private See coding 20091012 BEGIN OF ty_instance, project_id TYPE siw_dte_project_id, project_ref TYPE REF TO if_siw_project, END OF ty_instance
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SIW_PROJECT_FACTORY has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SIW_PROJECT_FACTORY has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SERVICE_LEVEL Call by reference Type reference (TYPE) SIW_DTE_SERVICE_LEVEL SIW Service Creation Type 20101203
2 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_SIW_PROJECT Project (commons) 20101203

Method CREATE on class CL_SIW_PROJECT_FACTORY has no exception.

Method CREATE_AND_REGISTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_API_CALL Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Indicator: API call 20110606
2 Importing I_PROJECT_ID Call by reference Type reference (TYPE) SIW_DTE_PROJECT_ID 20101130
3 Importing I_SERVICE_LEVEL Call by reference Type reference (TYPE) SIW_DTE_SERVICE_LEVEL 20101130
4 Returning RESULT Value transfer Object reference (TYPE REF TO) IF_SIW_PROJECT Service Implementation Project 20101130
# Exception Resumable Description Created on
1 CX_SIW_EXECUTION_ERROR 20101130

Method DEREGISTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROJECT_ID Call by reference Type reference (TYPE) SIW_DTE_PROJECT_ID 20101130

Method DEREGISTER on class CL_SIW_PROJECT_FACTORY has no exception.

Method DEREGISTER_ALL Signature

Method DEREGISTER_ALL on class CL_SIW_PROJECT_FACTORY has no parameter.
Method DEREGISTER_ALL on class CL_SIW_PROJECT_FACTORY has no exception.

Method GET_REGISTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROJECT_ID Call by reference Type reference (TYPE) SIW_DTE_PROJECT_ID 20101130
2 Returning R_PROJECT Value transfer Object reference (TYPE REF TO) IF_SIW_PROJECT Service Implementation Project 20101130
# Exception Resumable Description Created on
1 CX_SIW_NOT_FOUND 20101130

Method HANDLE_TRANSACTION_FINISHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KIND_DB_CHANGE Call by reference Attribute reference (LIKE) 20110223

Method HANDLE_TRANSACTION_FINISHED on class CL_SIW_PROJECT_FACTORY has no exception.

Method IS_REGISTERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROJECT_ID Call by reference Type reference (TYPE) SIW_DTE_PROJECT_ID 20101129
2 Returning RESULT Value transfer Type reference (TYPE) SIW_DTE_FLG 20101129

Method IS_REGISTERED on class CL_SIW_PROJECT_FACTORY has no exception.

Method REGISTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PROJECT Call by reference Object reference (TYPE REF TO) IF_SIW_PROJECT 20101130

Method REGISTER on class CL_SIW_PROJECT_FACTORY has no exception.

Method S_GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_SIW_PROJECT_FACTORY 20101125

Method S_GET_INSTANCE on class CL_SIW_PROJECT_FACTORY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730