public interface IInitializablePrincipal
Modifier and Type | Method and Description |
---|---|
IURI |
getDirectoryURI()
Retrieve directory object uri (that one would be stored as a unique DN for this object)
|
String |
getEmail()
Retrieve the email address for this user
|
String |
getName()
Retrieve the full name for this user
|
IThingID |
getThingID() |
String |
getUUID()
Retrieve the uuid for this user
|
boolean |
hasMemberships()
Determine whether groups are supported for this object
|
boolean |
hasNewGroups()
Determines if this user (after initialization) has different group membership
|
boolean |
hasNewRoles()
Determines if this user (after initialization) has different role membership
|
boolean |
hasRoles()
Determine whether roles are supported for this object
|
IListView<IDirPrincipal> |
retrieveMemberships(IThingID prinicpalID)
Retrieve the list of groups this user a member of.
|
IListView<IDirPrincipal> |
retrieveRoles(IThingID prinicpalID)
Retrieve the list of roles this user a member of.
|
void |
setHasNewGroups(boolean newGroups)
Sets the hasNewGroups() flag
|
void |
setHasNewRoles(boolean newRoles)
Sets the hasNewRoles() flag
|
void |
setThingID(IThingID thingID)
The thingID for this principal
|
IURI getDirectoryURI() throws PortalException
PortalException
String getName() throws PortalException
PortalException
String getEmail() throws PortalException
PortalException
String getUUID() throws PortalException
PortalException
IListView<IDirPrincipal> retrieveMemberships(IThingID prinicpalID) throws PortalException
PortalException
boolean hasMemberships() throws PortalException
PortalException
boolean hasNewGroups()
void setHasNewGroups(boolean newGroups)
IListView<IDirPrincipal> retrieveRoles(IThingID prinicpalID) throws PortalException
PortalException
boolean hasRoles() throws PortalException
PortalException
boolean hasNewRoles()
void setHasNewRoles(boolean newRoles)
IThingID getThingID()
void setThingID(IThingID thingID)