|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.security.CmsPrincipal
org.opencms.file.history.CmsHistoryPrincipal
public class CmsHistoryPrincipal
Describes an OpenCms historical principal entry.
Field Summary |
---|
Fields inherited from class org.opencms.security.CmsPrincipal |
---|
m_description, m_flags, m_id, m_name |
Fields inherited from interface org.opencms.security.I_CmsPrincipal |
---|
FLAG_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 |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class org.opencms.security.CmsPrincipal |
---|
compareTo, equals, filterCore, filterCoreFlag, filterFlag, getDescription, getDisplayName, getFlags, getId, getName, getOuFqn, getPrefixedGroup, getPrefixedName, getPrefixedUser, getSimpleName, hashCode, isEnabled, readPrefixedPrincipal, readPrincipal, readPrincipal, readPrincipalIncludingHistory, setDescription, setEnabled, setFlags, setName |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
toString |
Constructor Detail |
---|
public 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 deletedMethod Detail |
---|
public void checkName(java.lang.String name)
I_CmsPrincipal
I_CmsPrincipal.setName(String)
.
checkName
in interface I_CmsPrincipal
name
- the principal name to checkI_CmsPrincipal.checkName(java.lang.String)
public java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
public long getDateDeleted()
public java.lang.String getEmail()
public java.lang.String getType()
public CmsUUID getUserDeleted()
public boolean isGroup()
I_CmsPrincipal
true
if this principal is of type CmsGroup
.
isGroup
in interface I_CmsPrincipal
isGroup
in class CmsPrincipal
true
if this principal is of type CmsGroup
CmsPrincipal.isGroup()
public boolean isUser()
I_CmsPrincipal
true
if this principal is of type CmsUser
.
isUser
in interface I_CmsPrincipal
isUser
in class CmsPrincipal
true
if this principal is of type CmsUser
CmsPrincipal.isUser()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |