Interface IInitializablePrincipal

All Known Subinterfaces:
IInitializableGroup, IInitializableRole, IInitializableUser

public interface IInitializablePrincipal
  • Method Details

    • getDirectoryURI

      IURI getDirectoryURI() throws PortalException
      Retrieve directory object uri (that one would be stored as a unique DN for this object)
      Throws:
      PortalException
    • getName

      String getName() throws PortalException
      Retrieve the full name for this user
      Throws:
      PortalException
    • getEmail

      String getEmail() throws PortalException
      Retrieve the email address for this user
      Throws:
      PortalException
    • getUUID

      String getUUID() throws PortalException
      Retrieve the uuid for this user
      Throws:
      PortalException
    • retrieveMemberships

      IListView<IDirPrincipal> retrieveMemberships(IThingID prinicpalID) throws PortalException
      Retrieve the list of groups this user a member of.
      Throws:
      PortalException
    • hasMemberships

      boolean hasMemberships() throws PortalException
      Determine whether groups are supported for this object
      Throws:
      PortalException
    • hasNewGroups

      boolean hasNewGroups()
      Determines if this user (after initialization) has different group membership
    • setHasNewGroups

      void setHasNewGroups(boolean newGroups)
      Sets the hasNewGroups() flag
    • retrieveRoles

      IListView<IDirPrincipal> retrieveRoles(IThingID prinicpalID) throws PortalException
      Retrieve the list of roles this user a member of.
      Throws:
      PortalException
    • hasRoles

      boolean hasRoles() throws PortalException
      Determine whether roles are supported for this object
      Throws:
      PortalException
    • hasNewRoles

      boolean hasNewRoles()
      Determines if this user (after initialization) has different role membership
    • setHasNewRoles

      void setHasNewRoles(boolean newRoles)
      Sets the hasNewRoles() flag
    • getThingID

      IThingID getThingID()
      Returns:
      the thingID for this principal
    • setThingID

      void setThingID(IThingID thingID)
      The thingID for this principal