|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalendarEventInterface
Method Summary | |
---|---|
TreeSet<Member> |
getAllAttendingMembersSet()
Return a set containing all the members attending this event. |
TreeSet<Member> |
getAllAttendingMembersSet(boolean checkReadRight)
Return a set containing all the members attending this event checking for readright or not. |
Group[] |
getAttendingGroups()
|
Member[] |
getAttendingMembers()
|
TreeSet<Member> |
getAttendingMemberSet()
Retrieve the attending members as a Set, with the author included. |
boolean |
getAuthorAttendee()
|
boolean |
getDayEventFlag()
|
String |
getDescription(String lang)
|
FileDocument[] |
getDocuments()
|
Date |
getEndDate()
|
long |
getEventDuration()
Returns the event duration |
boolean |
getFreeSignUp()
|
String |
getHtmlIcon()
Compute html icon for this event |
String |
getImportanceLevel()
|
String |
getLocation()
|
String |
getLocation(String lang)
|
String |
getPeriodicity()
|
Date |
getPeriodicityEndDate()
|
boolean |
getPrivateFlag()
|
Date |
getReminderDate()
|
long |
getReminderDuration()
|
AbstractEventResource[] |
getResources()
|
boolean |
getSendEventUpdateMail()
|
Date |
getStartDate()
|
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(Date startDate,
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(Date date)
|
void |
setFreeSignUp(boolean v)
|
void |
setLocation(String v)
|
void |
setPeriodicity(String v)
|
void |
setPeriodicityEndDate(Date v)
|
void |
setPrivateFlag(boolean v)
|
void |
setReminderDuration(long v)
|
void |
setResources(AbstractEventResource[] v)
|
void |
setSendEventUpdateMail(boolean v)
|
void |
setStartDate(Date date)
|
void |
updateAllAttendingMembersSet()
Clear and update the transient cache of all attending member set. |
Method Detail |
---|
Date getStartDate()
Date getEndDate()
String getImportanceLevel()
boolean getAuthorAttendee()
void setAuthorAttendee(boolean b)
boolean getDayEventFlag()
void setStartDate(Date date)
void setEndDate(Date date)
long getReminderDuration()
void setReminderDuration(long v)
Member[] getAttendingMembers()
void setAttendingMembers(Member[] v)
Group[] getAttendingGroups()
void setAttendingGroups(Group[] v)
String getLocation()
void setLocation(String v)
String getPeriodicity()
void setPeriodicity(String v)
Date getPeriodicityEndDate()
void setPeriodicityEndDate(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)
String getLocation(String lang)
String getDescription(String lang)
long getEventDuration()
boolean overlapWith(CalendarEventInterface ev)
ev
- the other calendar event
boolean overlapWith(Date startDate, Date endDate)
startDate
- the start date of the interval to checkendDate
- the end date of the interval to check
boolean isAttendee(Member mbr)
mbr
- the member to check
boolean 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()
Date getReminderDate()
TreeSet<Member> getAllAttendingMembersSet()
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 event
TreeSet<Member> getAttendingMemberSet()
boolean removeAttendee(Member mbr)
mbr
- the Member to remove
void updateAllAttendingMembersSet()
void remind()
String getHtmlIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |