com.atlassian.confluence.core
Class ConfluenceEntityObject

java.lang.Object
  extended bycom.atlassian.core.bean.EntityObject
      extended bycom.atlassian.confluence.core.ConfluenceEntityObject
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
AbstractLink, AbstractVersionedEntityObject, ContentPermission, LegacyContentPermission, Notification, Space, SpaceGroup, SpacePermission

public class ConfluenceEntityObject
extends EntityObject
implements Serializable

The superclass of all entity objects within Confluence.

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

See Also:
Serialized Form

Constructor Summary
ConfluenceEntityObject()
           
 
Method Summary
 String getCreatorName()
           
 String getLastModifierName()
           
 boolean isPersistent()
          This object is persistent if the id is not 0.
 void setCreatorName(String creatorName)
           
 void setLastModifierName(String lastModifierName)
           
 
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

ConfluenceEntityObject

public ConfluenceEntityObject()
Method Detail

getCreatorName

public String getCreatorName()
Returns:
username of the creator, or null if created anonymously

setCreatorName

public void setCreatorName(String creatorName)

getLastModifierName

public String getLastModifierName()

setLastModifierName

public void setLastModifierName(String lastModifierName)

isPersistent

public boolean isPersistent()
This object is persistent if the id is not 0.

Returns:
true if this instance is a persisted label.


Confluence is developed by Atlassian.