@Service(value="common-service") public class CalendarServiceImpl extends Object implements CalendarService
CalendarService| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext
Application context.
|
protected CalendarRepository |
repository
Repository.
|
protected static String |
TEMPORARY_FILE_SUFFIX
Temporary file suffix.
|
CREATION_PROPERTY| Constructor and Description |
|---|
CalendarServiceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CalendarColor |
getCalendarColor(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document calendar)
Get calendar color
|
CalendarEditionOptions |
getEditionOptions(org.osivia.portal.api.context.PortalControllerContext portalControllerContext)
Get calendar edition options.
|
CalendarOptions |
getOptions(org.osivia.portal.api.context.PortalControllerContext portalControllerContext)
Get calendar options.
|
protected String |
getPortletTitle(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
boolean creation)
Get portlet title.
|
protected static final String TEMPORARY_FILE_SUFFIX
@Autowired protected org.springframework.context.ApplicationContext applicationContext
@Autowired @Qualifier(value="common-repository") protected CalendarRepository repository
public CalendarOptions getOptions(org.osivia.portal.api.context.PortalControllerContext portalControllerContext) throws javax.portlet.PortletException
getOptions in interface CalendarServiceportalControllerContext - portal controller contextjavax.portlet.PortletExceptionpublic CalendarEditionOptions getEditionOptions(org.osivia.portal.api.context.PortalControllerContext portalControllerContext) throws javax.portlet.PortletException
getEditionOptions in interface CalendarServiceportalControllerContext - portal controller contextjavax.portlet.PortletExceptionpublic CalendarColor getCalendarColor(org.osivia.portal.api.context.PortalControllerContext portalControllerContext, org.nuxeo.ecm.automation.client.model.Document calendar) throws javax.portlet.PortletException
getCalendarColor in interface CalendarServicejavax.portlet.PortletExceptionprotected String getPortletTitle(org.osivia.portal.api.context.PortalControllerContext portalControllerContext, boolean creation) throws javax.portlet.PortletException
portalControllerContext - portal controller contextcreation - creation indicatorjavax.portlet.PortletExceptionCopyright © 2019 OSIVIA. All rights reserved.