Uses of Class
com.ibm.di.server.SearchCriteria

Packages that use SearchCriteria
com.ibm.di.connector Provides classes for the Directory Integrator's connectors. 
com.ibm.di.connector.dominoUsers Provides classes for the Domino users connector. 
com.ibm.di.connector.NT4UserMetaDataConnector Provides classes for the NT4UserMetaDataConnector. 
com.ibm.di.connector.sapr3.bor   
com.ibm.di.connector.sapr3.user   
com.ibm.di.connector.tam Provides classes for the TAM connector. 
com.ibm.di.function Provides useful functions for the Tivoli Directory Integrator. 
com.ibm.di.server Provides classes for the Tivoli Directory Integrator core engine. 
 

Uses of SearchCriteria in com.ibm.di.connector
 

Methods in com.ibm.di.connector with parameters of type SearchCriteria
 void ScriptConnector.deleteEntry(Entry entry, SearchCriteria search)
          Deletes an existing entry. The search criteria specifies which entry to modify. Some connectors may silently ignore the search criteria. For example, the LDAP connector will use the distinguished name ($dn) from the entry parameter (if it exists) rather than expanding the search criteria and search for the entry. Each connector's inner semantics governs whether the search parameter is used or not.
 void PropertiesConnector.deleteEntry(Entry entry, SearchCriteria search)
          Deletes the specified key/value pair from the configured property store.
 void PESConnector.deleteEntry(Entry entry, SearchCriteria search)
          Deletes an existing entry.
 void MailboxConnector.deleteEntry(Entry aEntry, SearchCriteria aSearch)
          Deletes an existing entry.
 void LDAPConnector.deleteEntry(Entry entry, SearchCriteria search)
          Delete an entry in the LDAP Server.
 void JNDIConnector.deleteEntry(Entry entry, SearchCriteria search)
          Delete an entry.
 void JDBCConnector.deleteEntry(Entry entry, SearchCriteria search)
          Deletes an existing entry.
 void ITIMAgentConnector.deleteEntry(Entry aEntry, SearchCriteria aSearch)
          Deletes a JNDI Entry.
 void DSMLv2SOAPConnector.deleteEntry(Entry aEntry, SearchCriteria aSearch)
          This method first look for an attribute with name Dsmlv2Parser.ATTR_NAME_DN in the provided entry if not found it looks the first criteria in the SearchCriteria object for the same name.
 void DominoConnector.deleteEntry(Entry entry, SearchCriteria search)
          This method is used in Delete mode.
 void AssemblyLineConnector.deleteEntry(Entry entry, SearchCriteria search)
          This method runs the target AL.
 void ConnectorInterface.deleteEntry(Entry entry, SearchCriteria search)
          Deletes an existing entry.
 void Connector.deleteEntry(Entry entry, SearchCriteria search)
          Deletes an existing entry.
 Entry SNMPConnector.findEntry(SearchCriteria search)
          Searches for an entry matching the specified search criteria.
 Entry ScriptConnector.findEntry(SearchCriteria search)
          Finds an existing entry. The search criteria specifies which entry to locate

Here is an example of how to find all people with names starting with 'J' which are from IBM organization in US.

Example:

 var ctor = input.getConnector();
 var crit = new com.ibm.di.SearchCriteria("$dn",
                com.ibm.di.SearchCriteria.SUBSTRING, "c=US,o=IBM");
 crit.addCriteria("name", com.ibm.di.SearchCriteria.INITIAL_STRING, "J");
 crit.addCriteria("objectclass", com.ibm.di.SearchCriteria.SUBSTRING, "person");
 
 var res = ctor.findEntry(crit);
 if (res != null) {
        main.logmsg("Found entry:");
        main.dumpEntry(res);
 } else {
  if( getFindEntryCount()> 1 ){
   main.logmsg("Found these entries:");
   while ( (entry = ctor.getNextFindEntry()) != null ) {
     main.dumpEntry(entry);
   }
  }
  else {
         main.logmsg("Entry not found!");
  }
 }
 
 Entry PropertiesConnector.findEntry(SearchCriteria search)
          Looks for a key name in the configured store.
 Entry PESConnector.findEntry(SearchCriteria search)
          Finds an existing entry.
 Entry OldHTTPCLient.findEntry(SearchCriteria search)
          Deprecated. 
 Entry MQePasswordStoreConnector.findEntry(SearchCriteria search)
          Does nothing just protects from calling
 Entry MailboxConnector.findEntry(SearchCriteria aSearch)
          Finds an existing entry.
 Entry LDAPConnector.findEntry(SearchCriteria search)
          Find an entry matching a SearchCriteria.
 Entry JNDIConnector.findEntry(SearchCriteria search)
          Find an entry matching a SearchCriteria.
 Entry JMSConnector.findEntry(SearchCriteria search)
          Query the queue for specific messages.
 Entry JDBCConnector.findEntry(SearchCriteria search)
          Finds an existing entry.
 Entry ITIMAgentConnector.findEntry(SearchCriteria aSearch)
          Finds a JNDI Entry given search criteria.
 Entry HTTPClientConnector.findEntry(SearchCriteria search)
          The findEntry function is called during Lookup or Update operations.
 Entry DSMLv2SOAPConnector.findEntry(SearchCriteria aSearch)
          Finds an existing entry. The search criteria specifies which entry to locate

Here is an example of how to find all people with names starting with 'J' which are from IBM organization in US.

Example:

 var ctor = input.getConnector();
 var crit = new com.ibm.di.SearchCriteria("$dn",
                com.ibm.di.SearchCriteria.SUBSTRING, "c=US,o=IBM");
 crit.addCriteria("name", com.ibm.di.SearchCriteria.INITIAL_STRING, "J");
 crit.addCriteria("objectclass", com.ibm.di.SearchCriteria.SUBSTRING, "person");
 
 var res = ctor.findEntry(crit);
 if (res != null) {
        main.logmsg("Found entry:");
        main.dumpEntry(res);
 } else {
  if( getFindEntryCount()> 1 ){
   main.logmsg("Found these entries:");
   while ( (entry = ctor.getNextFindEntry()) != null ) {
     main.dumpEntry(entry);
   }
  }
  else {
         main.logmsg("Entry not found!");
  }
 }
 
 Entry DominoConnector.findEntry(SearchCriteria search)
          This method is used in Lookup, Update and Delete modes.
 Entry AssemblyLineConnector.findEntry(SearchCriteria search)
          This method runs the target AL.
 Entry ConnectorInterface.findEntry(SearchCriteria search)
          Finds an existing entry.
 Entry Connector.findEntry(SearchCriteria search)
          Finds an existing entry.
 Entry PESConnector.findEntryWithFlag(SearchCriteria search, boolean returnWrappedEntry)
          Wrapped functionality for backward compatibility.
 java.lang.String PESConnector.getWhereClause(SearchCriteria search, boolean ps)
          Creates where clause for SQL statement
 java.lang.String JDBCConnector.getWhereClause(SearchCriteria search, boolean ps)
          Creates where clause for SQL statement
 Entry DominoConnector.inner_findEntry(SearchCriteria search)
          Internal implementation of the findEntry method executed by the worker thread.
 void ScriptConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry. The new entry data is given by the entry parameter and the search criteria specifies which entry to modify.
 void PropertiesConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void PESConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void LDAPConnector.modEntry(Entry entry, SearchCriteria search)
          Modify an Object in the LDAP Server.
 void JNDIConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void JDBCConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void ITIMAgentConnector.modEntry(Entry aEntry, SearchCriteria aSearch)
          Modifies a JNDI Entry.
 void DSMLv2SOAPConnector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry. The new entry data is given by the entry parameter and the search criteria specifies which entry to modify.
 void DominoConnector.modEntry(Entry entry, SearchCriteria search)
          This method is used in Update mode.
 void ConnectorInterface.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void Connector.modEntry(Entry entry, SearchCriteria search)
          Modifies an existing entry.
 void ScriptConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modifies an existing entry. The new entry data is given by the entry parameter and the search criteria specifies which entry to modify.
 void PESConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modify the entry in the System Store.
 void MailboxConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modifies an existing entry.
 void LDAPConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modify an Object in the LDAP Server.
 void JNDIConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modify an Object in the DirContext.
 void ITIMAgentConnector.modEntry(Entry aEntry, SearchCriteria aSearch, Entry aOldEntry)
          Modifies a JNDI Entry.
 void DSMLv2SOAPConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modifies an existing entry. The new entry data is given by the entry parameter and the search criteria specifies which entry to modify.
 void DominoConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          This method is used in Update mode.
 void AssemblyLineConnector.modEntry(Entry entry, SearchCriteria search, Entry old)
          This method runs the target AL.
 void ConnectorInterface.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modifies an existing entry.
 void Connector.modEntry(Entry entry, SearchCriteria search, Entry old)
          Modifies an existing entry.
 void JDBCConnector.setCurrent(Entry entry, SearchCriteria search)
          Change the SearchCriteria search to find the entry sent as a parameter. Used when multiple entries found, and you want to modify or delete one of them. Only a few connectors need to implement this.
 void DominoConnector.setCurrent(Entry entry, SearchCriteria search)
          Used when multiple entries found, and you want to modify or delete one of them.
 void ConnectorInterface.setCurrent(Entry entry, SearchCriteria search)
          Change the SearchCriteria search to find the entry sent as a parameter.
 void Connector.setCurrent(Entry entry, SearchCriteria search)
          Change the SearchCriteria search to find the entry sent as a parameter.
 

Uses of SearchCriteria in com.ibm.di.connector.dominoUsers
 

Methods in com.ibm.di.connector.dominoUsers that return SearchCriteria
static SearchCriteria DominoUtils.cloneSearchCriteria(SearchCriteria aSearch)
          Clones the search criteria.
 

Methods in com.ibm.di.connector.dominoUsers with parameters of type SearchCriteria
static SearchCriteria DominoUtils.cloneSearchCriteria(SearchCriteria aSearch)
          Clones the search criteria.
 void DominoUsersConnector.deleteEntry(Entry aEntry, SearchCriteria aSearch)
          Deletes an existing entry. The search criteria specifies which entry to modify. Some connectors may silently ignore the search criteria. For example, the LDAP connector will use the distinguished name ($dn) from the entry parameter (if it exists) rather than expanding the search criteria and search for the entry. Each connector's inner semantics governs whether the search parameter is used or not.
 Entry DominoUsersConnector.findEntry(SearchCriteria aSearch)
          Finds an existing entry. The search criteria specifies which entry to locate

Here is an example of how to find all people with names starting with 'J' which are from IBM organization in US.

Example:

 var ctor = input.getConnector();
 var crit = new com.ibm.di.SearchCriteria("$dn",
                com.ibm.di.SearchCriteria.SUBSTRING, "c=US,o=IBM");
 crit.addCriteria("name", com.ibm.di.SearchCriteria.INITIAL_STRING, "J");
 crit.addCriteria("objectclass", com.ibm.di.SearchCriteria.SUBSTRING, "person");
 
 var res = ctor.findEntry(crit);
 if (res != null) {
        main.logmsg("Found entry:");
        main.dumpEntry(res);
 } else {
  if( getFindEntryCount()> 1 ){
   main.logmsg("Found these entries:");
   while ( (entry = ctor.getNextFindEntry()) != null ) {
     main.dumpEntry(entry);
   }
  }
  else {
         main.logmsg("Entry not found!");
  }
 }
 
static java.lang.String DominoUtils.getNotesFormula(SearchCriteria aSearch)
          Builds Notes formula.
 void DominoUsersConnector.modEntry(Entry aEntry, SearchCriteria aSearch)
          Modifies an existing entry. The new entry data is given by the entry parameter and the search criteria specifies which entry to modify.
 

Uses of SearchCriteria in com.ibm.di.connector.NT4UserMetaDataConnector
 

Methods in com.ibm.di.connector.NT4UserMetaDataConnector with parameters of type SearchCriteria
 void NT4UserMetaDataConnector.deleteEntry(Entry aEntry, SearchCriteria aRscSearchCriteria)
          Deletes given entry (user or group) from Windows security database.
 Entry NT4UserMetaDataConnector.findEntry(SearchCriteria aRscSearchCriteria)
          Retrieves a single entry object matching the given search criteria parameter.
 void NT4UserMetaDataConnector.modEntry(Entry aEntry, SearchCriteria aRscSearchCriteria)
          Modifies in Windows database the entry identified by the aRscSearchCriteria parameter with the data given in the aEntry parameter.
 

Uses of SearchCriteria in com.ibm.di.connector.sapr3.bor
 

Methods in com.ibm.di.connector.sapr3.bor with parameters of type SearchCriteria
 void SapR3BorConnector.deleteEntry(Entry entry, SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to remove an existing user and associated attributes from SAP R/3
 Entry SapR3BorConnector.findEntry(SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to find an existing BOR object instance and associated attributes in SAP R/3.
 void SapR3BorConnector.modEntry(Entry entry, SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to update an existing user and associated attributes in SAP R/3
 

Uses of SearchCriteria in com.ibm.di.connector.sapr3.user
 

Methods in com.ibm.di.connector.sapr3.user with parameters of type SearchCriteria
 void UserRegistryConnector.deleteEntry(Entry entry, SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to remove an existing user and associated attributes from SAP R/3.
 Entry UserRegistryConnector.findEntry(SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to find an existing user and associated attributes in SAP R/3.
 void UserRegistryConnector.modEntry(Entry entry, SearchCriteria search)
          Called by IBM Tivoli Directory Integrator AL to update an existing user and associated attributes in SAP R/3.
 

Uses of SearchCriteria in com.ibm.di.connector.tam
 

Methods in com.ibm.di.connector.tam with parameters of type SearchCriteria
 void TAMConnector.deleteEntry(Entry entry, SearchCriteria searchcriteria)
          The old Entry is now redundant so shoehorn the original deleteEntry into the new code which just uses searchcriteria with no loss of functionality.
 void TAMConnector.deleteEntry(SearchCriteria searchcriteria)
          Deletes the entry determined by the SearchCriteria if it exists
 Entry TAMConnector.findEntry(SearchCriteria searchcriteria)
          Using the provided search criteria and based on the configured Entry Type, attempts to find the object in TAM.
static java.util.List User.list(SearchCriteria searchCriteria, com.tivoli.pd.jutil.PDContext pdContext)
          Returns a list (ArrayList) of all the Users for the TAM Context matching search criteria value
static java.util.List SSOCredentials.list(SearchCriteria searchCriteria, com.tivoli.pd.jutil.PDContext pdContext)
          Return a List (ArrayList) of TAM SSO USer Credentials based on search criteria
static java.util.List Policy.list(SearchCriteria searchCriteria, com.tivoli.pd.jutil.PDContext mPDContext)
          Returns a list (ArrayList) of all the Users for the TAM Context matching search criteria value.
static java.util.List Group.list(SearchCriteria searchCriteria, com.tivoli.pd.jutil.PDContext pdContext)
          Returns a list (ArrayList) of all the Groups for the TAM Context matching search criteria value
 void TAMConnector.modEntry(Entry changes, SearchCriteria searchcriteria)
          Using the provided changes and based on the configured Entry Type, attempts to modify the specified object in TAM.
 void TAMConnector.modEntry(Entry changes, SearchCriteria searchcriteria, Entry old)
          The old Entry is now redundant so shoehorn the original modEntry into the new code which just uses searchcriteria with no loss of functionality.
 

Constructors in com.ibm.di.connector.tam with parameters of type SearchCriteria
Domain(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          Domain Constructor.
Domain(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, java.lang.String adminLogin, java.lang.String adminPassword, Log log)
          Domain Constructor
Group(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          Constructor for Group.
Group(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          Constructor for Group.
Policy(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          Policy Constructor.
Policy(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          Policy Constructor
SSOCredentials(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          SSOCredentials Constructor.
SSOCredentials(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          SSOCredentials Constructor
SSOResource(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          The SSO Resource Constructor
SSOResource(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          The SSO Resource Constructor
SSOResourceGroup(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          SSOResourceGroup Constructor
SSOResourceGroup(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          SSOResourceGroup Constructor
User(com.tivoli.pd.jutil.PDContext context, SearchCriteria searchcriteria, Log log)
          Constructor used to instantiate a User from the search criteria.
User(SearchCriteria searchcriteria, com.tivoli.pd.jutil.PDContext context, Log log)
          Constructor used to instantiate a User from the search criteria.
 

Uses of SearchCriteria in com.ibm.di.function
 

Methods in com.ibm.di.function that return SearchCriteria
static SearchCriteria SystemFunctions.loadCriteria(java.util.Vector<java.lang.String> m)
           
 SearchCriteria UserFunctions.newSearchCriteria()
          Creates a new rscSearchCriteira object.
 

Uses of SearchCriteria in com.ibm.di.server
 

Methods in com.ibm.di.server that return SearchCriteria
 SearchCriteria AssemblyLineComponent.getCriteria()
          This method returns the link criteria
 

Methods in com.ibm.di.server with parameters of type SearchCriteria
protected  java.lang.Object AssemblyLineComponent.executeOperation(int operation, Entry work, Entry conn, SearchCriteria search, Entry current)
          This method is used to take care of dangerous/safe operations when the AL is simulating
 void AssemblyLineComponent.setCriteria(SearchCriteria mySearchCrit)
          This method sets the link criteria for this AssemblyLineComponent
 boolean AssemblyLineComponent.setCriteria(SearchCriteria mySearchCrit, Entry work)
          This method sets the link criteria template for this AssemblyLineComponent, and then expands the template using the given work Entry.