public class CmsHistoryPrincipal extends CmsPrincipal implements java.lang.Cloneable
m_description, m_flags, m_id, m_nameFLAG_CORE_LIMIT, FLAG_DISABLED, FLAG_ENABLED, FLAG_GROUP_ROLE, FLAG_GROUP_VIRTUAL, FLAG_USER_MANAGED, FLAG_USER_WEBUSER, PRINCIPAL_GROUP, PRINCIPAL_USER| Constructor and Description |
|---|
CmsHistoryPrincipal(CmsUUID id,
java.lang.String name,
java.lang.String description,
java.lang.String email,
java.lang.String type,
CmsUUID userDeleted,
long dateDeleted)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkName(java.lang.String name)
Checks if the provided principal name is valid and can be used as an argument value
for
I_CmsPrincipal.setName(String). |
java.lang.Object |
clone() |
long |
getDateDeleted()
Returns the date the user was deleted.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the description of this principal.
|
java.lang.String |
getEmail()
Returns the email address of this deleted user, if this principal is a user.
|
java.lang.String |
getType()
Returns the principal type.
|
CmsUUID |
getUserDeleted()
Returns the id of user that deleted this user.
|
boolean |
isGroup()
Returns
true if this principal is of type . |
boolean |
isUser()
Returns
true if this principal is of type . |
compareTo, equals, filterCoreFlag, filterCoreGroups, filterCoreUsers, filterFlag, getDescription, getDisplayName, getDisplayName, getFlags, getId, getName, getOuFqn, getPrefixedGroup, getPrefixedName, getPrefixedUser, getSimpleName, getType, hashCode, isEnabled, readPrefixedPrincipal, readPrincipal, readPrincipal, readPrincipal, readPrincipalIncludingHistory, setDescription, setEnabled, setFlags, setNamepublic CmsHistoryPrincipal(CmsUUID id, java.lang.String name, java.lang.String description, java.lang.String email, java.lang.String type, CmsUUID userDeleted, long dateDeleted)
id - the unique id of this principalname - the fully qualified namedescription - the descriptiontype - the principal typeemail - the email addressuserDeleted - the id of user that deleted this principaldateDeleted - the date the principal was deletedpublic void checkName(java.lang.String name)
I_CmsPrincipalI_CmsPrincipal.setName(String).checkName in interface I_CmsPrincipalname - the principal name to checkI_CmsPrincipal.checkName(java.lang.String)public java.lang.Object clone()
clone in class java.lang.ObjectObject.clone()public long getDateDeleted()
public java.lang.String getDescription(java.util.Locale locale)
I_CmsPrincipalgetDescription in interface I_CmsPrincipallocale - locale of the descriptionI_CmsPrincipal.getDescription(java.util.Locale)public java.lang.String getEmail()
public java.lang.String getType()
public CmsUUID getUserDeleted()
public boolean isGroup()
I_CmsPrincipaltrue if this principal is of type CmsGroup.isGroup in interface I_CmsPrincipalisGroup in class CmsPrincipaltrue if this principal is of type CmsGroupCmsPrincipal.isGroup()public boolean isUser()
I_CmsPrincipaltrue if this principal is of type CmsUser.isUser in interface I_CmsPrincipalisUser in class CmsPrincipaltrue if this principal is of type CmsUserCmsPrincipal.isUser()