public class Assignment
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Assignment() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getActivityDesignId()
Returns the ID of the activity associated with this assignment
as defined at design time.
|
long |
getActivityId()
Returns the ID of the activity associated with this assignment.
|
java.lang.String |
getActivityName()
Returns the name of the activity associated with this assignment as
defined at design time.
|
ActivityParticipant |
getActivityParticipant()
Returns the participant of the assignment.
|
java.lang.String |
getActivitySubType()
Returns the sub-type of the activity associated with this assignment.
|
java.lang.String |
getActivityType()
Return the type of the activity associated with this assignment.
|
java.lang.String |
getDescription()
Returns a description of the object.
|
java.util.Date |
getDueDate()
Returns the date/time the assignment is due
(must be completed before escalation).
|
long |
getId()
Returns the identifier of the assignment.
|
DistinguishedName |
getLockOwner()
Returns the participant that has currently locked the assignment (if
any).
|
java.lang.String |
getProcessDesignId() |
long |
getProcessId()
Returns the ID of the process that is running this assignment.
|
java.lang.String |
getRequestee()
Returns the name of the process requestee associated with this assignment.
|
java.lang.String |
getRequester()
Returns the name of the process requester associated with this assignment.
|
java.lang.String |
getSubject()
Returns the subject of the process associated with this assignment.
|
java.util.Date |
getTimeCreated()
Returns the date/time the assignment was made.
|
boolean |
isLocked()
Returns whether the assignment is locked or not.
|
void |
setActivityDesignId(java.lang.String id)
Changes the design time ID of the activity associated with this assignment.
|
void |
setActivityId(long activityId)
Changes the ID of the activity associated with this assignment.
|
void |
setActivityName(java.lang.String activityName)
Changes the design time name of the activity associated with this
assignment.
|
void |
setActivitySubType(java.lang.String activitySubType)
Changes the sub-type of the activity associated with this assignment.
|
void |
setActivityType(java.lang.String activityType)
Changes the type of the activity associated with this assignment.
|
void |
setDescription(java.lang.String description)
Changes the object's description.
|
void |
setDueDate(java.util.Date dueDate) |
void |
setId(long id)
Changes the identifier of the assignment.
|
void |
setIsLocked(boolean isLocked)
Changes the assignment to either locked or unlocked.
|
void |
setLockOwner(DistinguishedName lockOwner)
Changes the participant to the person that has currently locked the
assignment.
|
void |
setParticipant(ActivityParticipant participant)
Changes the participant of the assignment.
|
void |
setProcessDesignId(java.lang.String processDefDesignId) |
void |
setProcessId(long processId)
Changes the ID of the assignment process.
|
void |
setRequestee(java.lang.String requestee)
Changes the name of the process requestee associated with this
assignment.
|
void |
setRequester(java.lang.String requester)
Changes the name of the process requester associated with this
assignment.
|
void |
setSubject(java.lang.String subject)
Changes the subject of the process associated with this assignment.
|
void |
setTimeCreated(java.util.Date timeCreated)
Changes the date/time the assignment was made.
|
public long getId()
public void setId(long id)
id - ID of the assignment.public java.lang.String getActivityDesignId()
public void setActivityDesignId(java.lang.String id)
id - String ID of the activity.public java.lang.String getActivityName()
public void setActivityName(java.lang.String activityName)
activityName - String name of the activity.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - String description of the object.public ActivityParticipant getActivityParticipant()
public void setParticipant(ActivityParticipant participant)
participant - ActivityParticipant of the assignment.public java.util.Date getTimeCreated()
public void setTimeCreated(java.util.Date timeCreated)
timeCreated - Date the assignment was made.public java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
public long getProcessId()
public void setProcessId(long processId)
processId - ID of the assignment process.public long getActivityId()
public void setActivityId(long activityId)
activityId - of the activity associated with this assignment.public java.lang.String getActivityType()
public void setActivityType(java.lang.String activityType)
activityType - Type of the activity associated with this assignment.public java.lang.String getActivitySubType()
public void setActivitySubType(java.lang.String activitySubType)
activitySubType - Sub-type of the activity associated with this assignment, the
empty string if not applicable.public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
subject - Subject of the process associated with this assignment.public java.lang.String getRequestee()
public void setRequestee(java.lang.String requestee)
requestee - Name of the process requestee associated with this assignment.public java.lang.String getRequester()
public void setRequester(java.lang.String requester)
requester - Name of the process requester associated with this assignment.public boolean isLocked()
public void setIsLocked(boolean isLocked)
isLocked - True if locked, false if not.public DistinguishedName getLockOwner()
public void setLockOwner(DistinguishedName lockOwner)
lockOwner - DistinguishedName of person who has locked the assignmentpublic java.lang.String getProcessDesignId()
public void setProcessDesignId(java.lang.String processDefDesignId)
processDefDesignId - The new processDefDesignId