Package com.soffid.iam.service
Interface ScheduledTaskService
-
public interface ScheduledTaskService
Service ScheduledTaskService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScheduledTask
create(ScheduledTask task)
Operation createScheduledTaskHandler
create(ScheduledTaskHandler handler)
Operation createScheduledTask
findScheduledTaskByHandlerAndParams(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 listTasksScheduledTask
load(Long taskId)
Operation loadvoid
registerEndTask(ScheduledTask task)
Operation registerEndTaskvoid
registerStartTask(ScheduledTask task)
Operation registerStartTaskvoid
remove(ScheduledTask task)
Operation removevoid
remove(ScheduledTaskHandler handler)
Operation removevoid
startNow(ScheduledTask task)
Operation startNowScheduledTask
update(ScheduledTask task)
Operation updateScheduledTaskHandler
update(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
-
-