Class 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
    • 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 - uFlgSyncToNet
        syncFromNet - whether the user is synchronized from any other source
        notSync - uFlgNotSync
        syncLDAP - uFlgSyncLDAP
        noExpandDL - uFlgNoExpandDL - only valid for groups
        locked - uFlgLocked - only valid for users
        wfPool - only valid for groups: group object cannot be used as a workflow pool
        wfAllowSubstAccess - only valid for users: allow substitute access to inbox
        wfWorkInPool - 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object