|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.taskmanager.dsc.client.task.ParticipantInfo
public class ParticipantInfo
This class is used to define to whom a task is currently assigned or to whom it will later be assigned.
When using a ParticipantInfo
object for creating a task, you can only call one of the following methods:
#setQueueID()
#setDomainName()
#setGroupCannonicalName()
#setUserCannonicalName()
#setSpecifiedUserId()
#setGenericUserString()
CreateTaskInfo.setAssignTo(ParticipantInfo)
,
TaskInfo.getAssignedTo()
,
Serialized FormConstructor Summary | |
---|---|
ParticipantInfo()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCommonName()
Common Name for a user returned as a convenience from getTaskInfo() |
String |
getDomainName()
Retrieves the domain name of the assigned user or group. |
String |
getGenericUserString()
Retrieves a generic string to which to assign the user. |
String |
getGroupCannonicalName()
Retrieves the canonical name for an assigned group. |
long |
getQueueID()
Retrieves the queue identifier. |
String |
getSpecifiedUserId()
Retrieves the user identifier (principal identifier) for the user to whom the task is to be assigned. |
String |
getUserCannonicalName()
Retrieves the user's canonical name for an assigned task. |
int |
hashCode()
|
boolean |
isRandomGroupUser()
If assigned to a group, this method determines whether the task is to be assigned to a random group user or the group's queue. |
void |
populate(String aUserId,
String aPrincipalId,
long aQueueId,
String aCommonName)
|
String |
principalId()
|
void |
setCommonName(String commonName)
sets a common name for the user. |
void |
setDomainName(String domainName)
Sets the domain name of the user or group to whom to assign the task. |
void |
setGenericUserString(String genericUserString)
Sets a generic string to which to assign the user. |
void |
setGroupCannonicalName(String groupCannonicalName)
Sets the canonical name of the group to which to assign the task. |
void |
setQueueID(long queueID)
Sets the queue identifier for the queue to which to assign the task. |
void |
setRandomGroupUser(boolean randomGroupUser)
Sets whether the task is to be assigned to a random user in the group or to the group's queue. |
void |
setSpecifiedUserId(String specifiedUserId)
Sets a specific user identifier to whom to assign the task. |
void |
setUserCannonicalName(String userCannonicalName)
Sets the canonical name of a user to whom to assign the task. |
String |
toString()
Retrieves the participant information for whom the task is assigned. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParticipantInfo()
Method Detail |
---|
public String toString()
toString
in class Object
public long getQueueID()
public void setQueueID(long queueID)
queueID
- The queue identifier.public boolean isRandomGroupUser()
true
if the the task is to be assigned to a random user in the group, false
otherwise.public void setRandomGroupUser(boolean randomGroupUser)
randomGroupUser
- true
if the task is to be assigned to a random user in a group,
false
if the task is to be assigned to the group's queue.public String getGroupCannonicalName()
public void setGroupCannonicalName(String groupCannonicalName)
groupCannonicalName
- The canonical name of the group.public String getUserCannonicalName()
public void setUserCannonicalName(String userCannonicalName)
userCannonicalName
- The canonical name of the user.public String getDomainName()
public void setDomainName(String domainName)
domainName
- The domain name.public String getSpecifiedUserId()
public void setSpecifiedUserId(String specifiedUserId)
specifiedUserId
- The specific user identifier.public String getGenericUserString()
ParticipantInfo.setGenericUserString(String)
public void setGenericUserString(String genericUserString)
This way of assigning a task is to be used when evaluating user-defined XPath expressions in a workflow.
genericUserString
- The generic string.public String getCommonName()
public void setCommonName(String commonName)
commonName
- public String principalId()
public void populate(String aUserId, String aPrincipalId, long aQueueId, String aCommonName)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |