Class DefaultUserPullResultHandler
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractPullResultHandler
-
- org.apache.syncope.core.provisioning.java.pushpull.DefaultUserPullResultHandler
-
- All Implemented Interfaces:
org.apache.syncope.core.provisioning.api.pushpull.SyncopePullResultHandler
,org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<org.apache.syncope.core.persistence.api.entity.task.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
,org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler
,org.identityconnectors.framework.common.objects.SyncResultsHandler
public class DefaultUserPullResultHandler extends AbstractPullResultHandler implements org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractPullResultHandler
anyTypeDAO, auditManager, connObjectUtils, entityFactory, executor, inboundMatcher, latestResult, notificationManager, remediationDAO, taskDAO, userDAO, virAttrCache, virSchemaDAO
-
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 DefaultUserPullResultHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport>
delete(org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, org.apache.syncope.common.lib.to.Provision provision)
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport>
deprovision(org.apache.syncope.common.lib.types.MatchingRule matchingRule, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account)
protected org.apache.syncope.common.lib.to.AnyTO
doCreate(org.apache.syncope.common.lib.request.AnyCR anyCR, org.identityconnectors.framework.common.objects.SyncDelta delta)
protected org.apache.syncope.common.lib.request.AnyUR
doUpdate(org.apache.syncope.common.lib.to.AnyTO before, org.apache.syncope.common.lib.request.AnyUR req, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.ProvisioningReport result)
protected Boolean
enabled(org.identityconnectors.framework.common.objects.SyncDelta delta)
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.common.lib.request.AnyCR anyCR)
protected String
getName(org.apache.syncope.common.lib.to.AnyTO anyTO)
protected org.apache.syncope.core.provisioning.api.ProvisioningManager<?,?>
getProvisioningManager()
protected void
handleLinkedAccounts(org.identityconnectors.framework.common.objects.SyncDelta delta, List<org.apache.syncope.core.persistence.api.dao.PullMatch> matches, org.apache.syncope.common.lib.to.Provision provision)
protected org.apache.syncope.common.lib.to.ProvisioningReport
ignore(org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, boolean matching, String... message)
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport>
provision(org.apache.syncope.common.lib.types.UnmatchingRule rule, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.User user, org.apache.syncope.common.lib.to.LinkedAccountTO accountTO, org.apache.syncope.common.lib.to.Provision provision)
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 Optional<org.apache.syncope.common.lib.to.ProvisioningReport>
update(org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, org.apache.syncope.common.lib.to.Provision provision)
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractPullResultHandler
createRemediation, createRemediation, createRemediation, createRemediationIfNeeded, delete, deprovision, doHandle, end, handle, handleAnys, ignore, link, provision, setPullExecutor, throwIgnoreProvisionException, update
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractSyncopeResultHandler
getContext, getProfile, 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.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
-
getName
protected String getName(org.apache.syncope.common.lib.to.AnyTO anyTO)
- Specified by:
getName
in classAbstractPullResultHandler
-
getName
protected String getName(org.apache.syncope.common.lib.request.AnyCR anyCR)
- Specified by:
getName
in classAbstractPullResultHandler
-
getProvisioningManager
protected org.apache.syncope.core.provisioning.api.ProvisioningManager<?,?> getProvisioningManager()
- Specified by:
getProvisioningManager
in classAbstractPullResultHandler
-
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.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
-
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.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
-
enabled
protected Boolean enabled(org.identityconnectors.framework.common.objects.SyncDelta delta)
-
doCreate
protected org.apache.syncope.common.lib.to.AnyTO doCreate(org.apache.syncope.common.lib.request.AnyCR anyCR, org.identityconnectors.framework.common.objects.SyncDelta delta)
- Specified by:
doCreate
in classAbstractPullResultHandler
-
doUpdate
protected org.apache.syncope.common.lib.request.AnyUR doUpdate(org.apache.syncope.common.lib.to.AnyTO before, org.apache.syncope.common.lib.request.AnyUR req, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.common.lib.to.ProvisioningReport result)
- Specified by:
doUpdate
in classAbstractPullResultHandler
-
handleLinkedAccounts
protected void handleLinkedAccounts(org.identityconnectors.framework.common.objects.SyncDelta delta, List<org.apache.syncope.core.persistence.api.dao.PullMatch> matches, org.apache.syncope.common.lib.to.Provision provision) throws org.quartz.JobExecutionException
- Overrides:
handleLinkedAccounts
in classAbstractPullResultHandler
- Throws:
org.quartz.JobExecutionException
-
deprovision
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> deprovision(org.apache.syncope.common.lib.types.MatchingRule matchingRule, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
provision
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> provision(org.apache.syncope.common.lib.types.UnmatchingRule rule, org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.User user, org.apache.syncope.common.lib.to.LinkedAccountTO accountTO, org.apache.syncope.common.lib.to.Provision provision) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
update
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> update(org.identityconnectors.framework.common.objects.SyncDelta delta, 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
-
delete
protected Optional<org.apache.syncope.common.lib.to.ProvisioningReport> delete(org.identityconnectors.framework.common.objects.SyncDelta delta, 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
-
ignore
protected org.apache.syncope.common.lib.to.ProvisioningReport ignore(org.identityconnectors.framework.common.objects.SyncDelta delta, org.apache.syncope.core.persistence.api.entity.user.LinkedAccount account, boolean matching, String... message) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
-