|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.instance.LockingUser
public class LockingUser
| Constructor Summary | |
|---|---|
LockingUser()
Default Constructor |
|
| Method Summary | |
|---|---|
String |
getId()
For persistence in database Get this object id |
String |
getKey()
This method has to be implemented by the referrable object it has to compute the unique key |
Date |
getLockDate()
Get the date when user locked the instance |
ProcessInstanceImpl |
getProcessInstance()
Get the instance to which user is interested |
String |
getState()
Get state name for which user is affected |
String |
getUserId()
Get the user id |
void |
setId(String id)
For persistence in database Set this object id |
void |
setLockDate(Date lockDate)
Set the date when user locked the instance |
void |
setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance to which user is interested |
void |
setState(String state)
Set state name for which user is affected |
void |
setUserId(String userId)
Set the user id |
User |
toUser()
Converts LockingUser to User |
static User[] |
toUser(LockingUser[] lockingUsers)
Get User information from an array of lockingUsers |
| Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockingUser()
| Method Detail |
|---|
public String getId()
public void setId(String id)
this - object idpublic String getState()
public void setState(String state)
state - state namepublic String getUserId()
public void setUserId(String userId)
userId - user idpublic ProcessInstanceImpl getProcessInstance()
public void setProcessInstance(ProcessInstanceImpl processInstance)
processInstance - instancepublic Date getLockDate()
public void setLockDate(Date lockDate)
lockDate - lock date
public User toUser()
throws WorkflowException
WorkflowException
public static User[] toUser(LockingUser[] lockingUsers)
throws WorkflowException
lockingUsers - an array of LockingUser objects
WorkflowExceptionpublic String getKey()
getKey in interface ReferrableObjectIntfgetKey in class AbstractReferrableObjectequals,
hashCode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||