|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SilverpeasCalendar
Method Summary | |
---|---|
void |
addHolidayDate(HolidayDetail holiday)
|
void |
addHolidayDates(List<HolidayDetail> holidayDates)
|
String |
addJournal(JournalHeader journal)
addJournal() add a journal entry in the database |
void |
addJournalAttendee(String journalId,
Attendee attendee)
methods for attendees |
void |
addJournalCategory(String journalId,
String categoryId)
|
String |
addToDo(ToDoHeader todo)
addToDo() add a todo entry in the database |
void |
addToDoAttendee(String todoId,
Attendee attendee)
|
Collection<SchedulableCount> |
countMonthSchedulablesForUser(String month,
String userId,
String categoryId,
String participation)
countMonthSchedulablesForUser() for a particular user, counts the number of schedules for each day in the month |
Collection<Category> |
getAllCategories()
methods for categories |
List<String> |
getAllToDoForUser(String userId)
|
Category |
getCategory(String categoryId)
|
Collection<ToDoHeader> |
getClosedToDos(String organizerId)
|
Collection<JournalHeader> |
getDaySchedulablesForUser(String day,
String userId,
String categoryId,
String participation)
getDaySchedulablesForUser() for a particular user returns all the events scheduled on a particular day. |
Collection<JournalHeader> |
getExternalJournalHeadersForUser(String userId)
getOutlookJournalHeadersForUser() returns the journalHeaders for user represented by the userId |
Collection<JournalHeader> |
getExternalJournalHeadersForUserAfterDate(String userId,
Date startDate)
getExternalJournalHeadersForUserAfterDate() returns the journalHeaders for user represented by the userId for which start date after given date |
Collection<ToDoHeader> |
getExternalTodos(String spaceId,
String componentId,
String externalId)
|
List<String> |
getHolidayDates(String userId)
|
List<String> |
getHolidayDates(String userId,
Date beginDate,
Date endDate)
|
Collection<Attendee> |
getJournalAttendees(String journalId)
|
Collection<Category> |
getJournalCategories(String journalId)
|
JournalHeader |
getJournalHeader(String journalId)
getJournalHeader() returns the journalHeader represented by the journalId |
Collection<JournalHeader> |
getJournalHeadersForUserAfterDate(String userId,
Date startDate,
int nbReturned)
getJournalHeadersForUserAfterDate() returns the journalHeaders for user represented by the userId for which start date after given date |
List<SocialInformationEvent> |
getLastEventsForMyContacts(String day,
String myId,
List<String> myContactsIds,
Date begin,
Date end)
get Last Social Events for a given list of my Contacts returns the next events (SocialInformationEvent). |
List<SocialInformationEvent> |
getMyLastEvents(String day,
String myId,
Date begin,
Date end)
get the my last Events of information and number of Item and the first Index includes all kinds of events |
Collection<JournalHeader> |
getNextDaySchedulablesForUser(String day,
String userId,
String categoryId,
String participation)
getNextDaySchedulablesForUser() for a particular user returns the next events scheduled. |
List<SocialInformationEvent> |
getNextEventsForMyContacts(String day,
String myId,
List<String> myContactsIds,
Date begin,
Date end)
get Next Social Events for a given list of my Contacts returns the next events (SocialInformationEvent). |
List<JournalHeader> |
getNextEventsForUser(String day,
String userId,
String classification,
Date begin,
Date end)
getNextEventForUser for a particular user returns the next events scheduled. |
Collection<ToDoHeader> |
getNotCompletedToDosForUser(String userId)
|
Collection<ToDoHeader> |
getOrganizerToDos(String organizerId)
|
Collection<JournalHeader> |
getPeriodSchedulablesForUser(String begin,
String end,
String userId,
String categoryId,
String participation)
getPeriodSchedulablesForUser() for a particular user returns all the events scheduled during a particular period. |
Collection<JournalHeader> |
getTentativeSchedulablesForUser(String userId)
|
Collection<Attendee> |
getToDoAttendees(String todoId)
|
ToDoHeader |
getToDoHeader(String todoId)
getToDoHeader() returns the ToDoHeader represented by the todoId |
boolean |
hasTentativeSchedulablesForUser(String userId)
methods for tentative schedules (not yet accepted or declined events) |
void |
indexAllJournal()
|
void |
indexAllTodo()
|
boolean |
isHolidayDate(HolidayDetail date)
|
void |
removeHolidayDate(HolidayDetail holiday)
|
void |
removeHolidayDates(List<HolidayDetail> holidayDates)
|
void |
removeJournal(String journalId)
removeJournal() remove the journal entry specified by the id |
void |
removeJournalAttendee(String journalId,
Attendee attendee)
|
void |
removeJournalCategory(String journalId,
String categoryId)
|
void |
removeToDo(String id)
removeToDo() remove the todo entry specified by the id |
void |
removeToDoAttendee(String todoId,
Attendee attendee)
|
void |
removeToDoByInstanceId(String instanceId)
removeToDoByInstanceId remove all todo of the specified instance |
void |
setJournalAttendees(String journalId,
String[] userIds)
|
void |
setJournalCategories(String journalId,
String[] categoryIds)
|
void |
setJournalParticipationStatus(String journalId,
String userId,
String participation)
|
void |
setToDoAttendees(String todoId,
String[] userIds)
|
void |
updateJournal(JournalHeader journal)
updateJournal() update the journal entry, specified by the id, in the database |
void |
updateToDo(ToDoHeader todo)
updateToDo() update the todo entry, specified by the id, in the database |
Method Detail |
---|
Collection<JournalHeader> getDaySchedulablesForUser(String day, String userId, String categoryId, String participation)
Collection<JournalHeader> getNextDaySchedulablesForUser(String day, String userId, String categoryId, String participation)
List<JournalHeader> getNextEventsForUser(String day, String userId, String classification, Date begin, Date end)
List<SocialInformationEvent> getNextEventsForMyContacts(String day, String myId, List<String> myContactsIds, Date begin, Date end)
List<SocialInformationEvent> getLastEventsForMyContacts(String day, String myId, List<String> myContactsIds, Date begin, Date end)
List<SocialInformationEvent> getMyLastEvents(String day, String myId, Date begin, Date end)
:String
- day,String myId , int numberOfElement, int firstIndexCollection<JournalHeader> getPeriodSchedulablesForUser(String begin, String end, String userId, String categoryId, String participation)
Collection<SchedulableCount> countMonthSchedulablesForUser(String month, String userId, String categoryId, String participation)
boolean hasTentativeSchedulablesForUser(String userId)
Collection<JournalHeader> getTentativeSchedulablesForUser(String userId)
Collection<ToDoHeader> getNotCompletedToDosForUser(String userId)
List<String> getAllToDoForUser(String userId)
Collection<ToDoHeader> getOrganizerToDos(String organizerId)
Collection<ToDoHeader> getClosedToDos(String organizerId)
Collection<ToDoHeader> getExternalTodos(String spaceId, String componentId, String externalId)
String addJournal(JournalHeader journal)
String addToDo(ToDoHeader todo)
void updateJournal(JournalHeader journal)
void updateToDo(ToDoHeader todo)
void removeJournal(String journalId)
void removeToDo(String id)
void removeToDoByInstanceId(String instanceId)
JournalHeader getJournalHeader(String journalId)
Collection<JournalHeader> getExternalJournalHeadersForUser(String userId)
Collection<JournalHeader> getExternalJournalHeadersForUserAfterDate(String userId, Date startDate)
Collection<JournalHeader> getJournalHeadersForUserAfterDate(String userId, Date startDate, int nbReturned)
ToDoHeader getToDoHeader(String todoId)
void addJournalAttendee(String journalId, Attendee attendee)
void removeJournalAttendee(String journalId, Attendee attendee)
Collection<Attendee> getJournalAttendees(String journalId)
void setJournalAttendees(String journalId, String[] userIds)
void setJournalParticipationStatus(String journalId, String userId, String participation)
void addToDoAttendee(String todoId, Attendee attendee)
void removeToDoAttendee(String todoId, Attendee attendee)
Collection<Attendee> getToDoAttendees(String todoId)
void setToDoAttendees(String todoId, String[] userIds)
Collection<Category> getAllCategories()
Category getCategory(String categoryId)
Collection<Category> getJournalCategories(String journalId)
void addJournalCategory(String journalId, String categoryId)
void removeJournalCategory(String journalId, String categoryId)
void setJournalCategories(String journalId, String[] categoryIds)
void indexAllTodo()
void indexAllJournal()
boolean isHolidayDate(HolidayDetail date)
List<String> getHolidayDates(String userId)
List<String> getHolidayDates(String userId, Date beginDate, Date endDate)
void addHolidayDate(HolidayDetail holiday)
void addHolidayDates(List<HolidayDetail> holidayDates)
void removeHolidayDate(HolidayDetail holiday)
void removeHolidayDates(List<HolidayDetail> holidayDates)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |