Liferay 6.2-ce-ga5

com.liferay.portal.service
Interface BackgroundTaskService

All Superinterfaces:
BaseService
All Known Implementing Classes:
BackgroundTaskServiceBaseImpl, BackgroundTaskServiceImpl, 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, BackgroundTaskServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 int getBackgroundTasksCount(long groupId, String taskExecutorClassName, String completed)
           
 String getBackgroundTaskStatusJSON(long backgroundTaskId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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-ce-ga5