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

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.DeleteAction
All Implemented Interfaces:
groovy.lang.GroovyObject, Cloneable, Runnable
Enclosing class:
DefaultGrailsScaffolder

 class DefaultGrailsScaffolder.DeleteAction
extends DefaultGrailsScaffolder.AbstractAction

A closure action that implements deletion of a scaffolded instance by id. The instance is deleted and then the action redirects to "list"


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.DeleteAction(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.DeleteAction

public DefaultGrailsScaffolder.DeleteAction(Object owner)
Method Detail

call

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


Copyright (c) 2005-2006 The Grails project