fr.paris.lutece.plugins.calendar.business
Class SimpleEvent

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.business.SimpleEvent
All Implemented Interfaces:
Event, Serializable
Direct Known Subclasses:
MultiAgendaEvent, OccurrenceEvent

public class SimpleEvent
extends Object
implements Event

SimpleEvent

See Also:
Serialized Form

Constructor Summary
SimpleEvent()
           
 
Method Summary
 Date getDate()
          Returns the Date
 Timestamp getDateCreation()
          Returns the event date creation
 Date getDateEnd()
          Returns the date end
 String getDateTimeEnd()
          Returns the DateTimeEnd
 String getDateTimeStart()
          Returns the DateTimeStart
 String getDescription()
          Returns the Description
 int getDocumentId()
          Returns the document id
 String getEventClass()
          Returns the EventClass
 String[] getExcludedDays()
          Get the list of excluded days
 int getId()
          Returns the id of the event
 int getIdCalendar()
          Gets the calendar id
 fr.paris.lutece.portal.service.image.ImageResource getImageResource()
          Returns the ImageResource
 String getImageUrl()
          Returns the image Url
 String getLinkUrl()
          Returns the link Url
 Collection<Category> getListCategories()
          Gets the event categories
 String getListTags()
          Returns the Tag list
 String getLocation()
          Returns the Location
 String getLocationAddress()
          Returns the location Address
 String getLocationTown()
          Returns the location Town
 String getLocationZip()
          Returns the location Zip
 String getMapUrl()
          Returns the date end
 int getOccurrence()
          Returns the occurrence
 String getPageUrl()
          Returns the page Url
 int getPeriodicity()
          Returns the periodicity
 int getPriority()
          Returns the Priority
 String getStatus()
          Returns the Status
 String[] getTags()
          Returns the top Event
 String getTitle()
          Returns the Title
 int getTopEvent()
          Returns the top Event
 String getType()
          Returns the type
 String getUrl()
          Returns the Url
 void setDate(Date dateEvent)
          Sets the Date
 void setDateCreation(Timestamp dateCreation)
          Sets the date event date creation
 void setDateEnd(Date DateEnd)
          Sets the Date End
 void setDateTimeEnd(String strDateTimeEnd)
          Sets the DateTimeEnd
 void setDateTimeStart(String strDateTimeStart)
          Sets the DateTimeStart
 void setDescription(String strDescription)
          Sets the Description
 void setDocumentId(int nDocumentId)
          Sets the document id
 void setEventClass(String strEventClass)
          Sets the EventClass
 void setExcludedDays(String[] listExcludedDays)
          Set the list of excluded days
 void setId(int nId)
          Sets the Date
 void setIdCalendar(int idCalendar)
          Sets the calendar id
 void setImageResource(fr.paris.lutece.portal.service.image.ImageResource imageResource)
          Sets the ImageResource
 void setImageUrl(String strImageUrl)
          Sets the image Url
 void setLinkUrl(String strLinkUrl)
          Sets the link Url
 void setListCategories(Collection<Category> categories)
          Sets the event categories
 void setListTags(String strListTags)
          Sets the tag list
 void setLocation(String strLocation)
          Sets the Location
 void setLocationAddress(String strLocationAddress)
          Sets the location Address
 void setLocationTown(String strLocationTown)
          Sets the location Town
 void setLocationZip(String strLocationZip)
          Sets the location Zip
 void setMapUrl(String strMapUrl)
          Sets the Map Url
 void setOccurrence(int nOccurrence)
          Sets the occurrence
 void setPageUrl(String strPageUrl)
          Sets the page Url
 void setPeriodicity(int nPeriodicity)
          Sets the periodicity
 void setPriority(int nPriority)
          Sets the Priority
 void setStatus(String strStatus)
          Sets the Status
 void setTags(String[] listTags)
          Sets the tag list
 void setTitle(String strTitle)
          Sets the Title
 void setTopEvent(int strTopEvent)
          Sets the top Event
 void setType(String type)
          Sets the type
 void setUrl(String strUrl)
          Sets the Url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEvent

public SimpleEvent()
Method Detail

getId

public int getId()
Returns the id of the event

Specified by:
getId in interface Event
Returns:
The id

setId

public void setId(int nId)
Sets the Date

Parameters:
nId - The id of the event

getDate

public Date getDate()
Returns the Date

Specified by:
getDate in interface Event
Returns:
A Date object representing the event's date

setDate

public void setDate(Date dateEvent)
Sets the Date

Parameters:
dateEvent - The Date

getTitle

public String getTitle()
Returns the Title

Specified by:
getTitle in interface Event
Returns:
The Title

setTitle

public void setTitle(String strTitle)
Sets the Title

Parameters:
strTitle - The Title

getLocation

public String getLocation()
Returns the Location

Specified by:
getLocation in interface Event
Returns:
The Location

setLocation

public void setLocation(String strLocation)
Sets the Location

Parameters:
strLocation - The Location

getEventClass

public String getEventClass()
Returns the EventClass

Specified by:
getEventClass in interface Event
Returns:
The EventClass

setEventClass

public void setEventClass(String strEventClass)
Sets the EventClass

Parameters:
strEventClass - The EventClass

getDescription

public String getDescription()
Returns the Description

Specified by:
getDescription in interface Event
Returns:
The Description

setDescription

public void setDescription(String strDescription)
Sets the Description

Parameters:
strDescription - The Description

getDateTimeStart

public String getDateTimeStart()
Returns the DateTimeStart

Specified by:
getDateTimeStart in interface Event
Returns:
The DateTimeStart

setDateTimeStart

public void setDateTimeStart(String strDateTimeStart)
Sets the DateTimeStart

Parameters:
strDateTimeStart - The DateTimeStart

getDateTimeEnd

public String getDateTimeEnd()
Returns the DateTimeEnd

Specified by:
getDateTimeEnd in interface Event
Returns:
The DateTimeEnd

setDateTimeEnd

public void setDateTimeEnd(String strDateTimeEnd)
Sets the DateTimeEnd

Parameters:
strDateTimeEnd - The DateTimeEnd

getStatus

public String getStatus()
Returns the Status

Specified by:
getStatus in interface Event
Returns:
The Status

setStatus

public void setStatus(String strStatus)
Sets the Status

Parameters:
strStatus - The Status

getPriority

public int getPriority()
Returns the Priority

Specified by:
getPriority in interface Event
Returns:
The Priority

setPriority

public void setPriority(int nPriority)
Sets the Priority

Parameters:
nPriority - The Priority

getUrl

public String getUrl()
Returns the Url

Specified by:
getUrl in interface Event
Returns:
The Url

setUrl

public void setUrl(String strUrl)
Sets the Url

Parameters:
strUrl - The Url

getPeriodicity

public int getPeriodicity()
Returns the periodicity

Specified by:
getPeriodicity in interface Event
Returns:
The periodicity

setPeriodicity

public void setPeriodicity(int nPeriodicity)
Sets the periodicity

Parameters:
nPeriodicity - The periodicity

getOccurrence

public int getOccurrence()
Returns the occurrence

Specified by:
getOccurrence in interface Event
Returns:
The occurrence

setOccurrence

public void setOccurrence(int nOccurrence)
Sets the occurrence

Parameters:
nOccurrence - The occurrence

getDateEnd

public Date getDateEnd()
Returns the date end

Specified by:
getDateEnd in interface Event
Returns:
The date end

setDateEnd

public void setDateEnd(Date DateEnd)
Sets the Date End

Parameters:
DateEnd - The Date End

getLocationTown

public String getLocationTown()
Returns the location Town

Specified by:
getLocationTown in interface Event
Returns:
The location Town

setLocationTown

public void setLocationTown(String strLocationTown)
Sets the location Town

Parameters:
strLocationTown - The location Town

getLocationZip

public String getLocationZip()
Returns the location Zip

Specified by:
getLocationZip in interface Event
Returns:
The location Zip

setLocationZip

public void setLocationZip(String strLocationZip)
Sets the location Zip

Parameters:
strLocationZip - The location Zip

getLocationAddress

public String getLocationAddress()
Returns the location Address

Specified by:
getLocationAddress in interface Event
Returns:
The location Address

setLocationAddress

public void setLocationAddress(String strLocationAddress)
Sets the location Address

Parameters:
strLocationAddress - The location Address

getMapUrl

public String getMapUrl()
Returns the date end

Specified by:
getMapUrl in interface Event
Returns:
The date end

setMapUrl

public void setMapUrl(String strMapUrl)
Sets the Map Url

Parameters:
strMapUrl - The Map Url

getLinkUrl

public String getLinkUrl()
Returns the link Url

Specified by:
getLinkUrl in interface Event
Returns:
The link Url

setLinkUrl

public void setLinkUrl(String strLinkUrl)
Sets the link Url

Parameters:
strLinkUrl - The link Url

getDocumentId

public int getDocumentId()
Returns the document id

Specified by:
getDocumentId in interface Event
Returns:
The document id

setDocumentId

public void setDocumentId(int nDocumentId)
Sets the document id

Parameters:
nDocumentId - The document id

getPageUrl

public String getPageUrl()
Returns the page Url

Specified by:
getPageUrl in interface Event
Returns:
The page Url

setPageUrl

public void setPageUrl(String strPageUrl)
Sets the page Url

Parameters:
strPageUrl - The page Url

getTopEvent

public int getTopEvent()
Returns the top Event

Specified by:
getTopEvent in interface Event
Returns:
The top Event

setTopEvent

public void setTopEvent(int strTopEvent)
Sets the top Event

Parameters:
strTopEvent - The top Event

getTags

public String[] getTags()
Returns the top Event

Returns:
The top Event

setTags

public void setTags(String[] listTags)
Sets the tag list

Parameters:
listTags - The tag list

getListTags

public String getListTags()
Returns the Tag list

Returns:
The Tag list

setListTags

public void setListTags(String strListTags)
Sets the tag list

Parameters:
strListTags - The tag list

getType

public String getType()
Returns the type

Specified by:
getType in interface Event
Returns:
The type

setType

public void setType(String type)
Sets the type

Parameters:
type - The type

getIdCalendar

public int getIdCalendar()
Gets the calendar id

Specified by:
getIdCalendar in interface Event
Returns:
The calendar id

setIdCalendar

public void setIdCalendar(int idCalendar)
Sets the calendar id

Parameters:
idCalendar - The calendar id

getListCategories

public Collection<Category> getListCategories()
Gets the event categories

Returns:
the event categories

setListCategories

public void setListCategories(Collection<Category> categories)
Sets the event categories

Parameters:
categories - the event categories

getImageResource

public fr.paris.lutece.portal.service.image.ImageResource getImageResource()
Returns the ImageResource

Specified by:
getImageResource in interface Event
Returns:
The ImageResource

setImageResource

public void setImageResource(fr.paris.lutece.portal.service.image.ImageResource imageResource)
Sets the ImageResource

Parameters:
imageResource - the ImageResource

getImageUrl

public String getImageUrl()
Returns the image Url

Returns:
The image Url

setImageUrl

public void setImageUrl(String strImageUrl)
Sets the image Url

Parameters:
strImageUrl - The image Url

getDateCreation

public Timestamp getDateCreation()
Returns the event date creation

Specified by:
getDateCreation in interface Event
Returns:
The event date creation

setDateCreation

public void setDateCreation(Timestamp dateCreation)
Sets the date event date creation

Parameters:
dateCreation - The event date creation

getExcludedDays

public String[] getExcludedDays()
Get the list of excluded days

Returns:
the list of excluded days

setExcludedDays

public void setExcludedDays(String[] listExcludedDays)
Set the list of excluded days

Parameters:
listExcludedDays - the list of excluded days


Copyright © 2014 Mairie de Paris. All Rights Reserved.