Class DefaultUserPullResultHandler

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.pushpull.SyncopePullResultHandler, org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,​org.apache.syncope.core.provisioning.api.pushpull.PullActions>, org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler, org.identityconnectors.framework.common.objects.SyncResultsHandler

    public class DefaultUserPullResultHandler
    extends AbstractPullResultHandler
    implements org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler
    • Constructor Detail

      • DefaultUserPullResultHandler

        public DefaultUserPullResultHandler()
    • Method Detail

      • getAnyUtils

        protected org.apache.syncope.core.persistence.api.entity.AnyUtils getAnyUtils()
        Specified by:
        getAnyUtils in class AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,​org.apache.syncope.core.provisioning.api.pushpull.PullActions>
      • getAnyTO

        protected org.apache.syncope.common.lib.to.AnyTO getAnyTO​(org.apache.syncope.core.persistence.api.entity.Any<?> any)
        Specified by:
        getAnyTO in class AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,​org.apache.syncope.core.provisioning.api.pushpull.PullActions>
      • update

        protected org.apache.syncope.core.provisioning.api.WorkflowResult<? extends org.apache.syncope.common.lib.request.AnyUR> update​(org.apache.syncope.common.lib.request.AnyUR req)
        Specified by:
        update in class AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,​org.apache.syncope.core.provisioning.api.pushpull.PullActions>
      • enabled

        protected Boolean enabled​(org.identityconnectors.framework.common.objects.SyncDelta delta)
      • doCreate

        protected org.apache.syncope.common.lib.to.AnyTO doCreate​(org.apache.syncope.common.lib.request.AnyCR anyCR,
                                                                  org.identityconnectors.framework.common.objects.SyncDelta delta)
        Specified by:
        doCreate in class AbstractPullResultHandler
      • doUpdate

        protected org.apache.syncope.common.lib.request.AnyUR doUpdate​(org.apache.syncope.common.lib.to.AnyTO before,
                                                                       org.apache.syncope.common.lib.request.AnyUR req,
                                                                       org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                       org.apache.syncope.common.lib.to.ProvisioningReport result)
        Specified by:
        doUpdate in class AbstractPullResultHandler
      • handleLinkedAccounts

        protected void handleLinkedAccounts​(org.identityconnectors.framework.common.objects.SyncDelta delta,
                                            List<org.apache.syncope.core.persistence.api.dao.PullMatch> matches,
                                            org.apache.syncope.common.lib.to.Provision provision)
                                     throws org.quartz.JobExecutionException
        Overrides:
        handleLinkedAccounts in class AbstractPullResultHandler
        Throws:
        org.quartz.JobExecutionException
      • deprovision

        protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> deprovision​(org.apache.syncope.common.lib.types.MatchingRule matchingRule,
                                                                                            org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                                            org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account)
                                                                                     throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException
      • provision

        protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> provision​(org.apache.syncope.common.lib.types.UnmatchingRule rule,
                                                                                          org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                                          org.apache.syncope.core.persistence.api.entity.user.User user,
                                                                                          org.apache.syncope.common.lib.to.LinkedAccountTO accountTO,
                                                                                          org.apache.syncope.common.lib.to.Provision provision)
                                                                                   throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException
      • update

        protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> update​(org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                                       org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                                                                                       org.apache.syncope.common.lib.to.Provision provision)
                                                                                throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException
      • delete

        protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> delete​(org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                                       org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                                                                                       org.apache.syncope.common.lib.to.Provision provision)
                                                                                throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException
      • ignore

        protected org.apache.syncope.common.lib.to.ProvisioningReport ignore​(org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                             org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                                                                             boolean matching,
                                                                             String... message)
                                                                      throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException