java.lang.Object | ||||||
↳ | com.atlassian.core.bean.EntityObject | |||||
↳ | com.atlassian.confluence.core.ConfluenceEntityObject | |||||
↳ | com.atlassian.confluence.core.AbstractVersionedEntityObject | |||||
↳ | com.atlassian.confluence.core.ContentEntityObject | |||||
↳ | com.atlassian.confluence.core.SpaceContentEntityObject | |||||
↳ | com.atlassian.confluence.pages.AbstractPage |
Known Direct Subclasses |
Parent of the concrete Page and BlogPost classes
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Remove all data from the object that does not need to be saved by historical versions.
| |||||||||||
Get the latest, current version of this versioned object.
| |||||||||||
if this page is a historical version, then this method returns the current/latest version of this page
if this page is the latest version, then this returns null
this method name should really be refactored to getCurrentVersionOfPage()
| |||||||||||
Convenience method to get the immediately prior version since we can't perform arithmetic in velocity (assume that versions are sequential)
Method is used in email templates where session is not available.
| |||||||||||
Remove this page from the world.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.confluence.core.SpaceContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.ContentEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.AbstractVersionedEntityObject
| |||||||||||
From class
com.atlassian.confluence.core.ConfluenceEntityObject
| |||||||||||
From class
com.atlassian.core.bean.EntityObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bonnie.Searchable
| |||||||||||
From interface
com.atlassian.confluence.core.Addressable
| |||||||||||
From interface
com.atlassian.confluence.core.ContentTypeAware
| |||||||||||
From interface
com.atlassian.confluence.core.HasLinkWikiMarkup
| |||||||||||
From interface
com.atlassian.confluence.core.Versioned
| |||||||||||
From interface
com.atlassian.confluence.labels.Labelable
| |||||||||||
From interface
com.atlassian.confluence.spaces.Spaced
| |||||||||||
From interface
java.lang.Comparable
|
Remove all data from the object that does not need to be saved by historical versions. For versioned objects that are persisted, this includes removing associations with other persisted objects that may otherwise cause us to break the expected arity of the database relations.
When using Hibernate to persist versioned objects, take special care to null any field that might contain a Hibernate-persisted collection, as Hibernate does not allow two different persistent objects to refer to the same persisted collection at the same time.
Get the latest, current version of this versioned object. If this object is the current version, return this object.
if this page is a historical version, then this method returns the current/latest version of this page if this page is the latest version, then this returns null this method name should really be refactored to getCurrentVersionOfPage()
Convenience method to get the immediately prior version since we can't perform arithmetic in velocity (assume that versions are sequential) Method is used in email templates where session is not available. Hence we cannot load previousVersions to return a page object
Remove this page from the world. This method should sever any inverse relationships this page may have with other objects.