|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| 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 |
public static final int RESULT_STATE_COMPLETED_DONE_ONLY
completeProcessing() method to indicate that
it is now done with the processing.
public static final int RESULT_STATE_COMPLETED_RESULTSTATE
public static final int RESULT_STATE_COMPLETED_PROCESS_EXCEPTION
public static final int RESULT_STATE_COMPLETED_TECHNICAL_EXCEPTION
public static final int ACTIVITY_TYPE_BACKGROUND
public static final int ACTIVITY_TYPE_USER
| Method Detail |
public void setProcessException(String processExceptionName)
throws GPInvocationException
processExceptionName - the name fpr the process exception. The name must be from available process exceptions for this action
GPInvocationExceptionpublic String getProcessException()
public void setTechnicalException(GPTechnicalCallableObjectException exception)
exception - An object that represents the technical exceptioncom.sap.caf.eu.gp.model.co.tech.TechnicalCallableObjectException
public void setResultStates(Vector resultStates)
throws GPInvocationException
resultStates - java.util.Vector object that contains a list with the technical names
GPInvocationExceptionpublic Vector getResultStates()
java.util.Vector list with technical namespublic IGPStructure getOutputStructure()
com.sap.caf.eu.gp.structure.api.IGPStructurepublic String getProcessInstanceID()
public String getActionInstanceID()
public void setState(int state)
state - RESULT_STATE_COMPLETED_DONE_ONLY,
RESULT_STATE_COMPLETED_RESULTSTATE,
RESULT_STATE_COMPLETED_PROCESS_EXCEPTION,
RESULT_STATE_COMPLETED_TECHNICAL_EXCEPTIONpublic int getState()
public void setType(int type)
type - ACTIVITY_TYPE_BACKGROUND,
ACTIVITY_TYPE_USERpublic int getType()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||