|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.model.ExecutionObject | +--com.ibm.itim.workflow.model.WorkflowProcess
This class contains general information about a workflow process.
Field Summary | |
---|---|
static int |
NOTIFY_BOTH
Constant identifying both requester and requestee notification needed. |
static int |
NOTIFY_NONE
Constant identifying no notification needed. |
static int |
NOTIFY_REQUESTED_FOR
Constant identifying requestee notification needed. |
static int |
NOTIFY_REQUESTER
Constant identifying requester notification needed. |
Fields inherited from class com.ibm.itim.workflow.model.ExecutionObject |
---|
ABORTED, BYPASSED, COMPLETED, DEFAULT_PRIORITY, NOTSTARTED, RUNNING, SUSPENDED, TERMINATED |
Constructor Summary | |
---|---|
WorkflowProcess()
|
Method Summary | |
---|---|
java.lang.String |
getComment()
Returns any comments associated with the process. |
int |
getNotificationInstructions()
Returns the notification instructions for the process. |
long |
getParentProcessId()
Returns the parent (instantiating) process of this process. |
java.lang.String |
getProcessType()
Returns the type of the process. |
DistinguishedName |
getRequesteeDN()
Returns the distinguished name (if any) of the requestee of the process. |
java.lang.String |
getRequesteeName()
Returns the name of the process requestee. |
ProcessParticipant |
getRequester()
Returns the requester of the process. |
java.lang.String |
getRequesterName()
Returns the name of the requester. |
int |
getSeverityCode()
Returns severity code of the process. |
java.lang.String |
getSubject()
Returns the subject of the process. |
java.lang.String |
getSubjectProfile()
Returns the profile name of the subject of the process. |
java.lang.String |
getSubjectService()
Returns the subject's service name of the process. |
DistinguishedName |
getTenantDN()
Returns the distinguished name of the tenant executing the process (multi-tenant deployments). |
java.util.Date |
getTimeScheduled()
Returns the date/time the process is/was scheduled for. |
java.util.Date |
getTimeSubmitted()
Returns the date/time the process is/was submitted. |
boolean |
isAbortAllowed()
Check for abortable status. |
void |
setComment(java.lang.String comment)
Changes the comment for the process. |
void |
setNotificationInstructions(int instructions)
Changes the notification instructions for the process. |
void |
setParentProcessId(long id)
Changes the parent (instantiating) process of this process. |
void |
setProcessType(java.lang.String processType)
Changes the type of the process. |
void |
setRequesteeDN(DistinguishedName requesteeDN)
Changes the distinguished name (if any) of the requestee of the process. |
void |
setRequesteeName(java.lang.String name)
Changes the name of the process requestee. |
void |
setRequester(ProcessParticipant requester)
Changes the requester of the process. |
void |
setRequesterName(java.lang.String name)
Changes the name of the process requester. |
void |
setSeverityCode(int severityCode)
Changes the severity code of the process. |
void |
setSubject(java.lang.String subject)
Changes the subject of the process. |
void |
setSubjectProfile(java.lang.String subjectProfile)
Changes the subject profile name of the process. |
void |
setSubjectService(java.lang.String subjectService)
Changes the subject's service name of the process. |
void |
setTenantDN(DistinguishedName tenantDN)
Chamges the distinguished name of the tenant executing the process (multi-tenant deployments). |
void |
setTimeScheduled(java.util.Date timeScheduled)
Changes the scheduled time for the process. |
void |
setTimeSubmitted(java.util.Date timeSubmitted)
Changes the submitted time for the process. |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.itim.workflow.model.ExecutionObject |
---|
compareTo, getDescription, getId, getLastModified, getName, getPriority, getResult, getResultDetail, getState, getTimeCompleted, getTimeStarted, isFinished, setDescription, setId, setLastModified, setName, setPriority, setResult, setResultDetail, setState, setTimeCompleted, setTimeStarted |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NOTIFY_NONE
public static final int NOTIFY_REQUESTER
public static final int NOTIFY_REQUESTED_FOR
public static final int NOTIFY_BOTH
Constructor Detail |
public WorkflowProcess()
Method Detail |
public java.lang.String getProcessType()
public ProcessParticipant getRequester()
public java.lang.String getRequesterName()
public java.lang.String getComment()
public java.lang.String getRequesteeName()
public java.lang.String getSubject()
public java.lang.String getSubjectProfile()
public java.lang.String getSubjectService()
public java.util.Date getTimeSubmitted()
public java.util.Date getTimeScheduled()
public int getNotificationInstructions()
public DistinguishedName getTenantDN()
public long getParentProcessId()
public void setComment(java.lang.String comment)
comment
- New comment.public void setNotificationInstructions(int instructions)
instructions
- Enumerated int representing instructions,
NOTIFY_NONE, NOTIFY_REQUESTER, NOTIFY_REQUESTED_FOR,
NOTIFY_BOTH.public void setProcessType(java.lang.String processType)
processType
- String name of the process type.public void setRequesteeName(java.lang.String name)
name
- Name of the process requestee.public void setRequester(ProcessParticipant requester)
requester
- WorkflowRequester(Subclass of ProcessParticipant)
representing the requestor of the process.public void setRequesterName(java.lang.String name)
name
- Name of the process requester.public void setSubject(java.lang.String subject)
subject
- Subject of the process.public void setSubjectProfile(java.lang.String subjectProfile)
subjectProfile
- Subject profile name of the process.public void setSubjectService(java.lang.String subjectService)
subjectService
- Subject's service name of the process.public void setTenantDN(DistinguishedName tenantDN)
public void setTimeSubmitted(java.util.Date timeSubmitted)
timeSubmitted
- Date holding the submitted time for the process.public void setTimeScheduled(java.util.Date timeScheduled)
timeScheduled
- Date holding the scheduled time for the process.public void setParentProcessId(long id)
id
- Identifier of the parent process.public void setRequesteeDN(DistinguishedName requesteeDN)
requesteeDN
- DistinguishedName of the requestee.public DistinguishedName getRequesteeDN()
public void setSeverityCode(int severityCode)
severityCode
- The severityCode to set.public int getSeverityCode()
public boolean isAbortAllowed()
public java.lang.String toString()
toString
in class ExecutionObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |