com.infoengine.jndi
Class QueryObjects

java.lang.Object
  extended bycom.infoengine.jndi.JNDIObject
      extended bycom.infoengine.jndi.QueryObjects

public class QueryObjects
extends JNDIObject


Field Summary
private  long startTime
           
 
Fields inherited from class com.infoengine.jndi.JNDIObject
binaryAttributes, defaultBinaryAttributes, envProps, group, logWriter, myGroup, naming, request, serviceName, task, webject
 
Constructor Summary
QueryObjects()
           
 
Method Summary
private  void addElements(NamingEnumeration results, String base, Group group)
           
private  void queryNames(Group group, String base, String scope, DirContext ctx)
           
 void run(DirContext ctx)
          Parses the fields from the Request object to obtain the search criteria and the attributes to retrieve.
 
Methods inherited from class com.infoengine.jndi.JNDIObject
addGroup, escapeDn, getGroupoutName, getParam, getParam, getParams, getParamsEnum, getTask, initialize, isBinaryAttribute, localizedMessage, localizedMessage, normalizeDn, setMessageReturn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTime

private long startTime
Constructor Detail

QueryObjects

public QueryObjects()
Method Detail

run

public void run(DirContext ctx)
         throws IEException
Parses the fields from the Request object to obtain the search criteria and the attributes to retrieve. Performs the search and adds the entries to the Request object. the result to the Request Object

Overrides:
run in class JNDIObject
Throws:
IEException

queryNames

private void queryNames(Group group,
                        String base,
                        String scope,
                        DirContext ctx)
                 throws IEAdapterException
Throws:
IEAdapterException

addElements

private void addElements(NamingEnumeration results,
                         String base,
                         Group group)
                  throws NamingException
Throws:
NamingException