Package com.saperion.users
Class UserFlags
java.lang.Object
com.saperion.users.UserFlags
- All Implemented Interfaces:
Serializable
Contains special information about a user.
- Author:
- jsc
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isLocked()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
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) toString()
-
Constructor Details
-
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
-
-
Method Details
-
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() -
equals
-
toString
-