Class LinkedAccountSampleInboundCorrelationRule
java.lang.Object
org.apache.syncope.fit.core.reference.LinkedAccountSampleInboundCorrelationRule
- All Implemented Interfaces:
InboundCorrelationRule
public class LinkedAccountSampleInboundCorrelationRule
extends Object
implements InboundCorrelationRule
-
Field Summary
Fields inherited from interface org.apache.syncope.core.provisioning.api.rules.InboundCorrelationRule
NO_MATCH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSearchCond
(LiveSyncDelta syncDelta, Provision provision) Return a search condition.matching
(Any<?> any, LiveSyncDelta syncDelta, Provision provision) Create matching information for the given Any, found matching for the givenLiveSyncDelta
andProvision
.unmatching
(LiveSyncDelta syncDelta, Provision provision) Optionally create matching information in case no matching Any was found for the givenLiveSyncDelta
andProvision
.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.rules.InboundCorrelationRule
setConf
-
Field Details
-
VIVALDI_KEY
- See Also:
-
-
Constructor Details
-
LinkedAccountSampleInboundCorrelationRule
public LinkedAccountSampleInboundCorrelationRule()
-
-
Method Details
-
getSearchCond
Description copied from interface:InboundCorrelationRule
Return a search condition.- Specified by:
getSearchCond
in interfaceInboundCorrelationRule
- Parameters:
syncDelta
- change operation, including external attributesprovision
- resource provision- Returns:
- search condition.
-
matching
@Transactional(readOnly=true) public InboundMatch matching(Any<?> any, LiveSyncDelta syncDelta, Provision provision) Description copied from interface:InboundCorrelationRule
Create matching information for the given Any, found matching for the givenLiveSyncDelta
andProvision
. For users, this might end with creating / updating / deleting aLinkedAccount
.- Specified by:
matching
in interfaceInboundCorrelationRule
- Parameters:
any
- anysyncDelta
- change operation, including external attributesprovision
- resource provision- Returns:
- matching information
-
unmatching
@Transactional(readOnly=true) public Optional<InboundMatch> unmatching(LiveSyncDelta syncDelta, Provision provision) Description copied from interface:InboundCorrelationRule
Optionally create matching information in case no matching Any was found for the givenLiveSyncDelta
andProvision
. For users, this might end with creating aLinkedAccount
.- Specified by:
unmatching
in interfaceInboundCorrelationRule
- Parameters:
syncDelta
- change operation, including external attributesprovision
- resource provision- Returns:
- matching information
-