com.ibm.di.connector.maximo.core
Class MxConnLookup
java.lang.Object
com.ibm.di.connector.maximo.core.AbstractMxConnMode
com.ibm.di.connector.maximo.core.MxConnIterator
com.ibm.di.connector.maximo.core.MxConnLookup
public final class MxConnLookup extends MxConnIterator
Connector support for Lookup mode.
Since:
7.1
See Also: MxConnIterator
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
MxConnLookup
public MxConnLookup (MxConnConfiguration cfg,
Log logger)
Constructs a MxConnLookup
.
Parameters: cfg
- the connector configuration objectlogger
- logger of the connector
MxConnLookup
public MxConnLookup (MxConnConfiguration cfg,
Log logger,
boolean returnHierarchicalEntries)
Constructs a MxConnLookup
.
Parameters: cfg
- the connector configuration objectlogger
- logger of the connectorreturnHierarchicalEntries
- if true
hierarchical entries will be returned
setSearchCriteria
public void setSearchCriteria (SearchCriteria searchCriteria)
throws MxConnectorException
Defines the criteria used in the query operation.
Parameters: searchCriteria
- criteria used in the query operation
Throws:
MxConnectorException
- if hierarchical entries are not used and
criteria.getType() != SearchCriteria.SEARCH_AND
MxConnectorException
- if hierarchical entries are not used and some
SearchCriteria.rscSearch has match attribute
different than SearchCriteria.EXACT and
SearchCriteria.NOT_STRING See Also: MxConnConfiguration.PARAM_QUERY_CRITERIA
,
MxConnIterator.executeQuery()
,
EntryConverter.searchCriteriaToXml(SearchCriteria, SchemaElement,
boolean)