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