|
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 IGPActionInstance
| Field Summary | |
|---|---|
static int |
TYPE_BACKGROUND
Type of an action |
static int |
TYPE_INVALID
Type of an action |
static int |
TYPE_UI
Type of an action |
| Method Summary | |
|---|---|
String |
generateBusinessParametersForSingleTaskUI()
Returns the portal navigation business parameters for single task UI. |
String |
generateNavigationTargetForSingleTaskUI()
Returns the portal navigation target for single task UI. |
String |
generateStandaloneURLForSingleTaskUI()
Returns the single task UI application URL for use outside portal. |
int |
getActionType()
Returns the action type. |
long |
getDueDate()
Deprecated. use getDueDateAsLong instead Returns the foreseen due date as long. Returns -1 if there is no defined due date. |
long |
getDueDateAsLong()
Returns the foreseen due date as long. |
IGPNotificationInstance |
getDueDateNotification()
Returns the foreseen due date. |
Enumeration |
getNotificationInstances()
Returns the notifications belonging to this Action instance. |
IUser |
getProcessor()
Returns the processor (user uniqueId) of the given action depending on the status of the action; if the action is in status active, the method will return null, as
no processor is assigned;
If the action type is background(getActionType()==IGPActionInstance.TYPE_BACKGROUND) this method will return null. |
String |
getProcessorRoleTechname()
Returns the unique technical name from the process role for this action |
GPActionInstanceStatus |
getStatus()
Returns the status as an GPActionInstanceStatus object. |
boolean |
isSingleTaskUI()
Returns true, if the action is suitable for displaying in single task UI (depending on its status and type), otherwise false |
| Methods inherited from interface com.sap.caf.eu.gp.process.api.IGPActivityInstance |
|---|
getActualDuration, getActualEndDate, getActualStartDate, getID, getInputContext, getOutputContext, getParentBlock, getParentProcess, getTemplate, isAction, isBlock |
| Field Detail |
|---|
static final int TYPE_INVALID
static final int TYPE_BACKGROUND
static final int TYPE_UI
| Method Detail |
|---|
int getActionType()
IUser getProcessor()
null, as
no processor is assigned;
If the action type is background(getActionType()==IGPActionInstance.TYPE_BACKGROUND) this method will return null.
if the action is in status in process, someone has chosen to process the action and
a user will be returned by the method;
if the action is in status completed or error
a user will be returned.
1) depending on action type
getProcessor() | getActionType()
.........................................
NULL IGPActionInstance.TYPE_BACKGROUND
NULL IGPActionInstance.TYPE_INVALID
DEPENDS ON STATUS IGPActionInstance.TYPE_UI
2) depending on action status
getProcessor() | getStatus()
.........................................
NULL IGPActivityInstance.STATUS_INVALID
NULL IGPActivityInstance.STATUS_ACTIVE
NULL IGPActivityInstance.STATUS_RUNNING
MAY BE NULL IGPActivityInstance.STATUS_CANCELLED
NOT NULL IGPActivityInstance.STATUS_COMPLETED
NOT NULL IGPActivityInstance.STATUS_ERROR
NOT NULL IGPActionInstance.STATUS_IN_PROCESS)
NULL IGPActivityInstance.STATUS_FUTURE
NULL IGPActivityInstance.STATUS_SKIPPED
long getDueDate()
long getDueDateAsLong()
throws GPEngineException
GPEngineException
IGPNotificationInstance getDueDateNotification()
throws GPEngineException
GPEngineException
Enumeration getNotificationInstances()
throws GPEngineException
GPEngineExceptionString getProcessorRoleTechname()
boolean isSingleTaskUI()
throws GPEngineException
GPEngineException
String generateNavigationTargetForSingleTaskUI()
throws GPEngineException
GPEngineException
String generateBusinessParametersForSingleTaskUI()
throws GPEngineException
GPEngineException
String generateStandaloneURLForSingleTaskUI()
throws GPEngineException
GPEngineExceptionGPActionInstanceStatus getStatus()
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||