|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGPActionCompletionData
| Field Summary | |
|---|---|
static int |
ACTIVITY_TYPE_BACKGROUND
Indicates that the activity is a background activity |
static int |
ACTIVITY_TYPE_USER
Indicates that the activity is processed by a user. |
static int |
RESULT_STATE_COMPLETED_DONE_ONLY
Indicates that the implementation of the callable object has invoked the completeProcessing() method to indicate that
it is now done with the processing. |
static int |
RESULT_STATE_COMPLETED_PROCESS_EXCEPTION
Indicates that the implementation of the callable object has thrown a process exception. |
static int |
RESULT_STATE_COMPLETED_RESULTSTATE
Indicates that the implementation of the callable object has set a result state. |
static int |
RESULT_STATE_COMPLETED_TECHNICAL_EXCEPTION
Indicates that the implementation of the callable object has thrown a technical exception to indicate that processing cannot continue. |
| Method Summary | |
|---|---|
String |
getActionInstanceID()
Returns the action instance ID that will be completed |
IGPStructure |
getOutputStructure()
Returns an object for setting output data that is used for action completion |
String |
getProcessException()
Returns the process exception name that is used for action completion |
String |
getProcessInstanceID()
Returns the process instance ID for the process where will be action completion |
Vector |
getResultStates()
Returns a list with technical names for result states that are used for action completion |
int |
getState()
Returns the result state for action completion |
int |
getType()
Returns the type for action completion |
void |
setProcessException(String processExceptionName)
Sets process exception that will be used for action completion |
void |
setResultStates(Vector resultStates)
Sets an array with technical names for result states that will be used for action completion |
void |
setState(int state)
Sets the state that is used for action completion |
void |
setTechnicalException(GPTechnicalCallableObjectException exception)
Sets technical exception that will be used for action completion |
void |
setType(int type)
Sets the state that is used for action completion |
| Field Detail |
|---|
static final int RESULT_STATE_COMPLETED_DONE_ONLY
completeProcessing() method to indicate that
it is now done with the processing.
static final int RESULT_STATE_COMPLETED_RESULTSTATE
static final int RESULT_STATE_COMPLETED_PROCESS_EXCEPTION
static final int RESULT_STATE_COMPLETED_TECHNICAL_EXCEPTION
static final int ACTIVITY_TYPE_BACKGROUND
static final int ACTIVITY_TYPE_USER
| Method Detail |
|---|
void setProcessException(String processExceptionName)
throws GPInvocationException
processExceptionName - the name fpr the process exception. The name must be from available process exceptions for this action
GPInvocationExceptionString getProcessException()
void setTechnicalException(GPTechnicalCallableObjectException exception)
exception - An object that represents the technical exceptioncom.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException
void setResultStates(Vector resultStates)
throws GPInvocationException
resultStates - java.util.Vector object that contains a list with the technical names
GPInvocationExceptionVector getResultStates()
java.util.Vector list with technical namesIGPStructure getOutputStructure()
com.sap.caf.eu.gp.structure.api.IGPStructureString getProcessInstanceID()
String getActionInstanceID()
void setState(int state)
state - RESULT_STATE_COMPLETED_DONE_ONLY,
RESULT_STATE_COMPLETED_RESULTSTATE,
RESULT_STATE_COMPLETED_PROCESS_EXCEPTION,
RESULT_STATE_COMPLETED_TECHNICAL_EXCEPTIONint getState()
void setType(int type)
type - ACTIVITY_TYPE_BACKGROUND,
ACTIVITY_TYPE_USERint getType()
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||