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)
SynchronizationObjectProcessingAPI
getApi()
Class<ManagedSysListResponse>
getDataResponseClassName()
List<String>
getMatchRegex()
protected Class<ManagedSystemPair>
getPairClass()
protected ManagedSystemSaveRequest
map(Object object)
in case we recieve as a result not aAbstractMatchObjectRule
type.protected ManagedSystemSaveRequest
newObjectInstance(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:
byName
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Throws:
OperationNotSupportedException
-
byAttribute
protected Predicate<ManagedSystemSaveRequest> byAttribute(String name, String value) throws OperationNotSupportedException
- Specified by:
byAttribute
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Throws:
OperationNotSupportedException
-
byManagedSystemPrincipal
protected Predicate<ManagedSystemSaveRequest> byManagedSystemPrincipal(String searchFilter, String managedSystemId) throws OperationNotSupportedException
- Specified by:
byManagedSystemPrincipal
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Throws:
OperationNotSupportedException
-
byEmail
protected Predicate<ManagedSystemSaveRequest> byEmail(String searchFilter) throws OperationNotSupportedException
- Specified by:
byEmail
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Throws:
OperationNotSupportedException
-
byEmployeeId
protected Predicate<ManagedSystemSaveRequest> byEmployeeId(String searchFilter) throws OperationNotSupportedException
- Specified by:
byEmployeeId
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Throws:
OperationNotSupportedException
-
newObjectInstance
protected ManagedSystemSaveRequest newObjectInstance(MatchConfig config)
- Specified by:
newObjectInstance
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
getPairClass
protected Class<ManagedSystemPair> getPairClass()
- Specified by:
getPairClass
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
-
getApi
public SynchronizationObjectProcessingAPI getApi()
-
map
protected ManagedSystemSaveRequest map(Object object)
Description copied from class:AbstractMatchObjectRule
in case we recieve as a result not aAbstractMatchObjectRule
type.- Overrides:
map
in classAbstractMatchObjectRule<ManagedSysListResponse,ManagedSystemSaveRequest,ManagedSystemPair>
- Parameters:
object
- - incoming data with any type- Returns:
- data converted to
AbstractMatchObjectRule
type
-
getDataResponseClassName
public Class<ManagedSysListResponse> getDataResponseClassName()
-
-