Package org.openiam.match
Class ManagedSystemMatchObjectRule
- java.lang.Object
-
- org.openiam.match.AbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
- org.openiam.match.ManagedSystemMatchObjectRule
-
- All Implemented Interfaces:
MatchObjectRule<ManagedSysListResponse,ManagedSystemPair>
@Component("managedSystemMatchObjectRule") public class ManagedSystemMatchObjectRule extends AbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
-
Field Summary
-
Fields inherited from class org.openiam.match.AbstractMatchObjectRule
propertyValueSweeper, rabbitMQSender
-
-
Constructor Summary
Constructors Constructor Description ManagedSystemMatchObjectRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Predicate<ManagedSystemSaveRequest>byAttribute(String name, String value)protected Predicate<ManagedSystemSaveRequest>byEmail(String searchFilter)protected Predicate<ManagedSystemSaveRequest>byEmployeeId(String searchFilter)protected Predicate<ManagedSystemSaveRequest>byManagedSystemPrincipal(String searchFilter, String managedSystemId)protected Predicate<ManagedSystemSaveRequest>byName(String searchFilter)SynchronizationObjectProcessingAPIgetApi()Class<ManagedSysListResponse>getDataResponseClassName()List<String>getMatchRegex()protected Class<ManagedSystemPair>getPairClass()protected ManagedSystemSaveRequestmap(Object object)in case we recieve as a result not aAbstractMatchObjectRuletype.protected ManagedSystemSaveRequestnewObjectInstance(MatchConfig config)-
Methods inherited from class org.openiam.match.AbstractMatchObjectRule
doDBLookup, getBatchSearchSize, lookup
-
-
-
-
Method Detail
-
byName
protected Predicate<ManagedSystemSaveRequest> byName(String searchFilter) throws OperationNotSupportedException
- Specified by:
byNamein classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Throws:
OperationNotSupportedException
-
byAttribute
protected Predicate<ManagedSystemSaveRequest> byAttribute(String name, String value) throws OperationNotSupportedException
- Specified by:
byAttributein classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Throws:
OperationNotSupportedException
-
byManagedSystemPrincipal
protected Predicate<ManagedSystemSaveRequest> byManagedSystemPrincipal(String searchFilter, String managedSystemId) throws OperationNotSupportedException
- Specified by:
byManagedSystemPrincipalin classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Throws:
OperationNotSupportedException
-
byEmail
protected Predicate<ManagedSystemSaveRequest> byEmail(String searchFilter) throws OperationNotSupportedException
- Specified by:
byEmailin classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Throws:
OperationNotSupportedException
-
byEmployeeId
protected Predicate<ManagedSystemSaveRequest> byEmployeeId(String searchFilter) throws OperationNotSupportedException
- Specified by:
byEmployeeIdin classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Throws:
OperationNotSupportedException
-
newObjectInstance
protected ManagedSystemSaveRequest newObjectInstance(MatchConfig config)
- Specified by:
newObjectInstancein classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
getPairClass
protected Class<ManagedSystemPair> getPairClass()
- Specified by:
getPairClassin classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
getApi
public SynchronizationObjectProcessingAPI getApi()
-
map
protected ManagedSystemSaveRequest map(Object object)
Description copied from class:AbstractMatchObjectRulein case we recieve as a result not aAbstractMatchObjectRuletype.- Overrides:
mapin classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>- Parameters:
object- - incoming data with any type- Returns:
- data converted to
AbstractMatchObjectRuletype
-
getDataResponseClassName
public Class<ManagedSysListResponse> getDataResponseClassName()
-
-