Class SaUserInfoImpl

    • Constructor Detail

      • SaUserInfoImpl

        public SaUserInfoImpl​(int id,
                              int userType,
                              UserName userName,
                              int orgUnit,
                              int mandant,
                              boolean present,
                              UserFlags flags)
        Literal Constructor.
        Parameters:
        id - ID
        userType - Type
        userName - Name
        orgUnit - Org unit
        mandant - Mandant
        present - whether the user is present
        flags - The special flags concerning this user
      • SaUserInfoImpl

        @Deprecated
        public SaUserInfoImpl​(int id,
                              int userType,
                              UserName userName,
                              int orgUnit,
                              int mandant,
                              boolean present)
        Constructor.
        Parameters:
        id - ID
        userType - Type
        userName - Name
        orgUnit - Org unit
        mandant - Mandant
        present - whether the user is present
    • Method Detail

      • getName

        @Deprecated
        public java.lang.String getName()
        Deprecated.
        This method returns the name of the entity.
        Specified by:
        getName in interface SaUserInfo
        Returns:
        the name of the entity
        See Also:
        SaUserInfo.getName()
      • getType

        public int getType()
        This method returns the numerical value of the kind of user management entity.
        Specified by:
        getType in interface SaUserInfo
        Returns:
        the numerical value of the kind of user management entity
        See Also:
        SaUserInfo.getType()
      • getUid

        public int getUid()
        This method returns the id of the user.
        Specified by:
        getUid in interface SaUserInfo
        Returns:
        the id of the user
        See Also:
        SaUserInfo.getUid()
      • toString

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

        public UserName getUserName()
        Description copied from interface: SaUserInfo
        This method returns the name of the entity.
        Specified by:
        getUserName in interface SaUserInfo
        Returns:
        the name of the entity
      • getDisplayName

        @Deprecated
        public java.lang.String getDisplayName()
        Deprecated.
        Specified by:
        getDisplayName in interface SaUserInfo
        Returns:
        the users short name
      • 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