|
|||||||||||
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
com.arsdigita.cms.contenttypes.PressRelease
This content type represents a press release. Its extended attributes are
release date and reference code. Release date has nothing to do with
publishing, but allows the author to specify the original release date for
reference purposes. Reference code is an arbitrary string that is used for
out-of-system reference. The type inherits name (filename), title, body
(TextAsset), and metadata from
com.arsdigita.aplaws.cms.TextPage
, and also provides the
capability to associate contact information with this press release.
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
Data object type for this domain object |
static String |
CONTACT_INFO
PDL property name for contact info |
static String |
REFERENCE_CODE
PDL property name for reference code |
static String |
SUMMARY
PDL property name for summary |
static int |
SUMMARY_LENGTH
|
Fields inherited from class com.arsdigita.cms.TextPage |
SUMMARY_SIZE, TEXT_ASSET, 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, 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 | |
PressRelease()
|
|
PressRelease(BigDecimal id)
|
|
PressRelease(com.arsdigita.persistence.DataObject obj)
|
|
PressRelease(com.arsdigita.persistence.OID id)
|
|
PressRelease(String type)
|
Method Summary | |
void |
beforeSave()
|
String |
getContactInfo()
|
String |
getReferenceCode()
|
String |
getSearchSummary()
|
String |
getSummary()
|
void |
setContactInfo(String contactInfo)
|
void |
setReferenceCode(String refCode)
|
void |
setSummary(String summary)
|
Methods inherited from class com.arsdigita.cms.TextPage |
getBaseDataObjectType, getTextAsset, propagateMaster, setTextAsset |
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.cms.ContentItem |
addCategory, addPendingVersion, afterSave, assertDraft, assertLive, assertMaster, assertPending, beforeDelete, canPublishToFS, copy, copy, copyProperty, copyProperty, copyServices, copyServicesFrom, createLiveVersion, createPendingVersion, get, getCategories, getCategoryCollection, getChildren, getContentSection, getContentType, getCreationDate, getCreationIP, getCreationUser, getDraftVersion, getLanguage, getLastModifiedDate, getLastModifiedIP, getLastModifiedUser, getLifecycle, getLiveVersion, getLocale, getName, getParent, getPath, getPathInfo, getPathInfo, getPathNoJsp, getPendingVersions, getPublicVersion, getVersion, getWorkingVersion, initialize, isDraftVersion, isLive, isLiveVersion, isPendingVersion, isPublished, makeCopy, promotePendingVersion, publish, publishToFS, removeCategory, removeLifecycle, removePendingVersion, set, setContentSection, setContentType, setDefaultCategory, setLanguage, setLifecycle, setLive, setLiveVersion, setParent, setVersion, setVersionRecursively, unpublish, unpublishFromFS |
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 CONTACT_INFO
public static final String SUMMARY
public static final String REFERENCE_CODE
public static final String BASE_DATA_OBJECT_TYPE
public static final int SUMMARY_LENGTH
Constructor Detail |
public PressRelease()
public PressRelease(BigDecimal id) throws com.arsdigita.domain.DataObjectNotFoundException
public PressRelease(com.arsdigita.persistence.OID id) throws com.arsdigita.domain.DataObjectNotFoundException
public PressRelease(com.arsdigita.persistence.DataObject obj)
public PressRelease(String type)
Method Detail |
public void beforeSave()
public String getContactInfo()
public void setContactInfo(String contactInfo)
public String getSummary()
public void setSummary(String summary)
public String getReferenceCode()
public void setReferenceCode(String refCode)
public String getSearchSummary()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |