public class BackgroundTaskServiceUtil
extends java.lang.Object
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.BackgroundTaskService
Constructor and Description |
---|
BackgroundTaskServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getBackgroundTasksCount(long groupId,
java.lang.String taskExecutorClassName,
boolean completed) |
static int |
getBackgroundTasksCount(long groupId,
java.lang.String name,
java.lang.String taskExecutorClassName) |
static java.lang.String |
getBackgroundTaskStatusJSON(long backgroundTaskId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static BackgroundTaskService |
getService() |
public static int getBackgroundTasksCount(long groupId, java.lang.String taskExecutorClassName, boolean completed)
public static int getBackgroundTasksCount(long groupId, java.lang.String name, java.lang.String taskExecutorClassName)
public static java.lang.String getBackgroundTaskStatusJSON(long backgroundTaskId)
public static java.lang.String getOSGiServiceIdentifier()
public static BackgroundTaskService getService()