Class AbstractPushResultHandler
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler<PushTask,PushActions>
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractPushResultHandler
-
- All Implemented Interfaces:
SyncopePushResultHandler,SyncopeResultHandler<PushTask,PushActions>
- Direct Known Subclasses:
DefaultAnyObjectPushResultHandler,DefaultGroupPushResultHandler,DefaultUserPushResultHandler
public abstract class AbstractPushResultHandler extends AbstractSyncopeResultHandler<PushTask,PushActions> implements SyncopePushResultHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected AuditManagerauditManagerAudit Manager.protected MappingManagermappingManagerprotected NotificationManagernotificationManagerNotification Manager.protected OutboundMatcheroutboundMatcherprotected SchedulerFactoryBeanscheduler-
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 voidassign(Any<?> any, Boolean enabled, ProvisioningReport result)protected voidcopyDynMembershipConds(Any<?> any, AnyUR req)protected voiddeprovision(Any<?> any, ConnectorObject beforeObj, ProvisioningReport result)protected voiddoHandle(Any<?> any, Provision provision)protected abstract StringgetName(Any<?> any)booleanhandle(String anyKey)protected voidlink(Any<?> any, boolean unlink, ProvisioningReport result)protected voidprovision(Any<?> any, Boolean enable, ProvisioningReport result)protected static voidreportPropagation(ProvisioningReport result, PropagationReporter reporter)protected static ProvisioningReport.StatustoProvisioningReportStatus(ExecStatus status)protected static ResourceOperationtoResourceOperation(MatchingRule rule)protected static ResourceOperationtoResourceOperation(UnmatchingRule rule)protected voidunassign(Any<?> any, ConnectorObject beforeObj, ProvisioningReport result)protected voidupdate(Any<?> any, Boolean enable, ConnectorObject beforeObj, ProvisioningReport result)-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler
getAnyTO, getAnyUtils, getContext, setProfile, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler
setProfile
-
-
-
-
Field Detail
-
outboundMatcher
@Autowired protected OutboundMatcher outboundMatcher
-
notificationManager
@Autowired protected NotificationManager notificationManager
Notification Manager.
-
auditManager
@Autowired protected AuditManager auditManager
Audit Manager.
-
mappingManager
@Autowired protected MappingManager mappingManager
-
scheduler
@Autowired protected SchedulerFactoryBean scheduler
-
-
Method Detail
-
update
protected void update(Any<?> any, Boolean enable, ConnectorObject beforeObj, ProvisioningReport result)
-
deprovision
protected void deprovision(Any<?> any, ConnectorObject beforeObj, ProvisioningReport result)
-
provision
protected void provision(Any<?> any, Boolean enable, ProvisioningReport result)
-
link
protected void link(Any<?> any, boolean unlink, ProvisioningReport result)
-
unassign
protected void unassign(Any<?> any, ConnectorObject beforeObj, ProvisioningReport result)
-
assign
protected void assign(Any<?> any, Boolean enabled, ProvisioningReport result)
-
handle
@Transactional(propagation=REQUIRES_NEW) public boolean handle(String anyKey)
- Specified by:
handlein interfaceSyncopePushResultHandler
-
doHandle
protected void doHandle(Any<?> any, Provision provision) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
reportPropagation
protected static void reportPropagation(ProvisioningReport result, PropagationReporter reporter)
-
toResourceOperation
protected static ResourceOperation toResourceOperation(UnmatchingRule rule)
-
toResourceOperation
protected static ResourceOperation toResourceOperation(MatchingRule rule)
-
toProvisioningReportStatus
protected static ProvisioningReport.Status toProvisioningReportStatus(ExecStatus status)
-
-