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_PROJECT_MANAGER, FLAG_GROUP_PROJECT_USER, FLAG_GROUP_ROLE, FLAG_GROUP_VIRTUAL, FLAG_USER_MANAGED, FLAG_USER_WEBUSER, PRINCIPAL_GROUP, PRINCIPAL_USER| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
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, hashCode, isEnabled, readPrefixedPrincipal, 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 在接口中 I_CmsPrincipalname - the principal name to checkI_CmsPrincipal.checkName(java.lang.String)public java.lang.Object clone()
clone 在类中 java.lang.ObjectObject.clone()public long getDateDeleted()
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 在接口中 I_CmsPrincipalisGroup 在类中 CmsPrincipaltrue if this principal is of type CmsGroupCmsPrincipal.isGroup()public boolean isUser()
I_CmsPrincipaltrue if this principal is of type CmsUser.isUser 在接口中 I_CmsPrincipalisUser 在类中 CmsPrincipaltrue if this principal is of type CmsUserCmsPrincipal.isUser()