public class UserModel extends PrincipalModel implements IUserProvider
fDirPrincipal, fDirSysBizPolicy, fPapBizPolicy, fPortalContext, fPrincipalAttributes, fPrincipalBizPolicy, fProvidersMap
fExpireWithPageFlow
Constructor and Description |
---|
UserModel()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get display name for this principal.
|
List<IPrincipalProvider> |
getGroupMembership()
Gets a list of groups this user is a member of.
|
int |
getPrincipalType()
Get the type of principal used by this model.
|
List<IPrincipalProvider> |
getRoleMembership()
Gets a list of roles this user is a member of.
|
clear, equals, getAttributeProvider, getAttributeProviders, getAttributeProvidersMap, getAttributes, getDirPrincipal, getDirSystemBizPolicy, getEmail, getIconURL, getLink, getPortalContext, getPrincipalAttributeBizPolicy, getPrincipalBizPolicy, getPrincipalDN, getPrincipalID, getPrincipalURI, getPrincipalURIAsString, readExternal, setDirPrincipal, setPrincipalAlias, setPrincipalDN, setPrincipalID, setPrincipalURI, toString, writeExternal
getExpireWithPageFlow, setExpireWithPageFlow
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributes, getEmail, getIconURL, getLink, getPrincipalDN, getPrincipalID, getPrincipalURIAsString, setPrincipalAlias, setPrincipalDN, setPrincipalID
public UserModel()
public int getPrincipalType()
getPrincipalType
in class PrincipalModel
IDirConstants.TYPE_USER
public String getDisplayName()
getDisplayName
in interface IPrincipalProvider
getDisplayName
in class PrincipalModel
public List<IPrincipalProvider> getGroupMembership()
getGroupMembership
in interface IUserProvider
IPrincipalProvider
. May return null if there was an error retrieving the membership.public List<IPrincipalProvider> getRoleMembership()
getRoleMembership
in interface IUserProvider
IPrincipalProvider
. May return null if there was an error retrieving the membership.