Class TaskDataBinderImpl
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.data.AbstractExecutableDatabinder
-
- org.apache.syncope.core.provisioning.java.data.TaskDataBinderImpl
-
- All Implemented Interfaces:
TaskDataBinder
public class TaskDataBinderImpl extends AbstractExecutableDatabinder implements TaskDataBinder
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeDAO
anyTypeDAO
protected EntityFactory
entityFactory
protected ImplementationDAO
implementationDAO
protected static Logger
LOG
protected Map<String,MacroActions>
perContextMacroActions
protected RealmDAO
realmDAO
protected ExternalResourceDAO
resourceDAO
protected SchedulerFactoryBean
scheduler
protected TaskExecDAO
taskExecDAO
protected TaskUtilsFactory
taskUtilsFactory
-
Constructor Summary
Constructors Constructor Description TaskDataBinderImpl(RealmDAO realmDAO, ExternalResourceDAO resourceDAO, TaskExecDAO taskExecDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, EntityFactory entityFactory, SchedulerFactoryBean scheduler, TaskUtilsFactory taskUtilsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
buildRefDesc(Task<?> task)
SchedTask
createSchedTask(SchedTaskTO taskTO, TaskUtils taskUtils)
protected void
fill(SchedTaskTO schedTaskTO, SchedTask schedTask)
protected void
fill(MacroTask macroTask, MacroTaskTO macroTaskTO)
protected void
fill(ProvisioningTask<?> provisioningTask, ProvisioningTaskTO provisioningTaskTO)
ExecTO
getExecTO(TaskExec<?> execution)
SyncopeForm
getMacroTaskForm(MacroTask task, Locale locale)
<T extends TaskTO>
TgetTaskTO(Task<?> task, TaskUtils taskUtils, boolean details)
void
updateSchedTask(SchedTask task, SchedTaskTO taskTO, TaskUtils taskUtils)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.data.AbstractExecutableDatabinder
toOffsetDateTime
-
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
realmDAO
protected final RealmDAO realmDAO
-
resourceDAO
protected final ExternalResourceDAO resourceDAO
-
taskExecDAO
protected final TaskExecDAO taskExecDAO
-
anyTypeDAO
protected final AnyTypeDAO anyTypeDAO
-
implementationDAO
protected final ImplementationDAO implementationDAO
-
entityFactory
protected final EntityFactory entityFactory
-
scheduler
protected final SchedulerFactoryBean scheduler
-
taskUtilsFactory
protected final TaskUtilsFactory taskUtilsFactory
-
perContextMacroActions
protected final Map<String,MacroActions> perContextMacroActions
-
-
Constructor Detail
-
TaskDataBinderImpl
public TaskDataBinderImpl(RealmDAO realmDAO, ExternalResourceDAO resourceDAO, TaskExecDAO taskExecDAO, AnyTypeDAO anyTypeDAO, ImplementationDAO implementationDAO, EntityFactory entityFactory, SchedulerFactoryBean scheduler, TaskUtilsFactory taskUtilsFactory)
-
-
Method Detail
-
fill
protected void fill(ProvisioningTask<?> provisioningTask, ProvisioningTaskTO provisioningTaskTO)
-
fill
protected void fill(MacroTask macroTask, MacroTaskTO macroTaskTO)
-
createSchedTask
public SchedTask createSchedTask(SchedTaskTO taskTO, TaskUtils taskUtils)
- Specified by:
createSchedTask
in interfaceTaskDataBinder
-
updateSchedTask
public void updateSchedTask(SchedTask task, SchedTaskTO taskTO, TaskUtils taskUtils)
- Specified by:
updateSchedTask
in interfaceTaskDataBinder
-
buildRefDesc
public String buildRefDesc(Task<?> task)
- Specified by:
buildRefDesc
in interfaceTaskDataBinder
-
getExecTO
public ExecTO getExecTO(TaskExec<?> execution)
- Specified by:
getExecTO
in interfaceTaskDataBinder
-
fill
protected void fill(SchedTaskTO schedTaskTO, SchedTask schedTask)
-
getTaskTO
public <T extends TaskTO> T getTaskTO(Task<?> task, TaskUtils taskUtils, boolean details)
- Specified by:
getTaskTO
in interfaceTaskDataBinder
-
getMacroTaskForm
public SyncopeForm getMacroTaskForm(MacroTask task, Locale locale)
- Specified by:
getMacroTaskForm
in interfaceTaskDataBinder
-
-