As suggested in the comments above, if you really want to do something before the Save, perhaps that should be done in the
UserDAO.save method. If not, then perhaps create a UserService.
If the before the actual save is not that important, you could use an Akka event you send. However, Akka event cannot guarantee, it will have before the save event.
- How to create an event based system in scala and play
- How to create an instance of a model with the ebean framework and scala in Play 2.2
- How to create OFormat from Format in scala and play framework
- How do I create a periodic Poller with Play 2.0 and Scala
- How to find whether user is using browser in mobile or system in Scala and play framework?
- How to use IntelliJ with Play Framework and Scala
- How to create annotations and get them in scala
- How to get all request parameters in Play and Scala
- How to base64 encode a SHA-1 hash in Scala and Play Framework?
- How do I get Intellij IDEA 12.0 to work with Play Framework 2.1.0 app and Scala 2.10.0?
- How to create a Scala class with private field with public getter, and primary constructor taking a parameter of the same name
- How to declare and access local variables in scala template in play framework?
- How to show images using Play framework and Scala in the view page
- Scala Spark : How to create a RDD from a list of string and convert to DataFrame
- How do I create a generic Scala function that returns an object based on the generic type?
- Scala - how to create anonymous class and avoid hiding argument names
- How to use play-plugins-mailer with Play 2.3 and Scala 2.11?
- how to get System time using play framework and scala?
- How Scala achieve performance improvement for Map and Set by using different Class based on size?
- how to create a List in play framework 2 scala templates
- How programmatically limit download speed on server with Scala and Play
- How do I create horizontal or vertical struts and glue for use with scala BoxPanel?
- How to properly use Scala Play Anorm and Option[String] to insert NULL SQL
- Play framework Scala: Create infinite source using scala akka streams and keep Server sent events connection open on server
- How to get application.conf variable in an object using Scala and Play 2.5.x?
- How to fetch records from the database using Play with Scala and Slick
- Play Framework 2 - How to create a custom log file in scala
- Scala Netty How to create a simple client for byte data based protocol?
- how to create a connection between scala and mysql using jdbc
- How to split a column with scala based on one character and a space
More Query from same tag
- Creating UDF in spark Scala for getting specific format in the single column rather than three different columns in SPARK DATAFRAME AND SQL
- How to remove non-ascii characters from logs?
- Reg of Vec of Valid(Vec
- Spark Scala Method Signature in DataFrame API
- In Scala, how do I pass import statements through to subclasses?
- Why are JodaTime timestamps not re-initializing in Squeryl?
- Timeout and out of memory errors reading large table using jdbc drivers
- Macro taking a class body, eliminating explicit new operator?
- Play Framework - add a field to JSON object
- No such method running forEach in Scala job on Apache Spark
- Finding sum-of-square fractions in an aggregated dataframe
- How to Spark implement the interactive In-Memory Cache?
- Regex.MatchData returning null: why not Option[String]?
- Appending List[Database]
- Covariance in a subclass
- Use type parameter's type argument as field type in Scala
- Sbt error (requires least version of java)
- Convert spark scala dataset to specific RDD format
- Scala async Behavior
- Convert java.math.BigDecimal to scala.math.BigDecimal?
- Converting a side-effect only function to async using futures. Which is the return type?
- Scala compiler error : only classes can have declared but undefined members
- jOOQ as a dependency in Scala 3 is broken?
- How To: debug Scala code when outside of an IDE
- problems loading JS resources in a play-scala project
- Can I avoid mutating in this scenario?
- Cast a smallint to boolean with slick, scala
- Cancel a Future after stopping an actor
- how to change json schema in spark spark streamning events without interrupting the streamning Job?
- Basic logic programming in Scala