public interface CalendarEventInterface
Modifier and Type | Interface and Description |
---|---|
static class |
CalendarEventInterface.IconSize
Enum of supported icon sizes.
|
Modifier and Type | Method and Description |
---|---|
java.util.TreeSet<Member> |
getAllAttendingMembersSet()
Return a set containing all the members attending this event.
|
java.util.TreeSet<Member> |
getAllAttendingMembersSet(boolean checkReadRight)
Return a set containing all the members attending this event checking for readright or not.
|
Group[] |
getAttendingGroups() |
Member[] |
getAttendingMembers() |
java.util.TreeSet<Member> |
getAttendingMemberSet()
Retrieve the attending members as a Set, with the author included.
|
boolean |
getAuthorAttendee() |
java.lang.String |
getDataIconHtml()
Compute html icon for this event
|
java.lang.String |
getDataIconHtml(java.lang.String lang,
CalendarEventInterface.IconSize size)
Compute html icon for this event by specifying a size in parameter.
|
boolean |
getDayEventFlag() |
java.lang.String |
getDescription(java.lang.String lang) |
FileDocument[] |
getDocuments() |
java.util.Date |
getEndDate() |
long |
getEventDuration()
Returns the event duration
|
boolean |
getFreeSignUp() |
java.lang.String |
getImportanceLevel() |
java.lang.String |
getLocation() |
java.lang.String |
getLocation(java.lang.String lang) |
java.lang.String |
getPeriodicity() |
java.util.Date |
getPeriodicityEndDate() |
boolean |
getPrivateFlag() |
java.util.Date |
getReminderDate() |
long |
getReminderDuration() |
AbstractEventResource[] |
getResources() |
boolean |
getSendEventUpdateMail() |
java.util.Date |
getStartDate() |
boolean |
getUseFrontOfficeCalendarEditionModal()
Whether we use the Calendar edition modal in Front Office.
|
boolean |
isAttendee(Member mbr)
Check if a given member attends this calendar event (Warning: read right are not checked),
either because he is in a group attending the event or else if he is in the list of attendees
|
boolean |
isAttendee(Member mbr,
boolean checkReadRight)
Check if a given member attends this calendar event,
either because he is in a group attending the event or else if he is in the list of attendees
|
boolean |
isReminderEnabled() |
boolean |
overlapWith(CalendarEventInterface ev)
Check if calendar event overlap with another one
|
boolean |
overlapWith(java.util.Date startDate,
java.util.Date endDate)
Check if calendar event overlap with given interval
|
void |
remind()
remind author and attendees of event
|
boolean |
removeAttendee(Member mbr)
Remove given member from the attending members, updates the all member set.
|
void |
setAttendingGroups(Group[] v) |
void |
setAttendingMembers(Member[] v) |
void |
setAuthorAttendee(boolean b) |
void |
setDocuments(FileDocument[] v) |
void |
setEndDate(java.util.Date date) |
void |
setFreeSignUp(boolean v) |
void |
setLocation(java.lang.String v) |
void |
setPeriodicity(java.lang.String v) |
void |
setPeriodicityEndDate(java.util.Date v) |
void |
setPrivateFlag(boolean v) |
void |
setReminderDuration(long v) |
void |
setResources(AbstractEventResource[] v) |
void |
setSendEventUpdateMail(boolean v) |
void |
setStartDate(java.util.Date date) |
void |
updateAllAttendingMembersSet()
Clear and update the transient cache of all attending member set.
|
java.util.Date getStartDate()
java.util.Date getEndDate()
java.lang.String getImportanceLevel()
boolean getAuthorAttendee()
void setAuthorAttendee(boolean b)
boolean getDayEventFlag()
void setStartDate(java.util.Date date)
void setEndDate(java.util.Date date)
long getReminderDuration()
void setReminderDuration(long v)
Member[] getAttendingMembers()
void setAttendingMembers(Member[] v)
Group[] getAttendingGroups()
void setAttendingGroups(Group[] v)
java.lang.String getLocation()
void setLocation(java.lang.String v)
java.lang.String getPeriodicity()
void setPeriodicity(java.lang.String v)
java.util.Date getPeriodicityEndDate()
void setPeriodicityEndDate(java.util.Date v)
boolean getPrivateFlag()
void setPrivateFlag(boolean v)
AbstractEventResource[] getResources()
void setResources(AbstractEventResource[] v)
FileDocument[] getDocuments()
void setDocuments(FileDocument[] v)
boolean getSendEventUpdateMail()
void setSendEventUpdateMail(boolean v)
boolean getFreeSignUp()
void setFreeSignUp(boolean v)
java.lang.String getLocation(java.lang.String lang)
java.lang.String getDescription(java.lang.String lang)
long getEventDuration()
boolean overlapWith(CalendarEventInterface ev)
ev
- the other calendar eventboolean overlapWith(java.util.Date startDate, java.util.Date endDate)
startDate
- the start date of the interval to checkendDate
- the end date of the interval to checkboolean isAttendee(Member mbr)
mbr
- the member to checkboolean isAttendee(Member mbr, boolean checkReadRight)
mbr
- the member to checkcheckReadRight
- set to true if read right should be checked (in which case a member is considered attendee only when is can read the event),
set to false if read right should not be checked (in which case a member is considered attendee event if he cannot read the event)boolean isReminderEnabled()
java.util.Date getReminderDate()
java.util.TreeSet<Member> getAllAttendingMembersSet()
java.util.TreeSet<Member> getAllAttendingMembersSet(boolean checkReadRight)
checkReadRight
- set to true if read right should be checked, false if all attendee should be included even Member not able to read the eventjava.util.TreeSet<Member> getAttendingMemberSet()
boolean removeAttendee(Member mbr)
mbr
- the Member to removevoid updateAllAttendingMembersSet()
void remind()
java.lang.String getDataIconHtml()
java.lang.String getDataIconHtml(java.lang.String lang, CalendarEventInterface.IconSize size)
lang
- the user language.size
- icon sizeboolean getUseFrontOfficeCalendarEditionModal()
true
if we use the Calendar edition modal.Copyright © 2001-2010 Jalios SA. All Rights Reserved.