Known Direct Subclasses
|
Known Indirect Subclasses
AbstractLabelableEntityObject,
AbstractPage,
Attachment,
BlogPost,
Comment,
ContentEntityObject,
CustomContentEntityObject,
Draft,
GlobalDescription,
Mail,
MockContentPermission,
OutgoingLink,
Page,
PageContentEntityObject,
PageTemplate,
and
6 others.
|
Class Overview
The superclass of all entity objects within Confluence.
It provides an ID as well as creator/modifier username and date fields.
Summary
|
[Expand]
Inherited Methods |
From class
com.atlassian.core.bean.EntityObject
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
Date
|
getCreationDate()
|
|
Date
|
getCurrentDate()
|
|
long
|
getId()
|
|
Date
|
getLastModificationDate()
|
|
int
|
hashCode()
|
|
void
|
setClock(Clock arg0)
|
|
void
|
setCreationDate(Date arg0)
|
|
void
|
setId(long arg0)
|
|
void
|
setLastModificationDate(Date arg0)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
ConfluenceEntityObject
()
Public Methods
public
String
getCreatorName
()
Returns
- username of the creator, or null if created anonymously
public
String
getLastModifierName
()
public
static
Class
getRealClass
(Object ceo)
Get the real class of a content entity object. This is necessary as the object may be wrapped by a hibernate proxy.
Parameters
| ceo
| Content entity object |
Returns
- Underlying class of the ceo
public
boolean
isPersistent
()
This object is persistent if the id is not 0.
Returns
- true if this instance is a persisted label.
public
void
setCreatorName
(String creatorName)
public
void
setLastModifierName
(String lastModifierName)