@Service @Primary public class BackgroundTaskService extends AbstractBaseDomainObjectService<BackgroundTask,BackgroundTaskEntity> implements IBackgroundTaskService
domainObjectClass, entityClass
构造器和说明 |
---|
BackgroundTaskService() |
限定符和类型 | 方法和说明 |
---|---|
BackgroundTask |
getByTaskId(String taskId) |
int |
getCountOfProcessAndNew() |
protected IBaseEntityHandler<BackgroundTaskEntity> |
getEntityHandler() |
List<BackgroundTask> |
getLatestTask() |
List<BackgroundTask> |
getTasksByStatus(BackgroundTaskStatus status) |
List<BackgroundTask> |
getUnfinishedTasks() |
void |
stopBackgroundTask(BackgroundTask backgroundTask) |
countByFilter, createClientObject, createClientObject, createClientObjects, createClientObjects, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, getInternalEntities, getInternalEntity, getObjectType, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countByFilter, createFilter, delete, deleteById, deleteByIds, getByFilter, getById, getByIdAndEvict, list, list, listByFilter, listSimpleData, pagingByFilter, save, saveAll
public List<BackgroundTask> getUnfinishedTasks()
getUnfinishedTasks
在接口中 IBackgroundTaskService
public List<BackgroundTask> getTasksByStatus(BackgroundTaskStatus status)
getTasksByStatus
在接口中 IBackgroundTaskService
public void stopBackgroundTask(BackgroundTask backgroundTask)
stopBackgroundTask
在接口中 IBackgroundTaskService
public List<BackgroundTask> getLatestTask()
getLatestTask
在接口中 IBackgroundTaskService
public BackgroundTask getByTaskId(String taskId)
getByTaskId
在接口中 IBackgroundTaskService
public int getCountOfProcessAndNew()
protected IBaseEntityHandler<BackgroundTaskEntity> getEntityHandler()
Copyright © 2019. All rights reserved.