|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.calendar.control.CalendarEJB
public class CalendarEJB
| Constructor Summary | |
|---|---|
CalendarEJB()
|
|
| Method Summary | |
|---|---|
void |
addHolidayDate(HolidayDetail holiday)
|
void |
addHolidayDates(List<HolidayDetail> holidayDates)
|
String |
addJournal(JournalHeader journal)
methods for journal |
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)
Gestion du calendrier des jours non travailles / ******************************************************************************** |
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 . |
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 |
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 . |
List<JournalHeader> |
getNextEventsForUser(String day,
String userId,
String classification,
Date begin,
Date end)
Method for getting the next events of userId ,the result is limited |
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 unresponded messages |
void |
indexAllJournal()
methode de reindexation de tous les journeaux |
void |
indexAllTodo()
methode de reindexation de tous les todos |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarEJB()
| Method Detail |
|---|
public boolean hasTentativeSchedulablesForUser(String userId)
hasTentativeSchedulablesForUser in interface SilverpeasCalendaruserId -
public Collection<JournalHeader> getTentativeSchedulablesForUser(String userId)
getTentativeSchedulablesForUser in interface SilverpeasCalendarpublic Collection<ToDoHeader> getNotCompletedToDosForUser(String userId)
getNotCompletedToDosForUser in interface SilverpeasCalendaruserId -
public List<String> getAllToDoForUser(String userId)
getAllToDoForUser in interface SilverpeasCalendarpublic Collection<ToDoHeader> getOrganizerToDos(String organizerId)
getOrganizerToDos in interface SilverpeasCalendarpublic Collection<ToDoHeader> getClosedToDos(String organizerId)
getClosedToDos in interface SilverpeasCalendar
public Collection<ToDoHeader> getExternalTodos(String spaceId,
String componentId,
String externalId)
getExternalTodos in interface SilverpeasCalendarpublic ToDoHeader getToDoHeader(String todoId)
SilverpeasCalendar
getToDoHeader in interface SilverpeasCalendarpublic void updateToDo(ToDoHeader todo)
SilverpeasCalendar
updateToDo in interface SilverpeasCalendarpublic String addToDo(ToDoHeader todo)
SilverpeasCalendar
addToDo in interface SilverpeasCalendarpublic void removeToDo(String id)
SilverpeasCalendar
removeToDo in interface SilverpeasCalendarpublic void removeToDoByInstanceId(String instanceId)
SilverpeasCalendar
removeToDoByInstanceId in interface SilverpeasCalendar
public Collection<JournalHeader> getDaySchedulablesForUser(String day,
String userId,
String categoryId,
String participation)
SilverpeasCalendar
getDaySchedulablesForUser in interface SilverpeasCalendarday - userId - categoryId - participation -
public Collection<JournalHeader> getNextDaySchedulablesForUser(String day,
String userId,
String categoryId,
String participation)
SilverpeasCalendar
getNextDaySchedulablesForUser in interface SilverpeasCalendar
public Collection<JournalHeader> getPeriodSchedulablesForUser(String begin,
String end,
String userId,
String categoryId,
String participation)
SilverpeasCalendar
getPeriodSchedulablesForUser in interface SilverpeasCalendar
public Collection<SchedulableCount> countMonthSchedulablesForUser(String month,
String userId,
String categoryId,
String participation)
SilverpeasCalendar
countMonthSchedulablesForUser in interface SilverpeasCalendarpublic String addJournal(JournalHeader journal)
addJournal in interface SilverpeasCalendarpublic void updateJournal(JournalHeader journal)
SilverpeasCalendar
updateJournal in interface SilverpeasCalendarpublic void removeJournal(String journalId)
SilverpeasCalendar
removeJournal in interface SilverpeasCalendarpublic JournalHeader getJournalHeader(String journalId)
SilverpeasCalendar
getJournalHeader in interface SilverpeasCalendarpublic Collection<JournalHeader> getExternalJournalHeadersForUser(String userId)
SilverpeasCalendar
getExternalJournalHeadersForUser in interface SilverpeasCalendar
public Collection<JournalHeader> getExternalJournalHeadersForUserAfterDate(String userId,
Date startDate)
SilverpeasCalendar
getExternalJournalHeadersForUserAfterDate in interface SilverpeasCalendar
public Collection<JournalHeader> getJournalHeadersForUserAfterDate(String userId,
Date startDate,
int nbReturned)
SilverpeasCalendar
getJournalHeadersForUserAfterDate in interface SilverpeasCalendar
public void addJournalAttendee(String journalId,
Attendee attendee)
addJournalAttendee in interface SilverpeasCalendar
public void removeJournalAttendee(String journalId,
Attendee attendee)
removeJournalAttendee in interface SilverpeasCalendarpublic Collection<Attendee> getJournalAttendees(String journalId)
getJournalAttendees in interface SilverpeasCalendar
public void setJournalAttendees(String journalId,
String[] userIds)
setJournalAttendees in interface SilverpeasCalendar
public void setJournalParticipationStatus(String journalId,
String userId,
String participation)
setJournalParticipationStatus in interface SilverpeasCalendar
public void addToDoAttendee(String todoId,
Attendee attendee)
addToDoAttendee in interface SilverpeasCalendar
public void removeToDoAttendee(String todoId,
Attendee attendee)
removeToDoAttendee in interface SilverpeasCalendarpublic Collection<Attendee> getToDoAttendees(String todoId)
getToDoAttendees in interface SilverpeasCalendar
public void setToDoAttendees(String todoId,
String[] userIds)
setToDoAttendees in interface SilverpeasCalendarpublic Collection<Category> getAllCategories()
getAllCategories in interface SilverpeasCalendarpublic Category getCategory(String categoryId)
getCategory in interface SilverpeasCalendar
public void addJournalCategory(String journalId,
String categoryId)
addJournalCategory in interface SilverpeasCalendar
public void removeJournalCategory(String journalId,
String categoryId)
removeJournalCategory in interface SilverpeasCalendarpublic Collection<Category> getJournalCategories(String journalId)
getJournalCategories in interface SilverpeasCalendar
public void setJournalCategories(String journalId,
String[] categoryIds)
setJournalCategories in interface SilverpeasCalendarpublic void indexAllTodo()
indexAllTodo in interface SilverpeasCalendarpublic List<String> getHolidayDates(String userId)
getHolidayDates in interface SilverpeasCalendar
public List<String> getHolidayDates(String userId,
Date beginDate,
Date endDate)
getHolidayDates in interface SilverpeasCalendarpublic void addHolidayDate(HolidayDetail holiday)
addHolidayDate in interface SilverpeasCalendarpublic void addHolidayDates(List<HolidayDetail> holidayDates)
addHolidayDates in interface SilverpeasCalendarpublic void removeHolidayDate(HolidayDetail holiday)
removeHolidayDate in interface SilverpeasCalendarpublic void removeHolidayDates(List<HolidayDetail> holidayDates)
removeHolidayDates in interface SilverpeasCalendarpublic boolean isHolidayDate(HolidayDetail date)
isHolidayDate in interface SilverpeasCalendarpublic void indexAllJournal()
indexAllJournal in interface SilverpeasCalendar
public List<JournalHeader> getNextEventsForUser(String day,
String userId,
String classification,
Date begin,
Date end)
getNextEventsForUser in interface SilverpeasCalendarday - userId - classification - begin - end -
public List<SocialInformationEvent> getNextEventsForMyContacts(String day,
String myId,
List<String> myContactsIds,
Date begin,
Date end)
getNextEventsForMyContacts in interface SilverpeasCalendarday - myId - myContactsIds - begin - end -
public List<SocialInformationEvent> getLastEventsForMyContacts(String day,
String myId,
List<String> myContactsIds,
Date begin,
Date end)
getLastEventsForMyContacts in interface SilverpeasCalendarday - myId - myContactsIds - begin - end -
public List<SocialInformationEvent> getMyLastEvents(String day,
String myId,
Date begin,
Date end)
getMyLastEvents in interface SilverpeasCalendarday - myId - begin - end -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||