com.dotmarketing.portlets.calendar.model
Class Event

java.lang.Object
  extended by com.dotmarketing.portlets.contentlet.model.Contentlet
      extended by com.dotmarketing.portlets.calendar.model.Event
All Implemented Interfaces:
Permissionable, Versionable, Categorizable, java.io.Serializable

public class Event
extends Contentlet

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.portlets.contentlet.model.Contentlet
ARCHIVED_KEY, DISABLED_WYSIWYG_KEY, FOLDER_KEY, HOST_KEY, IDENTIFIER_KEY, INODE_KEY, LANGUAGEID_KEY, LAST_REVIEW_KEY, LIVE_KEY, LOCKED_KEY, map, MOD_DATE_KEY, MOD_USER_KEY, NEXT_REVIEW_KEY, OWNER_KEY, REVIEW_INTERNAL_KEY, SORT_ORDER_KEY, STRUCTURE_INODE_KEY, WORKING_KEY
 
Constructor Summary
  Event()
           
protected Event(Contentlet c)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Date getEndDate()
           
 java.util.List<Field> getFields()
           
 java.lang.String getLink()
           
 java.lang.String getLocation()
           
 java.util.Map<java.lang.String,java.lang.Object> getMap()
          Returns a map of the contentlet properties based on the fields of the structure The keys used in the map will be the velocity variables names
 EventRecurrence getRecurrence()
           
 java.util.Date getStartDate()
           
 java.lang.String getTags()
           
 java.lang.String getTitle()
           
 void setDescription(java.lang.String description)
           
 void setEndDate(java.util.Date endDate)
           
 void setLink(java.lang.String link)
           
 void setLocation(java.lang.String location)
           
 void setRecurrence(EventRecurrence recurrence)
           
 void setStartDate(java.util.Date startDate)
           
 void setTags(java.lang.String tags)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class com.dotmarketing.portlets.contentlet.model.Contentlet
acceptedPermissions, equals, equals, get, getBinary, getBinaryStream, getBoolProperty, getCategoryId, getDateProperty, getDisabledWysiwyg, getFloatProperty, getFolder, getHost, getIdentifier, getInode, getLanguageId, getLastReview, getLongProperty, getModDate, getModUser, getNextReview, getOwner, getParentPermissionable, getPermissionId, getPermissionType, getReviewInterval, getSerialVersionUID, getSortOrder, getStringProperty, getStructure, getStructureInode, getVersionId, getVersionType, hashCode, isArchived, isLive, isLocked, isLowIndexPriority, isParentPermissionable, isWorking, permissionDependencies, setArchived, setBinary, setBoolProperty, setDateProperty, setDisabledWysiwyg, setFloatProperty, setFolder, setHost, setIdentifier, setInode, setLanguageId, setLastReview, setLive, setLocked, setLongProperty, setLowIndexPriority, setModDate, setModUser, setNextReview, setOwner, setProperty, setReviewInterval, setSortOrder, setStringProperty, setStructureInode, setVersionId, setWorking, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
      throws DotDataException
Throws:
DotDataException

Event

protected Event(Contentlet c)
Method Detail

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface Versionable
Overrides:
getTitle in class Contentlet

setTitle

public void setTitle(java.lang.String title)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getStartDate

public java.util.Date getStartDate()

setStartDate

public void setStartDate(java.util.Date startDate)

getEndDate

public java.util.Date getEndDate()

setEndDate

public void setEndDate(java.util.Date endDate)

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String link)

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String location)

getTags

public java.lang.String getTags()

setTags

public void setTags(java.lang.String tags)

getRecurrence

public EventRecurrence getRecurrence()

setRecurrence

public void setRecurrence(EventRecurrence recurrence)

getFields

public java.util.List<Field> getFields()

getMap

public java.util.Map<java.lang.String,java.lang.Object> getMap()
Description copied from class: Contentlet
Returns a map of the contentlet properties based on the fields of the structure The keys used in the map will be the velocity variables names

Overrides:
getMap in class Contentlet


Copyright © 2010 dotCMS Inc. All Rights Reserved.