Liferay 6.2.0

com.liferay.portal.service
Interface BackgroundTaskService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BackgroundTaskServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface BackgroundTaskService
extends 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:
BackgroundTaskServiceUtil, BackgroundTaskServiceBaseImpl, com.liferay.portal.service.impl.BackgroundTaskServiceImpl

Method Summary
abstract  int getBackgroundTasksCount(long groupId, String taskExecutorClassName, String completed)
           
abstract  String getBackgroundTaskStatusJSON(long backgroundTaskId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

getBackgroundTasksCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getBackgroundTasksCount(long groupId,
                                                                     String taskExecutorClassName,
                                                                     String completed)
                            throws SystemException
Throws:
SystemException

getBackgroundTaskStatusJSON

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

Liferay 6.2.0