public Set search3(String tokenID,String startDN,String filter,int numOfEntries,int timeLimit,boolean sortResults,boolean ascendingOrder,Set excludes) throws SMSException, SSOException, RemoteException {
  initialize();
  if (debug.messageEnabled()) {
    debug.message("SMSJAXRPCObjectImpl::search dn: " + startDN + " filter: "+ filter+ " excludes: "+ excludes);
  }
  Iterator i=SMSEntry.search(getToken(tokenID),startDN,filter,numOfEntries,timeLimit,sortResults,ascendingOrder,excludes);
  Set<String> result=new HashSet<String>();
  while (i.hasNext()) {
    SMSDataEntry e=(SMSDataEntry)i.next();
    try {
      result.add(e.toJSONString());
    }
 catch (    JSONException ex) {
      debug.error("SMSJAXRPCObjectImpl::problem performing search dn: " + startDN + " filter: "+ filter+ " excludes: "+ excludes,ex);
    }
  }
  return result;
}

public Set search3 ( String tokenID , String startDN , String filter , int numOfEntries , int timeLimit , boolean sortResults , boolean ascendingOrder , Set excludes ) throws SMSException , SSOException , RemoteException { initialize ( ) ; if ( debug . messageEnabled ( ) ) { debug . message ( "SMSJAXRPCObjectImpl::search dn: " + startDN + " filter: " + filter + " excludes: " + excludes ) ; } Iterator i = SMSEntry . search ( getToken ( tokenID ) , startDN , filter , numOfEntries , timeLimit , sortResults , ascendingOrder , excludes ) ; Set < String > result = new HashSet < String > ( ) ; while ( i . hasNext ( ) ) { SMSDataEntry e = ( SMSDataEntry ) i . next ( ) ; try { result . add ( e . toJSONString ( ) ) ; } catch ( JSONException ex ) { debug . error ( "SMSJAXRPCObjectImpl::problem performing search dn: " + startDN + " filter: " + filter + " excludes: " + excludes , ex ) ; } } return result ; }
searches the data store for objects that match the filter with an exclude set
