org.mmbase.module
Interface ProcessorInterface

All Known Implementing Classes:
ProcessorModule

public interface ProcessorInterface

Warning: No Java Documentation Available.

Method Summary
 boolean cacheCheck(PageInfo context, String command)
          Deprecated. Do a cache check (304) for this request.
 Vector getList(PageInfo context, StringTagger tagger, String command)
          Deprecated. Generate a list of values from a command to the processor.
 MMObjectBuilder getListBuilder(String command, Map params)
          Deprecated. Used to create node lists from the results returned by getList(org.mmbase.util.PageInfo, org.mmbase.util.StringTagger, java.lang.String).
 Vector getNodeList(Object context, String command, Map params)
          Deprecated. Generate a list of values from a command to the processor.
 boolean process(PageInfo context, Hashtable cmds, Hashtable vars)
          Deprecated. Execute the commands provided in the form values.
 String replace(PageInfo context, String command)
          Deprecated. Replace a command by a string.
 String replace(PageInfo context, StringTagger command)
          Deprecated. Replace a command by a string.
 

Method Detail

getListBuilder

public MMObjectBuilder getListBuilder(String command,
                                      Map params)
Deprecated. 
Used to create node lists from the results returned by getList(org.mmbase.util.PageInfo, org.mmbase.util.StringTagger, java.lang.String). The default method does not associate the builder with a cloud (mmbase module), so processormodules that need this association need to override this method. Note that different lists may return different builders.

Parameters:
command - the LIST command for which to retrieve the builder
params - contains the attributes for the list

getNodeList

public Vector getNodeList(Object context,
                          String command,
                          Map params)
Deprecated. 
Generate a list of values from a command to the processor. The values are grouped into nodes.

Parameters:
context - the context of the page or calling application (currently, this should be a PageInfo object)
command - the list command to execute.
params - contains the attributes for the list
Returns:
a Vector that contains the list values contained in MMObjectNode objects

getList

public Vector getList(PageInfo context,
                      StringTagger tagger,
                      String command)
Deprecated. 
Generate a list of values from a command to the processor.

Parameters:
context - the page context
tagger - contains the attributes for the list
command - the list command to execute.

process

public boolean process(PageInfo context,
                       Hashtable cmds,
                       Hashtable vars)
Deprecated. 
Execute the commands provided in the form values.

Parameters:
context - the page context
cmds - contains the list of commands to run
vars - contains the attributes for the process

replace

public String replace(PageInfo context,
                      String command)
Deprecated. 
Replace a command by a string.

Parameters:
context - the page context
command - the command to execute.

replace

public String replace(PageInfo context,
                      StringTagger command)
Deprecated. 
Replace a command by a string.

Parameters:
context - the page context
command - the command to execute

cacheCheck

public boolean cacheCheck(PageInfo context,
                          String command)
Deprecated. 
Do a cache check (304) for this request.

Parameters:
context - the page context
command - the command to execute.


MMBase build 1.8.1.20060716