@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface DispatchTriggerService
extends com.liferay.portal.kernel.service.BaseService
DispatchTriggerServiceUtil
Modifier and Type | Method and Description |
---|---|
DispatchTrigger |
addDispatchTrigger(java.lang.String externalReferenceCode,
long userId,
java.lang.String dispatchTaskExecutorType,
com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties,
java.lang.String name) |
void |
deleteDispatchTrigger(long dispatchTriggerId) |
DispatchTrigger |
getDispatchTrigger(long dispatchTriggerId) |
java.util.List<DispatchTrigger> |
getDispatchTriggers(int start,
int end) |
int |
getDispatchTriggersCount() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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,
java.lang.String timeZoneId) |
DispatchTrigger |
updateDispatchTrigger(long dispatchTriggerId,
com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties,
java.lang.String name) |
DispatchTrigger addDispatchTrigger(java.lang.String externalReferenceCode, 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
void deleteDispatchTrigger(long dispatchTriggerId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) DispatchTrigger getDispatchTrigger(long dispatchTriggerId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<DispatchTrigger> getDispatchTriggers(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getDispatchTriggersCount() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
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, java.lang.String timeZoneId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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