| org.mmbase.module.ProcessorInterface
All known Subclasses: org.mmbase.module.ProcessorModule,
ProcessorInterface | public interface ProcessorInterface (Code) | | |
Method Summary | |
public boolean | cacheCheck(PageInfo context, String command) Do a cache check (304) for this request. | public Vector<String> | getList(PageInfo context, StringTagger tagger, String command) Generate a list of values from a command to the processor. | public MMObjectBuilder | getListBuilder(String command, Map<String, Object> params) Used to create node lists from the results returned by
ProcessorInterface.getList . | public Vector<MMObjectNode> | getNodeList(Object context, String command, Map<String, Object> params) Generate a list of values from a command to the processor. | public boolean | process(PageInfo context, Hashtable<String, Object> cmds, Hashtable<String, Object> vars) Execute the commands provided in the form values. | public String | replace(PageInfo context, String command) Replace a command by a string. | public String | replace(PageInfo context, StringTagger command) Replace a command by a string. |
cacheCheck | public boolean cacheCheck(PageInfo context, String command)(Code) | | Do a cache check (304) for this request.
Parameters: context - the page context Parameters: command - the command to execute. |
getList | public Vector<String> getList(PageInfo context, StringTagger tagger, String command)(Code) | | Generate a list of values from a command to the processor.
Parameters: context - the page context Parameters: tagger - contains the attributes for the list Parameters: command - the list command to execute. |
getListBuilder | public MMObjectBuilder getListBuilder(String command, Map<String, Object> params)(Code) | | Used to create node lists from the results returned by
ProcessorInterface.getList .
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 Parameters: params - contains the attributes for the list |
getNodeList | public Vector<MMObjectNode> getNodeList(Object context, String command, Map<String, Object> params)(Code) | | 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) Parameters: command - the list command to execute. Parameters: params - contains the attributes for the list a Vector that contains the list values contained in MMObjectNode objects |
process | public boolean process(PageInfo context, Hashtable<String, Object> cmds, Hashtable<String, Object> vars)(Code) | | Execute the commands provided in the form values.
Parameters: context - the page context Parameters: cmds - contains the list of commands to run Parameters: vars - contains the attributes for the process |
replace | public String replace(PageInfo context, String command)(Code) | | Replace a command by a string.
Parameters: context - the page context Parameters: command - the command to execute. |
replace | public String replace(PageInfo context, StringTagger command)(Code) | | Replace a command by a string.
Parameters: context - the page context Parameters: command - the command to execute |
|
|