Package com.saperion.users
Class UserFlags
- java.lang.Object
-
- com.saperion.users.UserFlags
-
- All Implemented Interfaces:
java.io.Serializable
public class UserFlags extends java.lang.Object implements java.io.Serializable
Contains special information about a user.- Author:
- jsc
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
boolean
isLocked()
boolean
isNotSync()
boolean
isSyncFromNet()
boolean
isSyncLDAP()
boolean
isSyncToNet()
boolean
isTechnicalUser()
boolean
isWfAllowSubstAccess()
boolean
isWfWorkInPool()
void
setLocked(boolean locked)
void
setNotSync(boolean notSync)
void
setSyncFromNet(boolean syncFromNet)
void
setSyncLDAP(boolean syncLDAP)
void
setSyncToNet(boolean syncToNet)
void
setTechnicalUser(boolean technicalUser)
void
setWfAllowSubstAccess(boolean wfAllowSubstAccess)
void
setWfWorkInPool(boolean wfWorkInPool)
java.lang.String
toString()
-
-
-
Constructor Detail
-
UserFlags
public UserFlags(boolean syncToNet, boolean syncFromNet, boolean notSync, boolean syncLDAP, boolean locked, boolean wfAllowSubstAccess, boolean wfWorkInPool, boolean technicalUser)
Literal constructor.- Parameters:
syncToNet
- uFlgSyncToNetsyncFromNet
- whether the user is synchronized from any other sourcenotSync
- uFlgNotSyncsyncLDAP
- uFlgSyncLDAPnoExpandDL
- uFlgNoExpandDL - only valid for groupslocked
- uFlgLocked - only valid for userswfPool
- only valid for groups: group object cannot be used as a workflow poolwfAllowSubstAccess
- only valid for users: allow substitute access to inboxwfWorkInPool
- only valid for groups: group members can work in pool (secretary pool)technicalUser
- technical user: cannot login from UI, only API
-
UserFlags
public UserFlags(UserFlags userFlags)
-
-
Method Detail
-
isSyncToNet
public boolean isSyncToNet()
- Returns:
- uFlgSyncToNet
-
isSyncFromNet
public boolean isSyncFromNet()
- Returns:
- whether the user is synchronized from any other source
-
isNotSync
public boolean isNotSync()
- Returns:
- uFlgNotSync
-
isSyncLDAP
public boolean isSyncLDAP()
- Returns:
- uFlgSyncLDAP
-
isLocked
public boolean isLocked()
- Returns:
- uFlgLocked - only valid for users
-
isWfAllowSubstAccess
public boolean isWfAllowSubstAccess()
- Returns:
- only valid for users: allow substitute access to inbox
-
isWfWorkInPool
public boolean isWfWorkInPool()
- Returns:
- only valid for groups: group members can work in pool (secretary pool)
-
isTechnicalUser
public boolean isTechnicalUser()
- Returns:
- technical user: cannot login from UI, only API
-
setSyncToNet
public void setSyncToNet(boolean syncToNet)
-
setSyncFromNet
public void setSyncFromNet(boolean syncFromNet)
-
setNotSync
public void setNotSync(boolean notSync)
-
setSyncLDAP
public void setSyncLDAP(boolean syncLDAP)
-
setLocked
public void setLocked(boolean locked)
-
setWfAllowSubstAccess
public void setWfAllowSubstAccess(boolean wfAllowSubstAccess)
-
setWfWorkInPool
public void setWfWorkInPool(boolean wfWorkInPool)
-
setTechnicalUser
public void setTechnicalUser(boolean technicalUser)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-