org.apache.directory.server.dns.service
Class GetResourceRecords

java.lang.Object
  extended byorg.apache.directory.server.protocol.shared.chain.impl.CommandBase
      extended byorg.apache.directory.server.dns.service.GetResourceRecords
All Implemented Interfaces:
Command

public class GetResourceRecords
extends CommandBase


Field Summary
 
Fields inherited from class org.apache.directory.server.protocol.shared.chain.impl.CommandBase
CONTINUE_CHAIN, STOP_CHAIN
 
Constructor Summary
GetResourceRecords()
           
 
Method Summary
 boolean execute(Context context)
          Execute a unit of processing work to be performed.
 java.util.Set getEntry(RecordStore store, QuestionRecord question)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetResourceRecords

public GetResourceRecords()
Method Detail

execute

public boolean execute(Context context)
                throws java.lang.Exception
Description copied from interface: Command

Execute a unit of processing work to be performed. This Command may either complete the required processing and return true, or delegate remaining processing to the next Command in a Chain containing this Command by returning false

Parameters:
context - The Context to be processed by this Command
Returns:
true if the processing of this Context has been completed, or false if the processing of this Context should be delegated to a subsequent Command in an enclosing Chain
Throws:
java.lang.Exception - general purpose exception return to indicate abnormal termination

getEntry

public java.util.Set getEntry(RecordStore store,
                              QuestionRecord question)
                       throws java.lang.Exception
Throws:
java.lang.Exception