Class PushJobDelegate

  • 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.SyncopePushExecutor
    Direct Known Subclasses:
    SinglePushJobDelegate, StreamPushJobDelegate

    public class PushJobDelegate
    extends AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask>
    implements org.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
    • Field Detail

      • searchDAO

        @Autowired
        protected org.apache.syncope.core.persistence.api.dao.AnySearchDAO searchDAO
      • 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
      • 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.PushActions> perContextActions
    • Constructor Detail

      • PushJobDelegate

        public PushJobDelegate()
    • Method Detail

      • reportHandled

        public void reportHandled​(String anyType,
                                  String key)
        Specified by:
        reportHandled in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
      • wasInterruptRequested

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

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

        protected boolean doHandle​(List<? extends org.apache.syncope.core.persistence.api.entity.Any<?>> anys,
                                   PushResultHandlerDispatcher dispatcher,
                                   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()
      • getPushActions

        protected List<org.apache.syncope.core.provisioning.api.pushpull.PushActions> getPushActions​(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
      • 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 class AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask>
        Throws:
        org.quartz.JobExecutionException