org.mmbase.applications.vprowizards.spring.action
Class UpdateNodeAction
java.lang.Object
org.mmbase.applications.vprowizards.spring.action.Action
org.mmbase.applications.vprowizards.spring.action.AbstractNodeAction
org.mmbase.applications.vprowizards.spring.action.UpdateNodeAction
public class UpdateNodeAction
- extends AbstractNodeAction
This class finds the node that is identified by the field 'nodenr', and updates it with the given field values.
- Author:
- Ernst Bunders
| Methods inherited from class org.mmbase.applications.vprowizards.spring.action.AbstractNodeAction |
addCachFlushHint, addFieldError, addFieldError, addFieldErrorTypeMessage, addFieldErrorTypeMessage, addFieldErrorTypeValue, addGlobalError, addGlobalError, addGlobalError, addNodeParam, addParam, getDateFields, getFields, getFile, getId, getLocale, getNode, hasChanged, hasErrors, isNodeNullIllegal, mayCreate, mayDelete, mayWrite, process, processNode, setChanged, setDateFields, setFields, setFile, setHtmlField, setId, setSecurityContext, shouldProcess, toString |
UpdateNodeAction
public UpdateNodeAction()
createCacheFlushHints
protected final void createCacheFlushHints()
- Description copied from class:
AbstractNodeAction
- This template method is called when the node to edit is changed. custom cachflush hints can be set here. This
class dous not know if the current node is updated or created, so it dousn't know what kind of events to create.
- Specified by:
createCacheFlushHints in class AbstractNodeAction
createNode
protected final Node createNode(Transaction transaction,
Map<String,Node> idMap,
HttpServletRequest request)
- Description copied from class:
AbstractNodeAction
- This template method is called to obtain the node for this action. it is the responsibility of the implementation
of this method to set a global error (using addGlobalError) when something goes wrong. In that case the action
stops.
- Specified by:
createNode in class AbstractNodeAction
- Parameters:
transaction - the mmmbase transaction
- Returns:
- the node this action should handle or null if an error occurs
setNodenr
public final void setNodenr(String nodenr)
getNodenr
public final String getNodenr()
MMBase 2.0-SNAPSHOT - null