com.arsdigita.cms.contenttypes
Class Event
java.lang.Object
com.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.Event
- All Implemented Interfaces:
- com.arsdigita.auditing.Audited, com.arsdigita.cms.CustomCopy
- public class Event
- extends com.arsdigita.cms.TextPage
This content type represents an event.
- Version:
- $Revision: #5 $ $Date: 2004/04/07 $
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, 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 |
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 |
START_DATE
public static final String START_DATE
- PDL property name for event date
- See Also:
- Constant Field Values
END_DATE
public static final String END_DATE
- See Also:
- Constant Field Values
START_TIME
public static final String START_TIME
- See Also:
- Constant Field Values
END_TIME
public static final String END_TIME
- See Also:
- Constant Field Values
EVENT_DATE
public static final String EVENT_DATE
- See Also:
- Constant Field Values
LOCATION
public static final String LOCATION
- PDL property name for location
- See Also:
- Constant Field Values
LEAD
public static final String LEAD
- PDL property name for lead
- See Also:
- Constant Field Values
MAIN_CONTRIBUTOR
public static final String MAIN_CONTRIBUTOR
- PDL property name for main contributor
- See Also:
- Constant Field Values
EVENT_TYPE
public static final String EVENT_TYPE
- PDL property name for event type
- See Also:
- Constant Field Values
MAP_LINK
public static final String MAP_LINK
- PDL property name for map link
- See Also:
- Constant Field Values
COST
public static final String COST
- PDL property name for cost
- See Also:
- Constant Field Values
RECENT_EVENT
public static final String RECENT_EVENT
- See Also:
- Constant Field Values
BASE_DATA_OBJECT_TYPE
public static final String BASE_DATA_OBJECT_TYPE
- Data object type for this domain object
- See Also:
- Constant Field Values
SUMMARY_LENGTH
public static final int SUMMARY_LENGTH
- See Also:
- Constant Field Values
Event
public Event()
Event
public Event(BigDecimal id)
throws com.arsdigita.domain.DataObjectNotFoundException
Event
public Event(com.arsdigita.persistence.OID id)
throws com.arsdigita.domain.DataObjectNotFoundException
Event
public Event(com.arsdigita.persistence.DataObject obj)
Event
public Event(String type)
beforeSave
public void beforeSave()
formatDate
public String formatDate(Date date)
formatTime
public String formatTime(Date time)
getStartTime
public Date getStartTime()
setStartTime
public void setStartTime(Date startTime)
getDisplayStartTime
public String getDisplayStartTime()
getEndTime
public Date getEndTime()
setEndTime
public void setEndTime(Date endTime)
getDisplayEndTime
public String getDisplayEndTime()
getStartDate
public Date getStartDate()
setStartDate
public void setStartDate(Date startDate)
getDisplayStartDate
public String getDisplayStartDate()
getEndDate
public Date getEndDate()
getDisplayEndDate
public String getDisplayEndDate()
setEndDate
public void setEndDate(Date endDate)
getEventDate
public String getEventDate()
setEventDate
public void setEventDate(String eventDate)
getLocation
public String getLocation()
setLocation
public void setLocation(String location)
getLead
public String getLead()
setLead
public void setLead(String lead)
getMainContributor
public String getMainContributor()
setMainContributor
public void setMainContributor(String mainContributor)
getEventType
public String getEventType()
setEventType
public void setEventType(String eventType)
getMapLink
public String getMapLink()
setMapLink
public void setMapLink(String mapLink)
getCost
public String getCost()
setCost
public void setCost(String cost)
getSearchSummary
public String getSearchSummary()
getRandomEvent
public static Event getRandomEvent()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 22 2004:0003 UTC