Package com.logicaldoc.calendar
Class CalendarManager
java.lang.Object
com.logicaldoc.calendar.CalendarManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeleteEvent(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.DocumentDAOvoidSaves an event into the calendar taking care of all the related operations like the creation of the occurrences in case of recurrent event
- 
Constructor Details- 
CalendarManagerpublic CalendarManager()
 
- 
- 
Method Details- 
getDocumentDAOpublic com.logicaldoc.core.document.DocumentDAO getDocumentDAO()
- 
getEventDAO
- 
saveEventpublic 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 occurrences in case of recurrent event- Parameters:
- event- the event to save
- transaction- the current transaction information
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
deleteEventpublic 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
 
 
-