Class DefaultUserPushResultHandler
- 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
-
- org.apache.syncope.core.provisioning.java.pushpull.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
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractPushResultHandler
auditManager, mappingManager, notificationManager, outboundMatcher, 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 DefaultUserPushResultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.user.LinkedAccount account, org.apache.syncope.common.lib.to.Provision provision)
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.core.persistence.api.entity.Any<?> any)
boolean
handle(org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, org.apache.syncope.common.lib.to.Provision provision)
protected void
provision(org.apache.syncope.core.persistence.api.entity.Any<?> any, Boolean enabled, org.apache.syncope.common.lib.to.ProvisioningReport result)
protected void
provision(org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, Boolean enable, org.apache.syncope.common.lib.to.ProvisioningReport result)
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 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)
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)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractPushResultHandler
assign, doHandle, handle, link, reportPropagation, toProvisioningReportStatus, toResourceOperation, toResourceOperation, unassign
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler
getContext, setProfile
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getAnyUtils
protected org.apache.syncope.core.persistence.api.entity.AnyUtils getAnyUtils()
- Specified by:
getAnyUtils
in classAbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions>
-
getName
protected String getName(org.apache.syncope.core.persistence.api.entity.Any<?> any)
- Specified by:
getName
in classAbstractPushResultHandler
-
getAnyTO
protected org.apache.syncope.common.lib.to.AnyTO getAnyTO(org.apache.syncope.core.persistence.api.entity.Any<?> any)
- Specified by:
getAnyTO
in classAbstractSyncopeResultHandler<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 classAbstractPushResultHandler
-
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 classAbstractPushResultHandler
-
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 classAbstractPushResultHandler
-
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 classAbstractSyncopeResultHandler<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 interfaceorg.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)
-
-