public class ConfluenceEntityObject extends com.atlassian.core.bean.EntityObject implements Serializable
It provides an ID as well as creator/modifier username and date fields.
Constructor and Description |
---|
ConfluenceEntityObject() |
Modifier and Type | Method and Description |
---|---|
ConfluenceUser |
getCreator() |
String |
getCreatorName()
Deprecated.
Since 5.2. See
instead . If you need a username you would retrieve it by id from the UserAccessor. |
ConfluenceUser |
getLastModifier() |
String |
getLastModifierName()
Deprecated.
Since 5.2. See
instead . If you need a username you would retrieve it by id from the UserAccessor. |
static Class |
getRealClass(Object ceo)
Get the real class of a content entity object.
|
boolean |
isPersistent()
This object is persistent if the id is not 0.
|
void |
setCreator(ConfluenceUser creator) |
void |
setCreatorName(String creatorName)
Deprecated.
since 5.2. Use
setCreator(ConfluenceUser) instead. |
void |
setLastModifier(ConfluenceUser lastModifier) |
void |
setLastModifierName(String lastModifierName)
Deprecated.
since 5.2. Call
setLastModifier(ConfluenceUser) instead |
public String getCreatorName()
instead
. If you need a username you would retrieve it by id from the UserAccessor.public ConfluenceUser getCreator()
@Deprecated public void setCreatorName(String creatorName)
setCreator(ConfluenceUser)
instead.creatorName
- IllegalArgumentException
- if the username supplied does not identify a known user in the system.public String getLastModifierName()
instead
. If you need a username you would retrieve it by id from the UserAccessor.public ConfluenceUser getLastModifier()
@Deprecated public void setLastModifierName(String lastModifierName)
setLastModifier(ConfluenceUser)
insteadlastModifierName
- IllegalArgumentException
- if the username supplied does not identify a known user in the system.public void setCreator(ConfluenceUser creator)
public void setLastModifier(ConfluenceUser lastModifier)
public boolean isPersistent()
Copyright © 2003–2017 Atlassian. All rights reserved.