Package com.groiss.cal
Interface CalEvent
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
SimpleEvent
a calendar event returned by
CalInfo
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
returns the caption to use for this event.int
returns the object thisCalEvent
was initially fetched forthe objects, this event belongs toint
getText()
getUID()
get the unique identifier for this eventboolean
should a reminder be used?boolean
boolean
boolean
check if the given user may edit this eventboolean
check if the given user may view this eventonClick()
-
Field Details
-
NONE
static final int NONE- See Also:
-
DAILY
static final int DAILY- See Also:
-
WEEKLY
static final int WEEKLY- See Also:
-
MONTHLY
static final int MONTHLY- See Also:
-
YEARLY
static final int YEARLY- See Also:
-
-
Method Details
-
clone
Object clone() -
getCaption
int getCaption()returns the caption to use for this event.- Returns:
- the caption's index
CalInfo.getCaptions()
-
getFromDate
Date getFromDate()- Returns:
- Returns the fromDate.
-
getInterval
int getInterval()- Returns:
- Returns the interval.
-
getLocation
String getLocation()- Returns:
- Returns the location.
-
getRecEndDate
Date getRecEndDate()- Returns:
- Returns the recEndDate.
-
getRecurrenceType
int getRecurrenceType()- Returns:
- Returns the recurrenceType.
-
getSubject
String getSubject()- Returns:
- Returns the subject.
-
getText
String getText()- Returns:
- Returns the text.
-
getUID
String getUID()get the unique identifier for this event- Returns:
- the unique identifier for this event
-
getUntilDate
Date getUntilDate()- Returns:
- Returns the untilDate.
-
isPrivateEvent
boolean isPrivateEvent()- Returns:
- Returns the privateDate.
-
isWholeDay
boolean isWholeDay()- Returns:
- Returns the wholeDay.
-
onClick
String onClick()- Returns:
- javascript-code for onclick event
-
hasReminder
boolean hasReminder()should a reminder be used?- Returns:
true
orfalse
-
mayView
check if the given user may view this event- Parameters:
user
-- Returns:
true
orfalse
-
mayEdit
check if the given user may edit this event- Parameters:
user
-- Returns:
true
orfalse
-
getEventType
EventType getEventType()- Returns:
- the
EventType
of this event
-
getObjects
List<Persistent> getObjects()the objects, this event belongs to- Returns:
- the objects
-
getObject
Persistent getObject()returns the object thisCalEvent
was initially fetched for- Returns:
- the object
-