Class LockingUser
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<LockingUser,UniqueIntegerIdentifier>
-
- org.silverpeas.core.workflow.engine.instance.LockingUser
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class LockingUser extends BasicJpaEntity<LockingUser,UniqueIntegerIdentifier>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockingUser()
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object theOther)
Date
getLockDate()
Get the date when user locked the instanceProcessInstanceImpl
getProcessInstance()
Get the instance to which user is interestedString
getState()
Get state name for which user is affectedString
getUserId()
Get the user idint
hashCode()
void
setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance to which user is interestedvoid
setState(String state)
Set state name for which user is affectedvoid
setUserId(String userId)
Set the user id-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity
performBeforePersist, performBeforeRemove, performBeforeUpdate
-
Methods inherited from class org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity
getId, getNativeId, isPersisted, setId
-
-
-
-
Method Detail
-
getState
public String getState()
Get state name for which user is affected- Returns:
- state name
-
setState
public void setState(String state)
Set state name for which user is affected- Parameters:
state
- state name
-
getUserId
public String getUserId()
Get the user id- Returns:
- user id
-
setUserId
public void setUserId(String userId)
Set the user id- Parameters:
userId
- user id
-
getProcessInstance
public ProcessInstanceImpl getProcessInstance()
Get the instance to which user is interested- Returns:
- instance
-
setProcessInstance
public void setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance to which user is interested- Parameters:
processInstance
- instance
-
getLockDate
public Date getLockDate()
Get the date when user locked the instance- Returns:
- lock date
-
equals
public boolean equals(Object theOther)
- Overrides:
equals
in classAbstractJpaEntity<LockingUser,UniqueIntegerIdentifier>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractJpaEntity<LockingUser,UniqueIntegerIdentifier>
-
-