Google App-Engine and Grails Dynamic Methods
Posted by pebuchmann_super on 07 Jun 2009 | Tagged as: Software Development
A blog entry about running grails on Google’s App Engine. Among other things the methods that are provided by the App-Engine plugin are listed.
The added domain class MetaClass methods are:
savegetdeletefindAllwithTransactionwithPersistenceManager(to execute code with access to the PersistenceManager)isJdoPersistent,isJdoDeleted,isJdoDetached,isJdoDirty,isJdoNew,isJdoTransactional,getJdoTransactionalObjectId,getJdoVersion,getJdoObjectId, andjdoMakeDirtycorresponding to the JDOHelper
methods isPersistent,isDeleted,isDetached,isDirty,isNew,isTransactional,getTransactionalObjectId,getVersion,getObjectId, andmakeDirty
Controllers have these attributes added to their MetaClass:
params(with Request attributes like in Grails)sessionrequestresponseservletContext
No Comments »