org.codehaus.groovy.grails.scaffolding
Class DefaultGrailsScaffolder.UpdateAction

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Closure
          extended by org.codehaus.groovy.grails.scaffolding.DefaultGrailsScaffolder.AbstractAction
              extended by org.codehaus.groovy.grails.scaffolding.DefaultGrailsScaffolder.UpdateAction
All Implemented Interfaces:
groovy.lang.GroovyObject, Cloneable, Runnable
Enclosing class:
DefaultGrailsScaffolder

 class DefaultGrailsScaffolder.UpdateAction
extends DefaultGrailsScaffolder.AbstractAction

A closure action that implements the updating of an existing scaffoled instances. If the instance is updated successfully the action redirects to "show" for the id, otherwise it redirects to "edit"


Field Summary
 
Fields inherited from class org.codehaus.groovy.grails.scaffolding.DefaultGrailsScaffolder.AbstractAction
controller, request, response, scaffoldRequestHandler, scaffoldResponseFactory, scaffoldResponseHandler
 
Fields inherited from class groovy.lang.Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF
 
Constructor Summary
DefaultGrailsScaffolder.UpdateAction(Object owner)
           
 
Method Summary
 Object call(Object[] args)
           
 
Methods inherited from class org.codehaus.groovy.grails.scaffolding.DefaultGrailsScaffolder.AbstractAction
setScaffoldRequestHandler, setScaffoldResponseHandlerFactory
 
Methods inherited from class groovy.lang.Closure
asWritable, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException
 
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, invokeMethod, setMetaClass
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGrailsScaffolder.UpdateAction

public DefaultGrailsScaffolder.UpdateAction(Object owner)
Method Detail

call

public Object call(Object[] args)
Overrides:
call in class groovy.lang.Closure


Copyright (c) 2005-2006 The Grails project