public class

ConfluenceEntityObject

extends EntityObject
implements Serializable
java.lang.Object
   ↳ com.atlassian.core.bean.EntityObject
     ↳ com.atlassian.confluence.core.ConfluenceEntityObject
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The superclass of all entity objects within Confluence.

It provides an ID as well as creator/modifier username and date fields.

Summary

Public Constructors
ConfluenceEntityObject()
Public Methods
String getCreatorName()
String getLastModifierName()
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 setCreatorName(String creatorName)
void setLastModifierName(String lastModifierName)
[Expand]
Inherited Methods
From class com.atlassian.core.bean.EntityObject
From class java.lang.Object

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)