|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.core.AbstractVersionedEntityObject
com.atlassian.confluence.core.ContentEntityObject
com.atlassian.confluence.core.PageContentEntityObject
public abstract class PageContentEntityObject
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ContentEntityObject |
|---|
CREATED, CURRENT, DELETED, MODIFIED |
| Fields inherited from class com.atlassian.confluence.core.AbstractVersionedEntityObject |
|---|
INITIAL_VERSION |
| Constructor Summary | |
|---|---|
PageContentEntityObject()
|
|
| Method Summary | |
|---|---|
void |
convertToHistoricalVersion()
Remove all data from the object that does not need to be saved by historical versions. |
AbstractPage |
getPage()
|
int |
hashCode()
|
void |
setPage(AbstractPage page)
|
| Methods inherited from class com.atlassian.confluence.core.AbstractVersionedEntityObject |
|---|
getLatestVersion, getOriginalVersion, getVersion, isLatestVersion, isNew, setOriginalVersion, setVersion |
| Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject |
|---|
getCreatorName, getLastModifierName, isPersistent, setCreatorName, setLastModifierName |
| Methods inherited from class com.atlassian.core.bean.EntityObject |
|---|
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.atlassian.bonnie.Searchable |
|---|
getId |
| Methods inherited from interface com.atlassian.confluence.core.Addressable |
|---|
getId |
| Constructor Detail |
|---|
public PageContentEntityObject()
| Method Detail |
|---|
public AbstractPage getPage()
public void setPage(AbstractPage page)
public void convertToHistoricalVersion()
VersionedWhen 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.
convertToHistoricalVersion in interface VersionedconvertToHistoricalVersion in class ContentEntityObjectpublic int hashCode()
hashCode in class ContentEntityObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||