public abstract class AbstractInteractikCalendarEventCommand extends Object implements fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand
INuxeoCommand| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext
Application context.
|
protected DateFormat |
dateFormat
Date format.
|
| Constructor and Description |
|---|
AbstractInteractikCalendarEventCommand()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
protected org.nuxeo.ecm.automation.client.model.PropertyMap |
getProperties(InteractikCalendarEventEditionForm form)
Get Nuxeo document properties.
|
protected void |
setAttachments(org.nuxeo.ecm.automation.client.adapters.DocumentService documentService,
org.nuxeo.ecm.automation.client.model.Document document,
InteractikCalendarEventEditionForm form)
Set attachments.
|
void |
setVisual(org.nuxeo.ecm.automation.client.adapters.DocumentService documentService,
org.nuxeo.ecm.automation.client.model.Document document,
Image visual)
Parse formatted date.
|
protected final DateFormat dateFormat
@Autowired protected org.springframework.context.ApplicationContext applicationContext
public AbstractInteractikCalendarEventCommand()
public String getId()
getId in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandprotected org.nuxeo.ecm.automation.client.model.PropertyMap getProperties(InteractikCalendarEventEditionForm form) throws ParseException
form - calendar event edition formParseExceptionprotected void setAttachments(org.nuxeo.ecm.automation.client.adapters.DocumentService documentService,
org.nuxeo.ecm.automation.client.model.Document document,
InteractikCalendarEventEditionForm form)
throws Exception
documentService - Nuxeo document servicedocument - Nuxeo documentattachments - attachmentsExceptionpublic void setVisual(org.nuxeo.ecm.automation.client.adapters.DocumentService documentService,
org.nuxeo.ecm.automation.client.model.Document document,
Image visual)
throws org.osivia.portal.core.cms.CMSException
date - formatted dateorg.osivia.portal.core.cms.CMSExceptionParseExceptionCopyright © 2019. All rights reserved.