Class CalendarManager

java.lang.Object
com.logicaldoc.calendar.CalendarManager

@Component("calendarManager") public class CalendarManager extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteEvent(Event event, com.logicaldoc.core.document.DocumentHistory transaction)
    Saves an event into the calendar taking care of all the related operations like the recording of documents histories
    com.logicaldoc.core.document.DocumentDAO
     
     
    void
    saveEvent(Event event, com.logicaldoc.core.document.DocumentHistory transaction)
    Saves an event into the calendar taking care of all the related operations like the creation of the occurrencies in case of recurrent event
    void
    setDocumentDAO(com.logicaldoc.core.document.DocumentDAO documentDAO)
     
    void
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CalendarManager

      public CalendarManager()
  • Method Details

    • getDocumentDAO

      public com.logicaldoc.core.document.DocumentDAO getDocumentDAO()
    • getEventDAO

      public EventDAO getEventDAO()
    • setDocumentDAO

      public void setDocumentDAO(com.logicaldoc.core.document.DocumentDAO documentDAO)
    • setEventDAO

      public void setEventDAO(EventDAO eventDAO)
    • saveEvent

      public void saveEvent(Event event, com.logicaldoc.core.document.DocumentHistory transaction) throws com.logicaldoc.core.PersistenceException
      Saves an event into the calendar taking care of all the related operations like the creation of the occurrencies in case of recurrent event
      Parameters:
      event - the event to save
      transaction - the current transacion information
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the data layer
    • deleteEvent

      public void deleteEvent(Event event, com.logicaldoc.core.document.DocumentHistory transaction) throws com.logicaldoc.core.PersistenceException
      Saves an event into the calendar taking care of all the related operations like the recording of documents histories
      Parameters:
      event - the event to save
      transaction - the current transacion information
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the data layer