public class AgendaComponent extends DefaultComponent implements AgendaService
| Modifier and Type | Field and Description | 
|---|---|
static String | 
SCHEDULABLE_TYPE  | 
static String | 
VEVENT_TYPE  | 
| Constructor and Description | 
|---|
AgendaComponent()  | 
| 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 
 | 
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic static final String VEVENT_TYPE
public static final String SCHEDULABLE_TYPE
public DocumentModelList listEvents(CoreSession session, String path, Date dtStart, Date dtEnd) throws ClientException
AgendaServicelistEvents in interface AgendaServicedtStart - the start datedtEnd - the end date (included)ClientExceptionpublic DocumentModelList listEvents(CoreSession session, String path, int limit) throws ClientException
AgendaServicelistEvents in interface AgendaServicelimit - the number of events returned must be greater than 0 otherwise ClientException is thrownClientExceptionpublic DocumentModel createEvent(CoreSession session, String path, Map<String,Serializable> properties) throws ClientException
AgendaServicecreateEvent in interface AgendaServicepath - base path, if it is blank or "/"; the new event will be created into the UserWorkspaceproperties - corresponding metadataClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.