|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.versioning.VersionedACSObject
com.arsdigita.cms.ContentItem
com.arsdigita.cms.ContentPage
com.arsdigita.cms.TextPage
This class extends a content page with an additional text attribute.
| Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
protected static int |
SUMMARY_SIZE
|
static String |
TEXT_ASSET
|
static String |
versionId
|
| Fields inherited from class com.arsdigita.cms.ContentPage |
LAUNCH_DATE, PAGES_IN_CATEGORY, PAGES_IN_FOLDER, QUERY_CATEGORY_ID, QUERY_PAGE, QUERY_ROOT_ID, QUERY_TYPE, SUMMARY, TITLE |
| Fields inherited from class com.arsdigita.cms.ContentItem |
ANCESTORS, AUDITING, CHILDREN, CONTENT_SECTION, CONTENT_TYPE, DRAFT, DRAFT_VERSION, LANGUAGE, LIVE, NAME, PARENT, PENDING, VERSION, VERSIONS |
| Fields inherited from class com.arsdigita.versioning.VersionedACSObject |
IS_DELETED, MASTER |
| Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE |
| Constructor Summary | |
TextPage()
Default constructor. |
|
TextPage(BigDecimal id)
Constructor. |
|
TextPage(com.arsdigita.persistence.DataObject obj)
|
|
TextPage(com.arsdigita.persistence.OID oid)
Constructor. |
|
TextPage(String type)
|
|
| Method Summary | |
String |
getBaseDataObjectType()
|
String |
getSearchSummary()
Return a short summary of the text body for search. |
TextAsset |
getTextAsset()
Return the text asset for this TextPage. |
protected void |
propagateMaster(com.arsdigita.versioning.VersionedACSObject master)
|
void |
setTextAsset(TextAsset text)
Pass in a null value to remove the text of this item. |
| Methods inherited from class com.arsdigita.cms.ContentPage |
getContentBundle, getDisplayName, getLaunchDate, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getTitle, setLaunchDate, setName, setPagesQueryParameters, setPagesQueryParameters, setTitle |
| Methods inherited from class com.arsdigita.versioning.VersionedACSObject |
applyTag, applyUniqueTag, autoPropagateMaster, getMaster, getRolledBackTo, getTransactions, getTransactions, isMaster, isRolledBack, isSubtype, permanentlyDelete, recordAttributeChange, rollBackTo, rollBackTo, rollForward, save, setMaster, trackChanges |
| Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID |
| Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
| Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, clear, delete, disconnect, equals, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String versionId
public static final String BASE_DATA_OBJECT_TYPE
public static final String TEXT_ASSET
protected static final int SUMMARY_SIZE
| Constructor Detail |
public TextPage()
public TextPage(com.arsdigita.persistence.OID oid)
throws com.arsdigita.domain.DataObjectNotFoundException
DataObject is retrieved
from the persistent storage mechanism with an OID
specified by oid.
oid - The OID for the retrieved
DataObject.
public TextPage(BigDecimal id)
throws com.arsdigita.domain.DataObjectNotFoundException
DataObject is retrieved
from the persistent storage mechanism with an OID
specified by id and
TextPage.BASE_DATA_OBJECT_TYPE.
id - The id for the retrieved
DataObject.public TextPage(com.arsdigita.persistence.DataObject obj)
public TextPage(String type)
| Method Detail |
public String getBaseDataObjectType()
getBaseDataObjectType in class ContentPagepublic TextAsset getTextAsset()
TextPage. Could return
null if there is no text body actually associated with the page
public void setTextAsset(TextAsset text)
public String getSearchSummary()
getSearchSummary in class ContentPageprotected void propagateMaster(com.arsdigita.versioning.VersionedACSObject master)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||