Interface SilverpeasCalendar

    • Method Detail

      • getDaySchedulablesForUser

        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. This includes all kinds of events
      • getNextDaySchedulablesForUser

        Collection<JournalHeader> getNextDaySchedulablesForUser​(String day,
                                                                String userId,
                                                                String categoryId,
                                                                String participation)
        getNextDaySchedulablesForUser() for a particular user returns the next events scheduled. This includes all kinds of events
      • getNextEventsForUser

        List<JournalHeader> getNextEventsForUser​(String day,
                                                 String userId,
                                                 String classification,
                                                 Date begin,
                                                 Date end)
        getNextEventForUser for a particular user returns the next events scheduled. This includes all kinds of events
      • getNextEventsForMyContacts

        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). This includes all kinds of events
      • getLastEventsForMyContacts

        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). This includes all kinds of events
      • getPeriodSchedulablesForUser

        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. This includes all kinds of events
      • countMonthSchedulablesForUser

        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
      • hasTentativeSchedulablesForUser

        boolean hasTentativeSchedulablesForUser​(String userId)
        methods for tentative schedules (not yet accepted or declined events)
      • addJournal

        String addJournal​(JournalHeader journal)
        addJournal() add a journal entry in the database
      • addToDo

        String addToDo​(ToDoHeader todo)
        addToDo() add a todo entry in the database
      • updateJournal

        void updateJournal​(JournalHeader journal)
        updateJournal() update the journal entry, specified by the id, in the database
      • updateToDo

        void updateToDo​(ToDoHeader todo)
        updateToDo() update the todo entry, specified by the id, in the database
      • removeJournal

        void removeJournal​(String journalId)
        removeJournal() remove the journal entry specified by the id
      • removeToDo

        void removeToDo​(String id)
        removeToDo() remove the todo entry specified by the id
      • removeToDoFromExternal

        void removeToDoFromExternal​(String spaceId,
                                    String componentId,
                                    String externalId)
      • removeAttendeeInToDoFromExternal

        void removeAttendeeInToDoFromExternal​(String componentId,
                                              String externalId,
                                              String userId)
      • getJournalHeader

        JournalHeader getJournalHeader​(String journalId)
        getJournalHeader() returns the journalHeader represented by the journalId
      • getExternalJournalHeadersForUser

        Collection<JournalHeader> getExternalJournalHeadersForUser​(String userId)
        getOutlookJournalHeadersForUser() returns the journalHeaders for user represented by the userId
      • getExternalJournalHeadersForUserAfterDate

        Collection<JournalHeader> getExternalJournalHeadersForUserAfterDate​(String userId,
                                                                            Date startDate)
        getExternalJournalHeadersForUserAfterDate() returns the journalHeaders for user represented by the userId for which start date after given date
      • getJournalHeadersForUserAfterDate

        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
      • getToDoHeader

        ToDoHeader getToDoHeader​(String todoId)
        getToDoHeader() returns the ToDoHeader represented by the todoId
      • addJournalAttendee

        void addJournalAttendee​(String journalId,
                                Attendee attendee)
        methods for attendees
      • removeJournalAttendee

        void removeJournalAttendee​(String journalId,
                                   Attendee attendee)
      • setJournalAttendees

        void setJournalAttendees​(String journalId,
                                 String[] userIds)
      • setJournalParticipationStatus

        void setJournalParticipationStatus​(String journalId,
                                           String userId,
                                           String participation)
      • addToDoAttendee

        void addToDoAttendee​(String todoId,
                             Attendee attendee)
      • removeToDoAttendee

        void removeToDoAttendee​(String todoId,
                                Attendee attendee)
      • setToDoAttendees

        void setToDoAttendees​(String todoId,
                              String[] userIds)
      • addJournalCategory

        void addJournalCategory​(String journalId,
                                String categoryId)
      • removeJournalCategory

        void removeJournalCategory​(String journalId,
                                   String categoryId)
      • setJournalCategories

        void setJournalCategories​(String journalId,
                                  String[] categoryIds)
      • indexAllTodo

        void indexAllTodo()
      • indexAllJournal

        void indexAllJournal()
      • removeHolidayDate

        void removeHolidayDate​(HolidayDetail holiday)