Class AbstractPushResultHandler
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions>
-
- org.apache.syncope.core.provisioning.java.pushpull.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
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.syncope.core.provisioning.api.AuditManager
auditManager
Audit Manager.protected org.apache.syncope.core.provisioning.api.MappingManager
mappingManager
protected org.apache.syncope.core.provisioning.api.notification.NotificationManager
notificationManager
Notification Manager.protected OutboundMatcher
outboundMatcher
protected org.springframework.scheduling.quartz.SchedulerFactoryBean
scheduler
-
Fields inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler
anyObjectDataBinder, anyUtilsFactory, awfAdapter, groupDataBinder, gwfAdapter, LOG, profile, propagationManager, securityProperties, taskExecutor, userDataBinder, uwfAdapter
-
-
Constructor Summary
Constructors Constructor Description AbstractPushResultHandler()
-
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 class org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler
getAnyTO, getAnyUtils, getContext, setProfile, update
-
-
-
-
Field Detail
-
outboundMatcher
@Autowired protected OutboundMatcher outboundMatcher
-
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
-
-
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 interfaceorg.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)
-
-