public class DispatchTriggerServiceUtil
extends java.lang.Object
com.liferay.dispatch.service.impl.DispatchTriggerServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.DispatchTriggerService
Constructor and Description |
---|
DispatchTriggerServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static DispatchTrigger |
addDispatchTrigger(long userId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties,
java.lang.String name) |
static void |
deleteDispatchTrigger(long dispatchTriggerId) |
static java.util.List<DispatchTrigger> |
getDispatchTriggers(int start,
int end) |
static int |
getDispatchTriggersCount() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static DispatchTriggerService |
getService() |
static DispatchTrigger |
updateDispatchTrigger(long dispatchTriggerId,
boolean active,
java.lang.String cronExpression,
DispatchTaskClusterMode dispatchTaskClusterMode,
int endDateMonth,
int endDateDay,
int endDateYear,
int endDateHour,
int endDateMinute,
boolean neverEnd,
boolean overlapAllowed,
int startDateMonth,
int startDateDay,
int startDateYear,
int startDateHour,
int startDateMinute) |
static DispatchTrigger |
updateDispatchTrigger(long dispatchTriggerId,
com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties,
java.lang.String name) |
public static DispatchTrigger addDispatchTrigger(long userId, java.lang.String dispatchTaskExecutorType, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteDispatchTrigger(long dispatchTriggerId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<DispatchTrigger> getDispatchTriggers(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getDispatchTriggersCount() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static DispatchTrigger updateDispatchTrigger(long dispatchTriggerId, boolean active, java.lang.String cronExpression, DispatchTaskClusterMode dispatchTaskClusterMode, int endDateMonth, int endDateDay, int endDateYear, int endDateHour, int endDateMinute, boolean neverEnd, boolean overlapAllowed, int startDateMonth, int startDateDay, int startDateYear, int startDateHour, int startDateMinute) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static DispatchTrigger updateDispatchTrigger(long dispatchTriggerId, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static DispatchTriggerService getService()