|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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()
|
java.lang.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()
|
java.lang.String |
getLastModifierName()
Deprecated. Since Confluence 5.2. See instead . If you need a username you would retrieve it by id from the UserAccessor. |
static java.lang.Class |
getRealClass(java.lang.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(java.lang.String creatorName)
Deprecated. since 5.2. Use setCreator(ConfluenceUser) instead. |
void |
setLastModifier(ConfluenceUser lastModifier)
|
void |
setLastModifierName(java.lang.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 java.lang.String getCreatorName()
instead
. If you need a username you would retrieve it by id from the UserAccessor.
public ConfluenceUser getCreator()
@Deprecated public void setCreatorName(java.lang.String creatorName)
setCreator(ConfluenceUser)
instead.
creatorName
-
java.lang.IllegalArgumentException
- if the username supplied does not identify a known user in the system.public java.lang.String getLastModifierName()
instead
. If you need a username you would retrieve it by id from the UserAccessor.
public ConfluenceUser getLastModifier()
@Deprecated public void setLastModifierName(java.lang.String lastModifierName)
setLastModifier(ConfluenceUser)
instead
lastModifierName
-
java.lang.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 java.lang.Class getRealClass(java.lang.Object ceo)
ceo
- Content entity object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |