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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.syncope.common.lib.types.AuditElements.Result 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)  
      protected org.apache.syncope.common.lib.types.AuditElements.Result 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)  
      protected org.apache.syncope.common.lib.to.AnyTO doCreate​(org.apache.syncope.common.lib.request.AnyCR anyCR, org.identityconnectors.framework.common.objects.SyncDelta delta)  
      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)  
      protected Boolean enabled​(org.identityconnectors.framework.common.objects.SyncDelta delta)  
      protected org.apache.syncope.common.lib.to.AnyTO getAnyTO​(org.apache.syncope.core.persistence.api.entity.Any<?> any)  
      protected org.apache.syncope.core.persistence.api.entity.AnyUtils getAnyUtils()  
      protected String getName​(org.apache.syncope.common.lib.request.AnyCR anyCR)  
      protected String getName​(org.apache.syncope.common.lib.to.AnyTO anyTO)  
      protected org.apache.syncope.core.provisioning.api.ProvisioningManager<?,​?> getProvisioningManager()  
      protected org.apache.syncope.common.lib.types.AuditElements.Result handleLinkedAccounts​(org.identityconnectors.framework.common.objects.SyncDelta delta, List<org.apache.syncope.core.provisioning.api.rules.PullMatch> matches, org.apache.syncope.common.lib.to.Provision provision)  
      protected org.apache.syncope.common.lib.types.AuditElements.Result ignore​(org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, boolean matching, String... message)  
      protected org.apache.syncope.common.lib.types.AuditElements.Result 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)  
      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)  
      protected org.apache.syncope.common.lib.types.AuditElements.Result 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)  
      • Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePullResultHandler

        handle
      • Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler

        setProfile
    • 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 org.apache.syncope.common.lib.types.AuditElements.Result handleLinkedAccounts​(org.identityconnectors.framework.common.objects.SyncDelta delta,
                                                                                                List<org.apache.syncope.core.provisioning.api.rules.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 org.apache.syncope.common.lib.types.AuditElements.Result 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 org.apache.syncope.common.lib.types.AuditElements.Result 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 org.apache.syncope.common.lib.types.AuditElements.Result 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 org.apache.syncope.common.lib.types.AuditElements.Result 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.types.AuditElements.Result 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