public class CreateNodeAction extends AbstractNodeAction
| Constructor and Description |
|---|
CreateNodeAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createCacheFlushHints()
This template method is called when the node to edit is changed.
|
protected Node |
createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method is called to obtain the node for this action.
|
String |
getNodenType() |
protected void |
processNode(Transaction transaction)
This template method is called after the values that have been injected in this action in the fields and
datefields collections, as well as the file field have been set on the node.
|
protected NodeManager |
resolveNodemanager(Transaction transaction)
This is the default implementation for creating new nodes.
|
void |
setNodeAsParam(String paramName) |
void |
setNodeType(String nodemanger) |
addCachFlushHint, addFieldError, addFieldError, addFieldErrorTypeMessage, addFieldErrorTypeValue, addGlobalError, addGlobalError, addNodeParam, addParam, getDateFields, getFields, getFile, getId, getLocale, getNode, hasChanged, hasErrors, isNodeNullIllegal, mayCreate, mayDelete, mayWrite, process, setChanged, setDateFields, setFields, setFile, setHtmlField, setId, shouldProcess, toStringpublic final void setNodeType(String nodemanger)
public final void setNodeAsParam(String paramName)
public final String getNodenType()
protected final void createCacheFlushHints()
AbstractNodeActioncreateCacheFlushHints in class AbstractNodeActionprotected final Node createNode(Transaction transaction, Map<String,Node> idMap, javax.servlet.http.HttpServletRequest request)
AbstractNodeActioncreateNode in class AbstractNodeActiontransaction - the mmmbase transactionprotected void processNode(Transaction transaction)
AbstractNodeActionprocessNode in class AbstractNodeActionprotected NodeManager resolveNodemanager(Transaction transaction)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}