Class BasicUser

    • Field Detail

      • profileName

        protected java.lang.String profileName
      • id

        protected java.io.Serializable id
      • roles

        protected java.util.Collection<java.lang.String> roles
      • contactInfo

        protected java.util.List<ContactInfo> contactInfo
    • Constructor Detail

      • BasicUser

        public BasicUser​(java.lang.String profileName,
                         java.io.Serializable id,
                         java.util.Collection<java.lang.String> roles)
      • BasicUser

        public BasicUser​(java.lang.String profileName,
                         java.io.Serializable id,
                         java.util.Collection<java.lang.String> roles,
                         java.util.List<ContactInfo> contactInfo)
    • Method Detail

      • setRoles

        public BasicUser setRoles​(java.util.Collection<java.lang.String> roles)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getProfileName

        public java.lang.String getProfileName()
        Description copied from interface: User
        The name of the user management profile this user was retrieved from.
        Specified by:
        getProfileName in interface User
      • getId

        public java.io.Serializable getId()
        Description copied from interface: User
        An opaque identifier that can be used to identify this user. Only valid (unique) within the context of the originating user profile
        Specified by:
        getId in interface User
      • getRoles

        @Nonnull
        public java.util.Collection<java.lang.String> getRoles()
        Description copied from interface: User
        Returns all of the roles this user is a has. Not null.
        Specified by:
        getRoles in interface User
      • getContactInfo

        @Nonnull
        public java.util.List<ContactInfo> getContactInfo()
        Description copied from interface: User
        Returns all of the contact information for the user
        Specified by:
        getContactInfo in interface User
      • getScheduleAdjustments

        @Nonnull
        public java.util.List<ScheduleAdjustment> getScheduleAdjustments()
        Description copied from interface: User
        Returns all of this user's upcoming schedule adjustments
        Specified by:
        getScheduleAdjustments in interface User
      • getPath

        public QualifiedPath getPath()
        Description copied from interface: User
        Generate an path that unambiguously references this user
        Specified by:
        getPath in interface User