public interface AgendaService
Modifier and Type | Method and Description |
---|---|
DocumentModel |
createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
DocumentModelList |
listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd)
List user readable agendum between both date
|
DocumentModelList |
listEvents(CoreSession session,
String path,
int limit)
List incoming user readable agendum with a limit
|
DocumentModelList listEvents(CoreSession session, String path, Date dtStart, Date dtEnd)
path
- dtStart
- the start datedtEnd
- the end date (included)DocumentModelList listEvents(CoreSession session, String path, int limit)
path
- limit
- the number of events returned must be greater than 0 otherwise NuxeoException is thrownDocumentModel createEvent(CoreSession session, String path, Map<String,Serializable> properties)
sesion
- CoreSession used to create the new docpath
- base path, if it is blank or "/"; the new event will be created into the UserWorkspaceproperties
- corresponding metadataCopyright © 2018 Nuxeo. All rights reserved.