Package com.logicaldoc.calendar
Class CalendarManager
java.lang.Object
com.logicaldoc.calendar.CalendarManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 historiescom.logicaldoc.core.document.DocumentDAO
void
Saves an event into the calendar taking care of all the related operations like the creation of the occurrencies in case of recurrent eventvoid
setDocumentDAO
(com.logicaldoc.core.document.DocumentDAO documentDAO) void
setEventDAO
(EventDAO eventDAO)
-
Constructor Details
-
CalendarManager
public CalendarManager()
-
-
Method Details
-
getDocumentDAO
public com.logicaldoc.core.document.DocumentDAO getDocumentDAO() -
getEventDAO
-
setDocumentDAO
public void setDocumentDAO(com.logicaldoc.core.document.DocumentDAO documentDAO) -
setEventDAO
-
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 savetransaction
- 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 savetransaction
- the current transacion information- Throws:
com.logicaldoc.core.PersistenceException
- Error in the data layer
-