public class CalendarAllDayEventDatesCorrectingPatch extends AbstractPatch
applicationEventPublisher, authenticationContext, ERR_PROPERTY_NOT_SET, namespaceService, nodeService, patchService, searchService, tenantAdminService, transactionHelper, transactionService| Constructor and Description |
|---|
CalendarAllDayEventDatesCorrectingPatch() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
applyInternal()
This method does the work.
|
static boolean |
isAllDay(CalendarEntry entry)
Does the given
CalendarEntry define an all-day
event?
An All Day Event is defined as one starting at midnight
on a day, and ending at midnight. |
void |
setBatchEnabled(boolean batchEnabled) |
void |
setBatchSize(int batchSize) |
void |
setCalendarService(CalendarService calendarService) |
void |
setSiteService(SiteService siteService) |
applies, apply, applyAsync, checkProperties, checkPropertyNotNull, getAlternatives, getDependsOn, getDescription, getFixesFromSchema, getFixesToSchema, getId, getTargetSchema, init, isDeferred, isForce, isIgnored, reportProgress, requiresTransaction, setAlternatives, setApplicationEventPublisher, setApplyToTenants, setAuthenticationContext, setDeferred, setDependsOn, setDescription, setFixesFromSchema, setFixesToSchema, setForce, setId, setIgnored, setNamespaceService, setNodeService, setPatchService, setRequiresTransaction, setSearchService, setTargetSchema, setTenantAdminService, setTransactionService, toStringpublic CalendarAllDayEventDatesCorrectingPatch()
public void setBatchSize(int batchSize)
public void setBatchEnabled(boolean batchEnabled)
public void setSiteService(SiteService siteService)
public void setCalendarService(CalendarService calendarService)
protected String applyInternal() throws Exception
AbstractPatchapplyInternal in class AbstractPatchException - anything can be thrown. This must be used for all failures.AbstractPatch.apply()public static boolean isAllDay(CalendarEntry entry)
CalendarEntry define an all-day
event?
An All Day Event is defined as one starting at midnight
on a day, and ending at midnight.
For a single day event, the start and end dates should be
the same, and the times for both are UTC midnight.
For a multi day event, the start and end times are UTC midnight,
for the first and last days respectively.Copyright © 2005–2018 Alfresco Software. All rights reserved.