Package com.liferay.dispatch.service
Class DispatchTriggerServiceUtil
java.lang.Object
com.liferay.dispatch.service.DispatchTriggerServiceUtil
Provides the remote service utility for DispatchTrigger. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DispatchTriggeraddDispatchTrigger(String externalReferenceCode, long userId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, String name) static voiddeleteDispatchTrigger(long dispatchTriggerId) static DispatchTriggergetDispatchTrigger(long dispatchTriggerId) static List<DispatchTrigger> getDispatchTriggers(int start, int end) static intstatic StringReturns the OSGi service identifier.static DispatchTriggerServicestatic DispatchTriggerupdateDispatchTrigger(long dispatchTriggerId, boolean active, 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, String timeZoneId) static DispatchTriggerupdateDispatchTrigger(long dispatchTriggerId, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, String name)
-
Constructor Details
-
DispatchTriggerServiceUtil
public DispatchTriggerServiceUtil()
-
-
Method Details
-
addDispatchTrigger
public static DispatchTrigger addDispatchTrigger(String externalReferenceCode, long userId, String dispatchTaskExecutorType, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteDispatchTrigger
public static void deleteDispatchTrigger(long dispatchTriggerId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDispatchTrigger
public static DispatchTrigger getDispatchTrigger(long dispatchTriggerId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDispatchTriggers
public static List<DispatchTrigger> getDispatchTriggers(int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDispatchTriggersCount
public static int getDispatchTriggersCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateDispatchTrigger
public static DispatchTrigger updateDispatchTrigger(long dispatchTriggerId, boolean active, 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, String timeZoneId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDispatchTrigger
public static DispatchTrigger updateDispatchTrigger(long dispatchTriggerId, com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-