Interface BackgroundTaskService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
BackgroundTaskServiceWrapper

@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
Provides the remote service interface for BackgroundTask. 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:
  • Method Details

    • getBackgroundTasksCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getBackgroundTasksCount(long groupId, String taskExecutorClassName, boolean completed)
    • getBackgroundTasksCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getBackgroundTasksCount(long groupId, String name, String taskExecutorClassName)
    • getBackgroundTaskStatusJSON

      @Transactional(propagation=SUPPORTS, readOnly=true) String getBackgroundTaskStatusJSON(long backgroundTaskId)
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier