Interface IInitializablePrincipal
- All Known Subinterfaces:
IInitializableGroup
,IInitializableRole
,IInitializableUser
public interface IInitializablePrincipal
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve directory object uri (that one would be stored as a unique DN for this object)getEmail()
Retrieve the email address for this usergetName()
Retrieve the full name for this usergetUUID()
Retrieve the uuid for this userboolean
Determine whether groups are supported for this objectboolean
Determines if this user (after initialization) has different group membershipboolean
Determines if this user (after initialization) has different role membershipboolean
hasRoles()
Determine whether roles are supported for this objectretrieveMemberships
(IThingID prinicpalID) Retrieve the list of groups this user a member of.retrieveRoles
(IThingID prinicpalID) Retrieve the list of roles this user a member of.void
setHasNewGroups
(boolean newGroups) Sets the hasNewGroups() flagvoid
setHasNewRoles
(boolean newRoles) Sets the hasNewRoles() flagvoid
setThingID
(IThingID thingID) The thingID for this principal
-
Method Details
-
getDirectoryURI
Retrieve directory object uri (that one would be stored as a unique DN for this object)- Throws:
PortalException
-
getName
Retrieve the full name for this user- Throws:
PortalException
-
getEmail
Retrieve the email address for this user- Throws:
PortalException
-
getUUID
Retrieve the uuid for this user- Throws:
PortalException
-
retrieveMemberships
Retrieve the list of groups this user a member of.- Throws:
PortalException
-
hasMemberships
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
Retrieve the list of roles this user a member of.- Throws:
PortalException
-
hasRoles
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
The thingID for this principal
-