Package com.soffid.iam.service
Interface ScheduledTaskService
-
public interface ScheduledTaskServiceService ScheduledTaskService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledTaskcreate(ScheduledTask task)Operation createScheduledTaskHandlercreate(ScheduledTaskHandler handler)Operation createScheduledTaskfindScheduledTaskByHandlerAndParams(String handler, String params)Operation findScheduledTaskByHandlerAndParams Finds a scheduled task by handler and paramsList<ScheduledTaskHandler>listHandlers()Operation listHandlersList<ScheduledTask>listServerTasks(String server)Operation listServerTasksList<ScheduledTask>listTasks()Operation listTasksScheduledTaskload(Long taskId)Operation loadvoidregisterEndTask(ScheduledTask task)Operation registerEndTaskvoidregisterStartTask(ScheduledTask task)Operation registerStartTaskvoidremove(ScheduledTask task)Operation removevoidremove(ScheduledTaskHandler handler)Operation removevoidstartNow(ScheduledTask task)Operation startNowScheduledTaskupdate(ScheduledTask task)Operation updateScheduledTaskHandlerupdate(ScheduledTaskHandler handler)Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
ScheduledTask create(ScheduledTask task) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
task-- Returns:
- Throws:
InternalErrorException
-
findScheduledTaskByHandlerAndParams
ScheduledTask findScheduledTaskByHandlerAndParams(String handler, String params) throws InternalErrorException
Operation findScheduledTaskByHandlerAndParams Finds a scheduled task by handler and params- Parameters:
handler-params-- Returns:
- Throws:
InternalErrorException
-
load
ScheduledTask load(Long taskId) throws InternalErrorException
Operation load- Parameters:
taskId-- Returns:
- Throws:
InternalErrorException
-
update
ScheduledTask update(ScheduledTask task) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
task-- Returns:
- Throws:
InternalErrorException
-
create
ScheduledTaskHandler create(ScheduledTaskHandler handler) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
handler-- Returns:
- Throws:
InternalErrorException
-
update
ScheduledTaskHandler update(ScheduledTaskHandler handler) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
handler-- Returns:
- Throws:
InternalErrorException
-
listHandlers
List<ScheduledTaskHandler> listHandlers() throws InternalErrorException, InternalErrorException
Operation listHandlers- Returns:
- Throws:
InternalErrorException
-
listServerTasks
List<ScheduledTask> listServerTasks(String server) throws InternalErrorException, InternalErrorException
Operation listServerTasks- Parameters:
server-- Returns:
- Throws:
InternalErrorException
-
listTasks
List<ScheduledTask> listTasks() throws InternalErrorException, InternalErrorException
Operation listTasks- Returns:
- Throws:
InternalErrorException
-
registerEndTask
void registerEndTask(ScheduledTask task) throws InternalErrorException, InternalErrorException
Operation registerEndTask- Parameters:
task-- Throws:
InternalErrorException
-
registerStartTask
void registerStartTask(ScheduledTask task) throws InternalErrorException, InternalErrorException
Operation registerStartTask- Parameters:
task-- Throws:
InternalErrorException
-
remove
void remove(ScheduledTask task) throws InternalErrorException, InternalErrorException
Operation remove- Parameters:
task-- Throws:
InternalErrorException
-
remove
void remove(ScheduledTaskHandler handler) throws InternalErrorException, InternalErrorException
Operation remove- Parameters:
handler-- Throws:
InternalErrorException
-
startNow
void startNow(ScheduledTask task) throws InternalErrorException
Operation startNow- Parameters:
task-- Throws:
InternalErrorException
-
-