Class BackgroundTaskServiceUtil
java.lang.Object
com.liferay.portal.background.task.service.BackgroundTaskServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetBackgroundTasksCount(long groupId, String taskExecutorClassName, boolean completed) static intgetBackgroundTasksCount(long groupId, String name, String taskExecutorClassName) static StringgetBackgroundTaskStatusJSON(long backgroundTaskId) static StringReturns the OSGi service identifier.static BackgroundTaskService
-
Constructor Details
-
BackgroundTaskServiceUtil
public BackgroundTaskServiceUtil()
-
-
Method Details
-
getBackgroundTasksCount
public static int getBackgroundTasksCount(long groupId, String taskExecutorClassName, boolean completed) -
getBackgroundTasksCount
-
getBackgroundTaskStatusJSON
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getService
-