Package org.apache.syncope.core.logic
Class ReconciliationLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.ReconciliationLogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AnySearchDAOprotected final AnyTypeDAOprotected final AnyUtilsFactoryprotected final ConnectorManagerprotected final DerSchemaDAOprotected final InboundMatcherprotected final MappingManagerprotected final OutboundMatcherprotected final PlainSchemaDAOprotected final RealmSearchDAOprotected final ExternalResourceDAOFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionReconciliationLogic(AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, ExternalResourceDAO resourceDAO, RealmSearchDAO realmSearchDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, AnySearchDAO anySearchDAO, MappingManager mappingManager, InboundMatcher inboundMatcher, OutboundMatcher outboundMatcher, ConnectorManager connectorManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.dataformat.csv.CsvSchema.BuildercsvSchema(AbstractCSVSpec spec) protected AnygetAny(Provision provision, AnyTypeKind anyTypeKind, String anyKey) protected ConnObjectgetOnSyncope(Item connObjectKeyItem, String connObjectKeyValue, Boolean suspended, Set<Attribute> attrs) protected ConnObjectgetOnSyncope(Any any, Item connObjectKeyItem, ExternalResource resource, Provision provision) protected ConnObjectgetOnSyncope(LinkedAccount account, Item connObjectKeyItem, Provision provision) protected Triple<AnyType, ExternalResource, Provision> getProvision(String anyTypeKey, String resourceKey) pull(String anyTypeKey, String resourceKey, String anyKey, Set<String> moreAttrsToGet, PullTaskTO pullTask) pull(String anyTypeKey, String resourceKey, Filter filter, Set<String> moreAttrsToGet, PullTaskTO pullTask) pull(CSVPullSpec spec, InputStream csv) protected List<ProvisioningReport> pull(ExternalResource resource, Provision provision, ReconFilterBuilder reconFilterBuilder, Set<String> moreAttrsToGet, PullTaskTO pullTask) push(String anyTypeKey, String resourceKey, String anyKey, PushTaskTO pushTask) push(String anyTypeKey, String resourceKey, Filter filter, Set<String> moreAttrsToGet, PushTaskTO pushTask) push(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, CSVPushSpec spec, OutputStream os) protected EntityTOresolveReference(Method method, Object... os) protected SyncopeSinglePushExecutorprotected SyncDeltaBuildersyncDeltaBuilder(ExternalResource resource, Provision provision, Filter filter, Set<String> moreAttrsToGet) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
anyUtilsFactory
-
anyTypeDAO
-
resourceDAO
-
realmSearchDAO
-
plainSchemaDAO
-
derSchemaDAO
-
anySearchDAO
-
mappingManager
-
inboundMatcher
-
outboundMatcher
-
connectorManager
-
-
Constructor Details
-
ReconciliationLogic
public ReconciliationLogic(AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, ExternalResourceDAO resourceDAO, RealmSearchDAO realmSearchDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, AnySearchDAO anySearchDAO, MappingManager mappingManager, InboundMatcher inboundMatcher, OutboundMatcher outboundMatcher, ConnectorManager connectorManager)
-
-
Method Details
-
getProvision
-
getOnSyncope
-
getOnSyncope
protected ConnObject getOnSyncope(Any any, Item connObjectKeyItem, ExternalResource resource, Provision provision) -
getOnSyncope
protected ConnObject getOnSyncope(LinkedAccount account, Item connObjectKeyItem, Provision provision) -
getAny
-
status
@PreAuthorize("hasRole(\'RESOURCE_GET_CONNOBJECT\')") public ReconStatus status(String anyTypeKey, String resourceKey, String anyKey, Set<String> moreAttrsToGet) -
syncDeltaBuilder
protected SyncDeltaBuilder syncDeltaBuilder(ExternalResource resource, Provision provision, Filter filter, Set<String> moreAttrsToGet) -
status
@PreAuthorize("hasRole(\'RESOURCE_GET_CONNOBJECT\')") public ReconStatus status(String anyTypeKey, String resourceKey, Filter filter, Set<String> moreAttrsToGet) -
singlePushExecutor
-
push
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") public List<ProvisioningReport> push(String anyTypeKey, String resourceKey, String anyKey, PushTaskTO pushTask) -
push
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") public List<ProvisioningReport> push(String anyTypeKey, String resourceKey, Filter filter, Set<String> moreAttrsToGet, PushTaskTO pushTask) -
pull
protected List<ProvisioningReport> pull(ExternalResource resource, Provision provision, ReconFilterBuilder reconFilterBuilder, Set<String> moreAttrsToGet, PullTaskTO pullTask) -
pull
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") @Transactional(noRollbackFor=SyncopeClientException.class) public List<ProvisioningReport> pull(String anyTypeKey, String resourceKey, String anyKey, Set<String> moreAttrsToGet, PullTaskTO pullTask) -
pull
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") @Transactional(noRollbackFor=SyncopeClientException.class) public List<ProvisioningReport> pull(String anyTypeKey, String resourceKey, Filter filter, Set<String> moreAttrsToGet, PullTaskTO pullTask) -
csvSchema
-
push
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") public List<ProvisioningReport> push(SearchCond searchCond, org.springframework.data.domain.Pageable pageable, String realm, CSVPushSpec spec, OutputStream os) -
pull
@PreAuthorize("hasRole(\'TASK_EXECUTE\')") @Transactional(noRollbackFor=SyncopeClientException.class) public List<ProvisioningReport> pull(CSVPullSpec spec, InputStream csv) -
resolveReference
protected EntityTO resolveReference(Method method, Object... os) throws UnresolvedReferenceException - Specified by:
resolveReferencein classAbstractLogic<EntityTO>- Throws:
UnresolvedReferenceException
-