Class PullJobDelegate

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.job.JobDelegate, org.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate, org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
    Direct Known Subclasses:
    SinglePullJobDelegate, StreamPullJobDelegate

    public class PullJobDelegate
    extends AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PullTask>
    implements org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
    • Field Detail

      • groupDAO

        @Autowired
        protected org.apache.syncope.core.persistence.api.dao.GroupDAO groupDAO
      • plainSchemaDAO

        @Autowired
        protected org.apache.syncope.core.persistence.api.dao.PlainSchemaDAO plainSchemaDAO
      • virSchemaDAO

        @Autowired
        protected org.apache.syncope.core.persistence.api.dao.VirSchemaDAO virSchemaDAO
      • anyUtilsFactory

        @Autowired
        protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory anyUtilsFactory
      • validator

        @Autowired
        protected org.apache.syncope.core.persistence.api.attrvalue.validation.PlainAttrValidationManager validator
      • latestSyncTokens

        protected final Map<String,​org.identityconnectors.framework.common.objects.SyncToken> latestSyncTokens
      • profile

        protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PullTask,​org.apache.syncope.core.provisioning.api.pushpull.PullActions> profile
      • handled

        protected final Map<String,​org.apache.commons.lang3.tuple.MutablePair<Integer,​String>> handled
      • perContextActions

        protected final Map<String,​org.apache.syncope.core.provisioning.api.pushpull.PullActions> perContextActions
      • perContextReconFilterBuilder

        protected Optional<org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder> perContextReconFilterBuilder
    • Constructor Detail

      • PullJobDelegate

        public PullJobDelegate()
    • Method Detail

      • setLatestSyncToken

        public void setLatestSyncToken​(String objectClass,
                                       org.identityconnectors.framework.common.objects.SyncToken latestSyncToken)
        Specified by:
        setLatestSyncToken in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
      • reportHandled

        public void reportHandled​(String objectClass,
                                  org.identityconnectors.framework.common.objects.Name name)
        Specified by:
        reportHandled in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
      • wasInterruptRequested

        public boolean wasInterruptRequested()
        Specified by:
        wasInterruptRequested in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
      • setInterrupted

        public void setInterrupted()
        Specified by:
        setInterrupted in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
      • setGroupOwners

        protected void setGroupOwners​(org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler ghandler)
      • getPullActions

        protected List<org.apache.syncope.core.provisioning.api.pushpull.PullActions> getPullActions​(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
      • getReconFilterBuilder

        protected org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder getReconFilterBuilder​(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask)
                                                                                                      throws ClassNotFoundException
        Throws:
        ClassNotFoundException
      • buildRealmHandler

        protected org.apache.syncope.core.provisioning.api.pushpull.RealmPullResultHandler buildRealmHandler()
      • buildAnyObjectHandler

        protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPullResultHandler buildAnyObjectHandler()
      • buildUserHandler

        protected org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler buildUserHandler()
      • buildGroupHandler

        protected org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler buildGroupHandler()
      • doExecuteProvisioning

        protected String doExecuteProvisioning​(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask,
                                               org.apache.syncope.core.provisioning.api.Connector connector,
                                               boolean dryRun,
                                               String executor,
                                               org.quartz.JobExecutionContext context)
                                        throws org.quartz.JobExecutionException
        Specified by:
        doExecuteProvisioning in class AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PullTask>
        Throws:
        org.quartz.JobExecutionException