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

public class ICalEvent
extends java.lang.Object
implements Event

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


Constructor Summary
ICalEvent()
           
 
Method Summary
 java.lang.String getCategories()
          Returns the Categories
 java.util.Date getDate()
          Returns the Date
 java.util.Date getDateCreation()
          Returns the event date creation
 java.util.Date getDateEnd()
          Returns the date end
 java.lang.String getDateTimeEnd()
          Returns the DateTimeEnd
 java.lang.String getDateTimeStart()
          Returns the DateTimeStart
 java.lang.String getDescription()
          Returns the Description
 int getDocumentId()
          Returns the document id
 java.lang.String getEventClass()
          Returns the EventClass
 int getId()
          Returns the id of the event
 int getIdCalendar()
          Return the id of calendar
 fr.paris.lutece.portal.service.image.ImageResource getImageResource()
          Returns the ImageResource
 java.lang.String getLinkUrl()
          Returns the link Url
 java.lang.String getLocation()
          Returns the Location
 java.lang.String getLocationAddress()
          Returns the location Address
 java.lang.String getLocationTown()
          Returns the location Town
 java.lang.String getLocationZip()
          Returns the location Zip
 java.lang.String getMapUrl()
          Returns the date end
 int getOccurrence()
          Returns the occurrence
 java.lang.String getPageUrl()
          Returns the page Url
 int getPeriodicity()
          Returns the periodicity
 int getPriority()
          Returns the Priority
 java.lang.String getStatus()
          Returns the Status
 java.lang.String getTitle()
          Returns the Title
 int getTopEvent()
          Returns the top Event
 java.lang.String getType()
          Returns the type
 java.lang.String getUrl()
          Returns the Url
 void setDateCreation(java.util.Date dateCreation)
          Sets the date event date creation
 void setDateEnd(java.util.Date DateEnd)
          Sets the Date End
 void setDocumentId(int nDocumentId)
          Sets the document id
 void setEventClass(java.lang.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(java.lang.String strLinkUrl)
          Sets the link Url
 void setLocationAddress(java.lang.String strLocationAddress)
          Sets the location Address
 void setLocationTown(java.lang.String strLocationTown)
          Sets the location Town
 void setLocationZip(java.lang.String strLocationZip)
          Sets the location Zip
 void setMapUrl(java.lang.String strMapUrl)
          Sets the Map Url
 void setOccurrence(int nOccurrence)
           
 void setPageUrl(java.lang.String strPageUrl)
          Sets the page Url
 void setPeriodicity(int nPeriodicity)
           
 void setPriority(int nPriority)
          Sets the Priority
 void setStatus(java.lang.String strStatus)
          Sets the Status
 void setTopEvent(int strTopEvent)
          Sets the top Event
 void setType(java.lang.String type)
          Sets the type
 void setUrl(java.lang.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 java.util.Date getDate()
Returns the Date

Specified by:
getDate in interface Event
Returns:
The Date

getTitle

public java.lang.String getTitle()
Returns the Title

Specified by:
getTitle in interface Event
Returns:
The Title

getEventClass

public java.lang.String getEventClass()
Returns the EventClass

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

getLocation

public java.lang.String getLocation()
Returns the Location

Specified by:
getLocation in interface Event
Returns:
The Location

getDescription

public java.lang.String getDescription()
Returns the Description

Specified by:
getDescription in interface Event
Returns:
The Description

getDateTimeStart

public java.lang.String getDateTimeStart()
Returns the DateTimeStart

Specified by:
getDateTimeStart in interface Event
Returns:
The DateTimeStart

getDateTimeEnd

public java.lang.String getDateTimeEnd()
Returns the DateTimeEnd

Specified by:
getDateTimeEnd in interface Event
Returns:
The DateTimeEnd

getCategories

public java.lang.String getCategories()
Returns the Categories

Returns:
The Categories

getStatus

public java.lang.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 java.lang.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 occurrence

getDateEnd

public java.util.Date getDateEnd()
Returns the date end

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

getLocationTown

public java.lang.String getLocationTown()
Returns the location Town

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

getLocationAddress

public java.lang.String getLocationAddress()
Returns the location Address

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

getMapUrl

public java.lang.String getMapUrl()
Returns the date end

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

getLinkUrl

public java.lang.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 java.lang.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)

setOccurrence

public void setOccurrence(int nOccurrence)

setEventClass

public void setEventClass(java.lang.String strEventClass)
Sets the EventClass

Parameters:
strEventClass - The EventClass

setStatus

public void setStatus(java.lang.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(java.lang.String strUrl)
Sets the Url

Parameters:
strUrl - The Url

setDateEnd

public void setDateEnd(java.util.Date DateEnd)
Sets the Date End

Parameters:
DateEnd - The Date End

setLocationTown

public void setLocationTown(java.lang.String strLocationTown)
Sets the location Town

Parameters:
strLocationTown - The location Town

getLocationZip

public java.lang.String getLocationZip()
Returns the location Zip

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

setLocationZip

public void setLocationZip(java.lang.String strLocationZip)
Sets the location Zip

Parameters:
strLocationZip - The location Zip

setLocationAddress

public void setLocationAddress(java.lang.String strLocationAddress)
Sets the location Address

Parameters:
strLocationAddress - The location Address

setMapUrl

public void setMapUrl(java.lang.String strMapUrl)
Sets the Map Url

Parameters:
strMapUrl - The Map Url

setLinkUrl

public void setLinkUrl(java.lang.String strLinkUrl)
Sets the link Url

Parameters:
strLinkUrl - The link Url

setDocumentId

public void setDocumentId(int nDocumentId)
Sets the document id

Parameters:
strDocumentUrl - The document id

setPageUrl

public void setPageUrl(java.lang.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 java.lang.String getType()
Returns the type

Specified by:
getType in interface Event
Returns:
The type

setType

public void setType(java.lang.String type)
Sets the type

Parameters:
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 java.util.Date getDateCreation()
Returns the event date creation

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

setDateCreation

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

Parameters:
dateCreation - The event date creation

getIdCalendar

public int getIdCalendar()
Return the id of calendar

Specified by:
getIdCalendar in interface Event


Copyright © 2009 Mairie de Paris. All Rights Reserved.