Changeset 394 for trunk/grails-app/services/TaskService.groovy
- Timestamp:
- Feb 20, 2010, 2:49:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/TaskService.groovy
r291 r394 33 33 * @returns A map containing result.error=true (if any error) and result.taskInstance. 34 34 */ 35 def create(params) {35 def save(params) { 36 36 Task.withTransaction { status -> 37 37 def result = [:] … … 122 122 123 123 } //end withTransaction 124 } // end create()124 } // end save() 125 125 126 126 /** … … 170 170 171 171 // Create the sub task and return the result. 172 result = create(p)172 result = save(p) 173 173 174 174 } // end createSubTask() … … 179 179 * @returns A map containing result.error=true (if any error), result.entryInstance and result.taskId. 180 180 */ 181 def createEntry(params) {181 def saveEntry(params) { 182 182 Task.withTransaction { status -> 183 183 def result = [:] … … 244 244 245 245 } //end withTransaction 246 } // end create()246 } // end saveEntry() 247 247 248 248 /**
Note: See TracChangeset
for help on using the changeset viewer.