| Package | Description |
|---|---|
| org.mmbase.applications.editwizard |
This package contains the classes used by the Editwizards to pass
commands to MMBase.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectorCommandGetRelations.addObject(String objectnumber,
NodeList queryrelations) |
protected boolean |
Wizard.checkNode(String objectNumber,
String operation)
Returns true if the specified operation is valid for the node with the specified objectnumber.
|
void |
Config.Configurator.config(Config.SubConfig config)
Configure a list or wizard.
|
void |
Config.SubConfig.configure(Config.Configurator configurator)
Basic configuration.
|
void |
Config.WizardConfig.configure(Config.Configurator configurator)
Configure a wizard.
|
void |
Config.ListConfig.configure(Config.Configurator configurator)
Configure a list page.
|
Node |
WizardDatabaseConnector.createObject(Document data,
Node targetParentNode,
Node objectDef,
Map<String,Object> params,
Document loadedData)
This method can create a object (or a tree of objects and relations)
|
Node |
WizardDatabaseConnector.createObject(Document data,
Node targetParentNode,
Node objectDef,
Map<String,Object> params,
int createorder,
Document loadedData)
This method can create a object (or a tree of objects and relations)
this method should be called from the wizard if it needs to create a new
combination of fields, objects and relations.
|
Document |
Wizard.createPreHtml(Node wizardSchema,
String formid,
Node data,
String instanceName)
This method generated the pre-html.
|
Document |
Wizard.createPreHtml(String instanceName)
This method generates the pre-html.
|
void |
Wizard.createPreHtmlForm(Node form,
Node formdef,
Node dataContext)
This method is used by the #createPreHtml method to generate a pre-html form.
|
Config.WizardConfig |
Config.Configurator.createWizard(Cloud cloud) |
Node |
WizardDatabaseConnector.getConstraints(String objecttype)
This method gets constraint information from mmbase about a specific objecttype.
|
Node |
WizardDatabaseConnector.getDataNode(Document document,
String objectnumber,
NodeList restrictions)
This method retrieves data (objectdata) from mmbase.
|
Node |
WizardDatabaseConnector.getList(Node query)
This method retrieves a list from mmbase.
|
Document |
Wizard.getPreForm() |
Document |
Wizard.getPreForm(String instanceName) |
Document |
WizardDatabaseConnector.load(Node schema,
String objectNumber)
This method loads an object and the necessary relations and fields, according to the given schema.
|
protected void |
Wizard.loadData()
Load data from mmbase based on the wizard schema
|
(package private) Collection<Node> |
WizardDatabaseConnector.loadRelations(Node object,
String objectNumber,
Node loadAction)
This method loads relations from MMBase and stores the result in the given object node.
|
protected void |
Wizard.loadWizard(Config.WizardConfig wizardConfig,
javax.servlet.http.HttpServletRequest request)
Loads the wizard schema, and a work document, and fills it with initial data.
|
static Document |
Utils.loadXMLFile(URL file)
This method can load a xml file and returns the resulting document.
|
protected boolean |
Wizard.mayDeleteNode(String objectNumber)
Returns true if the node with the specified objectnumber can be deleted
|
protected boolean |
Wizard.mayEditNode(String objectNumber)
Returns true if the node with the specified objectnumber can be edited
|
static Document |
Utils.parseXML(String xml)
With this method you can parse a xml string and get the resulting Document.
|
void |
Wizard.processCommand(WizardCommand cmd)
This method is usually called by #processCommands and processes one command.
|
void |
Wizard.processRequest(javax.servlet.http.HttpServletRequest req)
Processes an incoming request (usually passed on by a jsp code).
|
Element |
WizardDatabaseConnector.put(Document originalData,
Document loadedData,
Document newData,
Map<String,byte[]> binaries)
This method can fire a Put command to Dove.
|
String |
Wizard.retrieveFieldValue(String did,
String fieldName)
Obtains the value form the right field (given by name) of the right node (given by did).
|
void |
Wizard.storeFieldValue(String did,
String fieldName,
String value)
Puts the given value in the right field (given by name) of the right node (given by did)
Assumes a text field.
|
void |
Wizard.writeHtmlForm(Writer out,
String instanceName)
Constructs and writes final form-html to the given out writer.
|
void |
Wizard.writeHtmlForm(Writer out,
String instanceName,
Map<String,Object> externParams)
Constructs and writes final form-html to the given out writer.
|
| Constructor and Description |
|---|
Configurator(javax.servlet.jsp.PageContext pageContext,
Config c) |
ConnectorCommand(String aname) |
ConnectorCommandGetConstraints(String objecttype) |
ConnectorCommandGetData(String aobjectnumber,
NodeList queryfields) |
ConnectorCommandGetList(Node query) |
ConnectorCommandGetNew(String objecttype) |
ConnectorCommandGetNewRelation(String role,
String sourceObjectNumber,
String sourceType,
String destinationObjectNumber,
String destinationType,
String createDir)
Constructs a command to craete a new temporarily relation.
|
ConnectorCommandGetRelations(String aobjectnumber,
NodeList queryrelations) |
Wizard(javax.servlet.http.HttpServletRequest request,
URIResolver uri,
Config.WizardConfig wizardConfig,
Cloud cloud)
Constructor.
|
Wizard(javax.servlet.http.HttpServletRequest request,
URIResolver uri,
String wizardname,
String dataid,
Cloud cloud)
Deprecated.
use Wizard(String, URIResolver, Config.WizardConfig, Cloud)
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}