fr.paris.lutece.plugins.calendar.modules.ical
Class ICalEvent

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.modules.ical.ICalEvent
All Implemented Interfaces:
Event, Serializable

public class ICalEvent
extends Object
implements Event

This class implements the Event interface for events using the iCalendar format (RFC 2445).

See Also:
Serialized Form

Constructor Summary
ICalEvent()
           
 
Method Summary
 String getCategories()
          Returns the Categories
 Date getDate()
          Returns the Date
 Date 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
 int getId()
          Returns the id of the event
 int getIdCalendar()
          Get the id of calendar
 fr.paris.lutece.portal.service.image.ImageResource getImageResource()
          Returns the ImageResource
 String getLinkUrl()
          Returns the link Url
 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 getTitle()
          Returns the Title
 int getTopEvent()
          Returns the top Event
 String getType()
          Returns the type
 String getUrl()
          Returns the Url
 void setDateCreation(Date dateCreation)
          Sets the date event date creation
 void setDateEnd(Date dateEnd)
          Sets the Date End
 void setDocumentId(int nDocumentId)
          Sets the document id
 void setEventClass(String strEventClass)
          Sets the EventClass
 void setId(int nId)
          Sets the Date
 void setImageResource(fr.paris.lutece.portal.service.image.ImageResource imageResource)
          Sets the ImageResource
 void setLinkUrl(String strLinkUrl)
          Sets the link Url
 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)
          Set the occurrence of the event
 void setPageUrl(String strPageUrl)
          Sets the page Url
 void setPeriodicity(int nPeriodicity)
          Set the periodicity of the event
 void setPriority(int nPriority)
          Sets the Priority
 void setStatus(String strStatus)
          Sets the Status
 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

ICalEvent

public ICalEvent()
Method Detail

getId

public int getId()
Returns the id of the event

Specified by:
getId in interface Event
Returns:
The id

getDate

public Date getDate()
Returns the Date

Specified by:
getDate in interface Event
Returns:
The Date

getTitle

public String getTitle()
Returns the Title

Specified by:
getTitle in interface Event
Returns:
The Title

getEventClass

public String getEventClass()
Returns the EventClass

Specified by:
getEventClass in interface Event
Returns:
The Evenet class

getLocation

public String getLocation()
Returns the Location

Specified by:
getLocation in interface Event
Returns:
The Location

getDescription

public String getDescription()
Returns the Description

Specified by:
getDescription in interface Event
Returns:
The Description

getDateTimeStart

public String getDateTimeStart()
Returns the DateTimeStart

Specified by:
getDateTimeStart in interface Event
Returns:
The DateTimeStart

getDateTimeEnd

public String getDateTimeEnd()
Returns the DateTimeEnd

Specified by:
getDateTimeEnd in interface Event
Returns:
The DateTimeEnd

getCategories

public String getCategories()
Returns the Categories

Returns:
The Categories

getStatus

public String getStatus()
Returns the Status

Specified by:
getStatus in interface Event
Returns:
The Status

getPriority

public int getPriority()
Returns the Priority

Specified by:
getPriority in interface Event
Returns:
The Priority

getUrl

public String getUrl()
Returns the Url

Specified by:
getUrl in interface Event
Returns:
The Url

getPeriodicity

public int getPeriodicity()
Description copied from interface: Event
Returns the periodicity

Specified by:
getPeriodicity in interface Event
Returns:
the periodicity

getOccurrence

public int getOccurrence()
Description copied from interface: Event
Returns the occurrence

Specified by:
getOccurrence in interface Event
Returns:
the occurence

getDateEnd

public Date getDateEnd()
Returns the date end

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

getLocationTown

public String getLocationTown()
Returns the location Town

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

getLocationAddress

public String getLocationAddress()
Returns the location Address

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

getMapUrl

public String getMapUrl()
Returns the date end

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

getLinkUrl

public String getLinkUrl()
Returns the link Url

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

getDocumentId

public int getDocumentId()
Returns the document id

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

getPageUrl

public String getPageUrl()
Returns the page Url

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

getTopEvent

public int getTopEvent()
Returns the top Event

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

setPeriodicity

public void setPeriodicity(int nPeriodicity)
Set the periodicity of the event

Parameters:
nPeriodicity - The periodicity of the event

setOccurrence

public void setOccurrence(int nOccurrence)
Set the occurrence of the event

Parameters:
nOccurrence - The occurrence of the event

setEventClass

public void setEventClass(String strEventClass)
Sets the EventClass

Parameters:
strEventClass - The EventClass

setStatus

public void setStatus(String strStatus)
Sets the Status

Parameters:
strStatus - The Status

setPriority

public void setPriority(int nPriority)
Sets the Priority

Parameters:
nPriority - The Priority

setUrl

public void setUrl(String strUrl)
Sets the Url

Parameters:
strUrl - The Url

setDateEnd

public void setDateEnd(Date dateEnd)
Sets the Date End

Parameters:
dateEnd - The Date End

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

setLocationAddress

public void setLocationAddress(String strLocationAddress)
Sets the location Address

Parameters:
strLocationAddress - The location Address

setMapUrl

public void setMapUrl(String strMapUrl)
Sets the Map Url

Parameters:
strMapUrl - The Map Url

setLinkUrl

public void setLinkUrl(String strLinkUrl)
Sets the link Url

Parameters:
strLinkUrl - The link Url

setDocumentId

public void setDocumentId(int nDocumentId)
Sets the document id

Parameters:
nDocumentId - The document id

setPageUrl

public void setPageUrl(String strPageUrl)
Sets the page Url

Parameters:
strPageUrl - The page Url

setTopEvent

public void setTopEvent(int strTopEvent)
Sets the top Event

Parameters:
strTopEvent - The top Event

setId

public void setId(int nId)
Sets the Date

Parameters:
nId - The id of the event

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

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

getDateCreation

public Date getDateCreation()
Returns the event date creation

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

setDateCreation

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

Parameters:
dateCreation - The event date creation

getIdCalendar

public int getIdCalendar()
Description copied from interface: Event
Get the id of calendar

Specified by:
getIdCalendar in interface Event
Returns:
the id of calendar


Copyright © 2014 Mairie de Paris. All Rights Reserved.