Class DefaultUserPushResultHandler

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.pushpull.SyncopePushResultHandler, org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PushTask,​org.apache.syncope.core.provisioning.api.pushpull.PushActions>, org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler
    Direct Known Subclasses:
    StreamUserPushResultHandler

    public class DefaultUserPushResultHandler
    extends AbstractPushResultHandler
    implements org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler
    • Constructor Detail

      • DefaultUserPushResultHandler

        public DefaultUserPushResultHandler()
    • 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.PushTask,​org.apache.syncope.core.provisioning.api.pushpull.PushActions>
      • 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.PushTask,​org.apache.syncope.core.provisioning.api.pushpull.PushActions>
      • provision

        protected void provision​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                                 Boolean enabled,
                                 org.apache.syncope.common.lib.to.ProvisioningReport result)
        Overrides:
        provision in class AbstractPushResultHandler
      • update

        protected void update​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                              Boolean enable,
                              org.identityconnectors.framework.common.objects.ConnectorObject beforeObj,
                              org.apache.syncope.common.lib.to.ProvisioningReport result)
        Overrides:
        update in class AbstractPushResultHandler
      • deprovision

        protected void deprovision​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                                   org.identityconnectors.framework.common.objects.ConnectorObject beforeObj,
                                   org.apache.syncope.common.lib.to.ProvisioningReport result)
        Overrides:
        deprovision in class AbstractPushResultHandler
      • 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.PushTask,​org.apache.syncope.core.provisioning.api.pushpull.PushActions>
      • handle

        @Transactional(propagation=REQUIRES_NEW)
        public boolean handle​(org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                              org.apache.syncope.common.lib.to.Provision provision)
        Specified by:
        handle in interface org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler
      • doHandle

        protected void doHandle​(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
      • provision

        protected void provision​(org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                                 Boolean enable,
                                 org.apache.syncope.common.lib.to.ProvisioningReport result)
      • update

        protected void update​(org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account,
                              Boolean enable,
                              org.identityconnectors.framework.common.objects.ConnectorObject beforeObj,
                              org.apache.syncope.common.lib.types.ResourceOperation operation,
                              org.apache.syncope.common.lib.to.ProvisioningReport result)