play.db.jpa
Class TransactionalAction

java.lang.Object
  extended by play.mvc.Results
      extended by play.mvc.Action<Transactional>
          extended by play.db.jpa.TransactionalAction

public class TransactionalAction
extends Action<Transactional>

Wraps an action in am JPA transaction.


Nested Class Summary
 
Nested classes/interfaces inherited from class play.mvc.Action
Action.Simple
 
Nested classes/interfaces inherited from class play.mvc.Results
Results.AsyncResult, Results.ByteChunks, Results.Chunks<A>, Results.Redirect, Results.Status, Results.StringChunks, Results.Todo
 
Field Summary
 
Fields inherited from class play.mvc.Action
configuration, delegate
 
Fields inherited from class play.mvc.Results
TODO
 
Constructor Summary
TransactionalAction()
           
 
Method Summary
 Result call(Http.Context ctx)
          Executes this action with the give HTTP context and returns the result.
 
Methods inherited from class play.mvc.Results
async, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalAction

public TransactionalAction()
Method Detail

call

public Result call(Http.Context ctx)
            throws java.lang.Throwable
Description copied from class: Action
Executes this action with the give HTTP context and returns the result.

Specified by:
call in class Action<Transactional>
Throws:
java.lang.Throwable