Class PushJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask>
-
- org.apache.syncope.core.provisioning.java.pushpull.PushJobDelegate
-
- All Implemented Interfaces:
org.apache.syncope.core.provisioning.api.job.JobDelegate
,org.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate
- Direct Known Subclasses:
SinglePushJobDelegate
,StreamPushJobDelegate
public class PushJobDelegate extends AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory
anyUtilsFactory
protected Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,String>>
handled
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions>
profile
protected org.apache.syncope.core.persistence.api.dao.RealmDAO
realmDAO
protected org.apache.syncope.core.persistence.api.search.SearchCondVisitor
searchCondVisitor
protected org.apache.syncope.core.persistence.api.dao.AnySearchDAO
searchDAO
Search DAO.-
Fields inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate
anyTypeDAO, connectorManager, policyDAO, resourceDAO
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
auditManager, entityFactory, interrupt, interrupted, LOG, notificationManager, status, task, taskDAO, taskExecDAO
-
-
Constructor Summary
Constructors Constructor Description PushJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPushResultHandler
buildAnyObjectHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPushResultHandler
buildGroupHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPushResultHandler
buildRealmHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler
buildUserHandler()
String
currentStatus()
protected String
doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PushTask pushTask, org.apache.syncope.core.provisioning.api.Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context)
protected void
doHandle(List<? extends org.apache.syncope.core.persistence.api.entity.Any<?>> anys, org.apache.syncope.core.provisioning.api.pushpull.SyncopePushResultHandler handler, org.apache.syncope.core.persistence.api.entity.ExternalResource resource)
protected void
reportHandled(String anyType, String key)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate
createReport, doExecute, generate, getConnector, getTaskClassReference, hasToBeRegistered
-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
execute, interrupt, isInterrupted, register
-
-
-
-
Field Detail
-
searchDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.AnySearchDAO searchDAO
Search DAO.
-
realmDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO
-
anyUtilsFactory
@Autowired protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory anyUtilsFactory
-
searchCondVisitor
@Autowired protected org.apache.syncope.core.persistence.api.search.SearchCondVisitor searchCondVisitor
-
profile
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions> profile
-
-
Method Detail
-
currentStatus
public String currentStatus()
- Specified by:
currentStatus
in interfaceorg.apache.syncope.core.provisioning.api.job.JobDelegate
- Overrides:
currentStatus
in classAbstractSchedTaskJobDelegate
-
doHandle
protected void doHandle(List<? extends org.apache.syncope.core.persistence.api.entity.Any<?>> anys, org.apache.syncope.core.provisioning.api.pushpull.SyncopePushResultHandler handler, org.apache.syncope.core.persistence.api.entity.ExternalResource resource) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
buildRealmHandler
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPushResultHandler buildRealmHandler()
-
buildAnyObjectHandler
protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPushResultHandler buildAnyObjectHandler()
-
buildUserHandler
protected org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler buildUserHandler()
-
buildGroupHandler
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPushResultHandler buildGroupHandler()
-
doExecuteProvisioning
protected String doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PushTask pushTask, org.apache.syncope.core.provisioning.api.Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Specified by:
doExecuteProvisioning
in classAbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask>
- Throws:
org.quartz.JobExecutionException
-
-