Class BackgroundTaskServiceUtil

java.lang.Object
com.liferay.portal.background.task.service.BackgroundTaskServiceUtil

public class BackgroundTaskServiceUtil extends Object
Provides the remote service utility for BackgroundTask. This utility wraps com.liferay.portal.background.task.service.impl.BackgroundTaskServiceImpl 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 Details

    • BackgroundTaskServiceUtil

      public BackgroundTaskServiceUtil()
  • Method Details

    • getBackgroundTasksCount

      public static int getBackgroundTasksCount(long groupId, String taskExecutorClassName, boolean completed)
    • getBackgroundTasksCount

      public static int getBackgroundTasksCount(long groupId, String name, String taskExecutorClassName)
    • getBackgroundTaskStatusJSON

      public static String getBackgroundTaskStatusJSON(long backgroundTaskId)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getService

      public static BackgroundTaskService getService()