@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface BackgroundTaskService
extends com.liferay.portal.kernel.service.BaseService
BackgroundTaskServiceUtil
Modifier and Type | Method and Description |
---|---|
int |
getBackgroundTasksCount(long groupId,
java.lang.String taskExecutorClassName,
boolean completed)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
int |
getBackgroundTasksCount(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName) |
java.lang.String |
getBackgroundTaskStatusJSON(long backgroundTaskId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
@Transactional(propagation=SUPPORTS, readOnly=true) int getBackgroundTasksCount(long groupId, java.lang.String taskExecutorClassName, boolean completed)
BackgroundTaskServiceUtil
to access the background task remote service. Add custom service methods to com.liferay.portal.background.task.service.impl.BackgroundTaskServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.@Transactional(propagation=SUPPORTS, readOnly=true) int getBackgroundTasksCount(long groupId, java.lang.String name, java.lang.String taskExecutorClassName)
@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId)
java.lang.String getOSGiServiceIdentifier()