pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.util.admin
Class Editor

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.util.admin.Editor
Direct Known Subclasses:
RepresentativeEditor, RetailerEditor

public class Editor
extends Controller

Base-class to derive util-Controllers from.

Version:
$Revision: 1570 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
Editor()
           
 
Method Summary
protected  java.lang.String getValueFromCommand(java.lang.String name, Command command)
          Selects the Parameter with the given name from the given Command, and returns its trimmed value.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Editor

public Editor()
Method Detail

getValueFromCommand

protected final java.lang.String getValueFromCommand(java.lang.String name, Command command)
Selects the Parameter with the given name from the given Command, and returns its trimmed value.

If the Parameter can not be found or if the value is null, null will be returned.

Parameters:
name - the name of the Parameter to be selected from the Command.
command - the Command to get the Parameter from.
Returns:
the value of the Parameter with the given name or null.