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
Modifier and TypeFieldDescriptionprotected final AnySearchDAO
protected final AnyTypeDAO
protected final AnyUtilsFactory
protected final ConnectorManager
protected final DerSchemaDAO
protected final InboundMatcher
protected final MappingManager
protected final OutboundMatcher
protected final PlainSchemaDAO
protected final RealmSearchDAO
protected final ExternalResourceDAO
protected final VirAttrHandler
protected final VirSchemaDAO
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionReconciliationLogic
(AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, ExternalResourceDAO resourceDAO, RealmSearchDAO realmSearchDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO, AnySearchDAO anySearchDAO, VirAttrHandler virAttrHandler, MappingManager mappingManager, InboundMatcher inboundMatcher, OutboundMatcher outboundMatcher, ConnectorManager connectorManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected CsvSchema.Builder
csvSchema
(AbstractCSVSpec spec) protected Any
<?> getAny
(Provision provision, AnyTypeKind anyTypeKind, String anyKey) protected ConnObject
getOnSyncope
(Item connObjectKeyItem, String connObjectKeyValue, Boolean suspended, Set<Attribute> attrs) protected ConnObject
getOnSyncope
(Any<?> any, Item connObjectKeyItem, ExternalResource resource, Provision provision) protected ConnObject
getOnSyncope
(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 EntityTO
resolveReference
(Method method, Object... os) protected SyncopeSinglePushExecutor
protected SyncDeltaBuilder
syncDeltaBuilder
(AnyType anyType, 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
-
virSchemaDAO
-
anySearchDAO
-
virAttrHandler
-
mappingManager
-
inboundMatcher
-
outboundMatcher
-
connectorManager
-
-
Constructor Details
-
ReconciliationLogic
public ReconciliationLogic(AnyUtilsFactory anyUtilsFactory, AnyTypeDAO anyTypeDAO, ExternalResourceDAO resourceDAO, RealmSearchDAO realmSearchDAO, PlainSchemaDAO plainSchemaDAO, DerSchemaDAO derSchemaDAO, VirSchemaDAO virSchemaDAO, AnySearchDAO anySearchDAO, VirAttrHandler virAttrHandler, 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(AnyType anyType, 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:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-