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 AnyTypeDAOanyTypeDAOprotected EntityFactoryentityFactoryprotected ImplementationDAOimplementationDAOprotected static LoggerLOGprotected Map<String,MacroActions>perContextMacroActionsprotected RealmDAOrealmDAOprotected ExternalResourceDAOresourceDAOprotected SchedulerFactoryBeanschedulerprotected TaskExecDAOtaskExecDAOprotected TaskUtilsFactorytaskUtilsFactory
-
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 StringbuildRefDesc(Task<?> task)SchedTaskcreateSchedTask(SchedTaskTO taskTO, TaskUtils taskUtils)protected voidfill(SchedTaskTO schedTaskTO, SchedTask schedTask)protected voidfill(MacroTask macroTask, MacroTaskTO macroTaskTO)protected voidfill(ProvisioningTask<?> provisioningTask, ProvisioningTaskTO provisioningTaskTO)ExecTOgetExecTO(TaskExec<?> execution)SyncopeFormgetMacroTaskForm(MacroTask task, Locale locale)<T extends TaskTO>
TgetTaskTO(Task<?> task, TaskUtils taskUtils, boolean details)voidupdateSchedTask(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:
createSchedTaskin interfaceTaskDataBinder
-
updateSchedTask
public void updateSchedTask(SchedTask task, SchedTaskTO taskTO, TaskUtils taskUtils)
- Specified by:
updateSchedTaskin interfaceTaskDataBinder
-
buildRefDesc
public String buildRefDesc(Task<?> task)
- Specified by:
buildRefDescin interfaceTaskDataBinder
-
getExecTO
public ExecTO getExecTO(TaskExec<?> execution)
- Specified by:
getExecTOin interfaceTaskDataBinder
-
fill
protected void fill(SchedTaskTO schedTaskTO, SchedTask schedTask)
-
getTaskTO
public <T extends TaskTO> T getTaskTO(Task<?> task, TaskUtils taskUtils, boolean details)
- Specified by:
getTaskTOin interfaceTaskDataBinder
-
getMacroTaskForm
public SyncopeForm getMacroTaskForm(MacroTask task, Locale locale)
- Specified by:
getMacroTaskFormin interfaceTaskDataBinder
-
-