Class UserImpl

  • All Implemented Interfaces:
    User

    public class UserImpl
    extends Object
    implements User
    • Constructor Detail

      • UserImpl

        public UserImpl()
      • UserImpl

        protected UserImpl​(UserImpl copyFrom)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: User
        Returns the id of the User.
        Specified by:
        getId in interface User
        Returns:
        userId
      • setId

        public void setId​(String id)
        Description copied from interface: User
        Sets the id of the User.
        Specified by:
        setId in interface User
        Parameters:
        id - the id of the User
      • getGroups

        public Set<String> getGroups()
        Description copied from interface: User
        Returns the groups of the User.
        Specified by:
        getGroups in interface User
        Returns:
        userGroups
      • setGroups

        public void setGroups​(Set<String> groups)
        Description copied from interface: User
        Sets the groups of the User.
        Specified by:
        setGroups in interface User
        Parameters:
        groups - the groups of the User
      • getFirstName

        public String getFirstName()
        Description copied from interface: User
        Returns the first name of the User.
        Specified by:
        getFirstName in interface User
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(String firstName)
        Description copied from interface: User
        Sets the first name of the User.
        Specified by:
        setFirstName in interface User
        Parameters:
        firstName - the first name of the User
      • getLastName

        public String getLastName()
        Description copied from interface: User
        Returns the last name of the User.
        Specified by:
        getLastName in interface User
        Returns:
        lastName
      • setLastName

        public void setLastName​(String lastName)
        Description copied from interface: User
        Sets the last name of the User.
        Specified by:
        setLastName in interface User
        Parameters:
        lastName - the last name of the User
      • getFullName

        public String getFullName()
        Description copied from interface: User
        Returns the full name of the User.
        Specified by:
        getFullName in interface User
        Returns:
        fullName
      • setFullName

        public void setFullName​(String fullName)
        Description copied from interface: User
        Sets the full name of the User.
        Specified by:
        setFullName in interface User
        Parameters:
        fullName - the full name of the User
      • getLongName

        public String getLongName()
        Description copied from interface: User
        Returns the long name of the User.
        Specified by:
        getLongName in interface User
        Returns:
        longName
      • setLongName

        public void setLongName​(String longName)
        Description copied from interface: User
        Sets the long name of the User.
        Specified by:
        setLongName in interface User
        Parameters:
        longName - the long name of the User
      • getEmail

        public String getEmail()
        Description copied from interface: User
        Returns the email address of the User.
        Specified by:
        getEmail in interface User
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        Description copied from interface: User
        Sets the email address of the User.
        Specified by:
        setEmail in interface User
        Parameters:
        email - the email address of the User
      • getPhone

        public String getPhone()
        Description copied from interface: User
        Returns the phone number of the User.
        Specified by:
        getPhone in interface User
        Returns:
        phone
      • setPhone

        public void setPhone​(String phone)
        Description copied from interface: User
        Sets the phone number of the User.
        Specified by:
        setPhone in interface User
        Parameters:
        phone - the phone number of the User
      • getMobilePhone

        public String getMobilePhone()
        Description copied from interface: User
        Returns the mobile phone number of the User.
        Specified by:
        getMobilePhone in interface User
        Returns:
        mobilePhone
      • setMobilePhone

        public void setMobilePhone​(String mobilePhone)
        Description copied from interface: User
        Sets the mobile phone number of the User.
        Specified by:
        setMobilePhone in interface User
        Parameters:
        mobilePhone - the mobile phone number of the User
      • getOrgLevel4

        public String getOrgLevel4()
        Description copied from interface: User
        Returns the orgLevel4 of the User.
        Specified by:
        getOrgLevel4 in interface User
        Returns:
        orgLevel4
      • setOrgLevel4

        public void setOrgLevel4​(String orgLevel4)
        Description copied from interface: User
        Sets the orgLevel4 of the User.
        Specified by:
        setOrgLevel4 in interface User
        Parameters:
        orgLevel4 - the fourth organization level of the User
      • getOrgLevel3

        public String getOrgLevel3()
        Description copied from interface: User
        Returns the orgLevel3 of the User.
        Specified by:
        getOrgLevel3 in interface User
        Returns:
        orgLevel3
      • setOrgLevel3

        public void setOrgLevel3​(String orgLevel3)
        Description copied from interface: User
        Sets the orgLevel3 of the User.
        Specified by:
        setOrgLevel3 in interface User
        Parameters:
        orgLevel3 - the third organization level of the User
      • getOrgLevel2

        public String getOrgLevel2()
        Description copied from interface: User
        Returns the orgLevel2 of the User.
        Specified by:
        getOrgLevel2 in interface User
        Returns:
        orgLevel2
      • setOrgLevel2

        public void setOrgLevel2​(String orgLevel2)
        Description copied from interface: User
        Sets the orgLevel2 of the User.
        Specified by:
        setOrgLevel2 in interface User
        Parameters:
        orgLevel2 - the second organization level of the User
      • getOrgLevel1

        public String getOrgLevel1()
        Description copied from interface: User
        Returns the orgLevel1 of the User.
        Specified by:
        getOrgLevel1 in interface User
        Returns:
        orgLevel1
      • setOrgLevel1

        public void setOrgLevel1​(String orgLevel1)
        Description copied from interface: User
        Sets the orgLevel1 of the User.
        Specified by:
        setOrgLevel1 in interface User
        Parameters:
        orgLevel1 - the first organization level of the User
      • getData

        public String getData()
        Description copied from interface: User
        Returns the data of the User.
        Specified by:
        getData in interface User
        Returns:
        data
      • setData

        public void setData​(String data)
        Description copied from interface: User
        Sets the data of the User.
        Specified by:
        setData in interface User
        Parameters:
        data - the data of the User
      • setDomains

        public void setDomains​(Set<String> domains)
      • copy

        public UserImpl copy()
        Description copied from interface: User
        Duplicates this User.
        Specified by:
        copy in interface User
        Returns:
        a copy of this User
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object