Changeset 304


Ignore:
Timestamp:
Mar 23, 2010, 11:06:40 AM (13 years ago)
Author:
duh
Message:
  • added default comments to grails base templates
Location:
trunk/src/templates/artifacts
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/artifacts/Controller.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Controler
     3 *
     4 * Description of my controller
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115@artifact.package@class @artifact.name@ {
    2 
     16        /**
     17         * index closure
     18         */
    319    def index = { }
    420}
  • trunk/src/templates/artifacts/DomainClass.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Domain Class
     3 *
     4 * Description of my domain class
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115@artifact.package@class @artifact.name@ {
    2 
    316    static constraints = {
    417    }
  • trunk/src/templates/artifacts/Filters.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Filters
     3 *
     4 * Description of my controller
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115@artifact.package@class @artifact.name@ {
    2 
    316    def filters = {
    417        all(controller:'*', action:'*') {
    518            before = {
    6                
     19
    720            }
    821            after = {
    9                
     22
    1023            }
    1124            afterView = {
  • trunk/src/templates/artifacts/Service.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Service
     3 *
     4 * Description of my service
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115@artifact.package@class @artifact.name@ {
    216
  • trunk/src/templates/artifacts/TagLib.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Tag Library
     3 *
     4 * Description of my tab library
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115@artifact.package@class @artifact.name@ {
    216
  • trunk/src/templates/artifacts/Tests.groovy

    r286 r304  
    11@artifact.package@import grails.test.*
    22
     3/**
     4 * @artifact.name@ Test
     5 *
     6 * Description of my test
     7 *
     8 * @author  your email (+name?)
     9 * @since       2010mmdd
     10 * @package     ???
     11 *
     12 * Revision information:
     13 * $Rev$
     14 * $Author$
     15 * $Date$
     16 */
    317class @artifact.name@ extends @artifact.superclass@ {
    418    protected void setUp() {
  • trunk/src/templates/artifacts/WebTest.groovy

    r286 r304  
     1/**
     2 * @artifact.name@ Web Test
     3 *
     4 * Description of my web test
     5 *
     6 * @author  your email (+name?)
     7 * @since       2010mmdd
     8 * @package     ???
     9 *
     10 * Revision information:
     11 * $Rev$
     12 * $Author$
     13 * $Date$
     14 */
    115class @webtest.name.caps@Test extends grails.util.WebTest {
    216
Note: See TracChangeset for help on using the changeset viewer.