@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) |
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)
@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()