|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.RequestInformation
public class RequestInformation
Get information about the parameters the plugin needs for a particular request.
See PluginRequest for more information.
| Constructor Summary | |
|---|---|
RequestInformation(String command,
String title,
String description,
List<PluginParameter<?>> parameters)
|
|
RequestInformation(String command,
String title,
String description,
List<PluginParameter<?>> parameters,
String jspPage)
|
|
| Method Summary | |
|---|---|
String |
getCommand()
Get the command this request information object is valid for. |
String |
getDescription()
Get a description of the request. |
String |
getJspPage()
The name of the jsp page to use for displaying the input form for requesting parameters. |
PluginParameter<?> |
getParameter(String name)
Get the plugin parameter with the specified name. |
List<PluginParameter<?>> |
getParameters()
Get a list containing the information about the parameters needed for the current request. |
String |
getTitle()
Get the title of the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestInformation(String command,
String title,
String description,
List<PluginParameter<?>> parameters)
public RequestInformation(String command,
String title,
String description,
List<PluginParameter<?>> parameters,
String jspPage)
| Method Detail |
|---|
public String getCommand()
public String getTitle()
public String getDescription()
public List<PluginParameter<?>> getParameters()
public PluginParameter<?> getParameter(String name)
public String getJspPage()
This method should return the name of the JSP page only, not the path.
It must be located in a subdirectory to the /plugins directory,
where the subdirectory is given by the package name of the plugin.
Ie. the plugin org.proteios.plugins.APlugin would
have all it's JSP pages located in the /plugins/org/proteios/plugins
directory.
TODO - the JSP page must conform to certain rules, ie. names of input fields, etc. create other documentation for that and link to it from here
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||