Class AbstractPushResultHandler

  • 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>
    Direct Known Subclasses:
    DefaultAnyObjectPushResultHandler, DefaultGroupPushResultHandler, DefaultUserPushResultHandler

    public abstract class AbstractPushResultHandler
    extends AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PushTask,​org.apache.syncope.core.provisioning.api.pushpull.PushActions>
    implements org.apache.syncope.core.provisioning.api.pushpull.SyncopePushResultHandler
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assign​(org.apache.syncope.core.persistence.api.entity.Any<?> any, Boolean enabled, org.apache.syncope.common.lib.to.ProvisioningReport result)  
      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)  
      protected void doHandle​(org.apache.syncope.core.persistence.api.entity.Any<?> any, org.apache.syncope.common.lib.to.Provision provision)  
      protected abstract String getName​(org.apache.syncope.core.persistence.api.entity.Any<?> any)  
      boolean handle​(String anyKey)  
      protected void link​(org.apache.syncope.core.persistence.api.entity.Any<?> any, boolean unlink, org.apache.syncope.common.lib.to.ProvisioningReport result)  
      protected void provision​(org.apache.syncope.core.persistence.api.entity.Any<?> any, Boolean enable, org.apache.syncope.common.lib.to.ProvisioningReport result)  
      protected static void reportPropagation​(org.apache.syncope.common.lib.to.ProvisioningReport result, org.apache.syncope.core.provisioning.api.propagation.PropagationReporter reporter)  
      protected static org.apache.syncope.common.lib.to.ProvisioningReport.Status toProvisioningReportStatus​(org.apache.syncope.common.lib.types.ExecStatus status)  
      protected static org.apache.syncope.common.lib.types.ResourceOperation toResourceOperation​(org.apache.syncope.common.lib.types.MatchingRule rule)  
      protected static org.apache.syncope.common.lib.types.ResourceOperation toResourceOperation​(org.apache.syncope.common.lib.types.UnmatchingRule rule)  
      protected void unassign​(org.apache.syncope.core.persistence.api.entity.Any<?> any, org.identityconnectors.framework.common.objects.ConnectorObject beforeObj, org.apache.syncope.common.lib.to.ProvisioningReport result)  
      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)  
      • Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler

        setProfile
    • Field Detail

      • notificationManager

        @Autowired
        protected org.apache.syncope.core.provisioning.api.notification.NotificationManager notificationManager
        Notification Manager.
      • auditManager

        @Autowired
        protected org.apache.syncope.core.provisioning.api.AuditManager auditManager
        Audit Manager.
      • mappingManager

        @Autowired
        protected org.apache.syncope.core.provisioning.api.MappingManager mappingManager
      • scheduler

        @Autowired
        protected org.springframework.scheduling.quartz.SchedulerFactoryBean scheduler
    • Constructor Detail

      • AbstractPushResultHandler

        public AbstractPushResultHandler()
    • Method Detail

      • getName

        protected abstract String getName​(org.apache.syncope.core.persistence.api.entity.Any<?> any)
      • 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)
      • 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)
      • provision

        protected void provision​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                                 Boolean enable,
                                 org.apache.syncope.common.lib.to.ProvisioningReport result)
      • link

        protected void link​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                            boolean unlink,
                            org.apache.syncope.common.lib.to.ProvisioningReport result)
      • unassign

        protected void unassign​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                                org.identityconnectors.framework.common.objects.ConnectorObject beforeObj,
                                org.apache.syncope.common.lib.to.ProvisioningReport result)
      • assign

        protected void assign​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                              Boolean enabled,
                              org.apache.syncope.common.lib.to.ProvisioningReport result)
      • handle

        @Transactional(propagation=REQUIRES_NEW)
        public boolean handle​(String anyKey)
        Specified by:
        handle in interface org.apache.syncope.core.provisioning.api.pushpull.SyncopePushResultHandler
      • doHandle

        protected void doHandle​(org.apache.syncope.core.persistence.api.entity.Any<?> any,
                                org.apache.syncope.common.lib.to.Provision provision)
                         throws org.quartz.JobExecutionException
        Throws:
        org.quartz.JobExecutionException
      • reportPropagation

        protected static void reportPropagation​(org.apache.syncope.common.lib.to.ProvisioningReport result,
                                                org.apache.syncope.core.provisioning.api.propagation.PropagationReporter reporter)
      • toResourceOperation

        protected static org.apache.syncope.common.lib.types.ResourceOperation toResourceOperation​(org.apache.syncope.common.lib.types.UnmatchingRule rule)
      • toResourceOperation

        protected static org.apache.syncope.common.lib.types.ResourceOperation toResourceOperation​(org.apache.syncope.common.lib.types.MatchingRule rule)
      • toProvisioningReportStatus

        protected static org.apache.syncope.common.lib.to.ProvisioningReport.Status toProvisioningReportStatus​(org.apache.syncope.common.lib.types.ExecStatus status)