Class InterestedUser
- java.lang.Object
-
- org.silverpeas.core.persistence.datasource.model.jpa.AbstractJpaEntity<E,I>
-
- org.silverpeas.core.persistence.datasource.model.jpa.BasicJpaEntity<InterestedUser,UniqueIntegerIdentifier>
-
- org.silverpeas.core.workflow.engine.instance.InterestedUser
-
- All Implemented Interfaces:
Serializable
,IdentifiableEntity
@Entity public class InterestedUser extends BasicJpaEntity<InterestedUser,UniqueIntegerIdentifier>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
InterestedUser()
Default Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object theOther)
String
getGroupId()
String
getKey()
ProcessInstanceImpl
getProcessInstance()
Get the instance to which user is interestedString
getRole()
Get role name under which user can access to this instanceString
getState()
Get state name for which user can access to this instanceString
getUserId()
Get the user idString
getUsersRole()
Get the user roleint
hashCode()
void
setGroupId(String groupId)
void
setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance to which user is interestedvoid
setRole(String role)
Set role name for which user is affectedvoid
setState(String state)
Set state name for which user can access to this instancevoid
setUserId(String userId)
Set the user idvoid
setUsersRole(String usersRole)
Set the user role-
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
-
getRole
public String getRole()
Get role name under which user can access to this instance- Returns:
- role name
-
setRole
public void setRole(String role)
Set role name for which user is affected- Parameters:
role
- role name
-
getState
public String getState()
Get state name for which user can access to this instance- Returns:
- state name
-
setState
public void setState(String state)
Set state name for which user can access to this instance- 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
-
getUsersRole
public String getUsersRole()
Get the user role- Returns:
- user role name
-
setUsersRole
public void setUsersRole(String usersRole)
Set the user role- Parameters:
usersRole
- role
-
getGroupId
public String getGroupId()
-
setGroupId
public void setGroupId(String groupId)
-
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
-
getKey
public String getKey()
-
equals
public boolean equals(Object theOther)
- Overrides:
equals
in classAbstractJpaEntity<InterestedUser,UniqueIntegerIdentifier>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractJpaEntity<InterestedUser,UniqueIntegerIdentifier>
-
-