Class PrincipalConfig

    • Constructor Detail

      • PrincipalConfig

        public PrincipalConfig​(java.lang.String id,
                               java.lang.String shortId,
                               java.lang.String name,
                               int type,
                               int subType,
                               java.lang.String channelId)
      • PrincipalConfig

        public PrincipalConfig​(UserConfig userConfig)
      • PrincipalConfig

        public PrincipalConfig​(GroupConfig groupConfig)
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        Returns the id.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface java.security.Principal
        Returns:
        Returns the name.
      • setName

        public void setName​(java.lang.String name)
      • getShortId

        public java.lang.String getShortId()
        Returns:
        Returns the shortId.
      • setShortId

        public void setShortId​(java.lang.String shortId)
      • getSubType

        public int getSubType()
        Parameters:
        sybType - The sybType to set.
      • setSubType

        public void setSubType​(int subType)
      • getType

        public int getType()
        Parameters:
        type - The type to set.
      • setType

        public void setType​(int type)
      • getChannelId

        public java.lang.String getChannelId()
        Returns:
        Returns the channelId.
      • setChannelId

        public void setChannelId​(java.lang.String channelId)
      • clone

        public PrincipalConfig clone()
                              throws java.lang.CloneNotSupportedException
        Specified by:
        clone in interface ICloneableCacheEntry
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.security.Principal
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.security.Principal
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.security.Principal
        Overrides:
        toString in class java.lang.Object
      • getProfileImageHref

        public java.lang.String getProfileImageHref()
        Get principal profile image href.
        Returns:
        this principal profile image href.
        Since:
        8.0.0