|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
public class ConfluenceEntityObject
The superclass of all entity objects within Confluence.
It provides an ID as well as creator/modifier username and date fields.
| Constructor Summary | |
|---|---|
ConfluenceEntityObject()
|
|
| Method Summary | |
|---|---|
ConfluenceUser |
getCreator()
|
String |
getCreatorName()
Deprecated. Since Confluence 5.2. See instead. If you need a username you would retrieve it by id from the UserAccessor. |
ConfluenceUser |
getLastModifier()
|
String |
getLastModifierName()
Deprecated. Since Confluence 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 |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfluenceEntityObject()
| Method Detail |
|---|
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) instead
lastModifierName -
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()
public static Class getRealClass(Object ceo)
ceo - Content entity object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||