|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.superbiz.spring.MoviesImpl
public class MoviesImpl
A normal Stateful EJB that uses a JPA EntityManager.
We use this bean to transactionally wrap access to the EntityManager persist, remove, and query methods.
Constructor Summary | |
---|---|
MoviesImpl()
|
Method Summary | |
---|---|
void |
addMovie(Movie movie)
|
void |
deleteMovie(Movie movie)
|
Movie |
getMovieByTitle(java.lang.String title)
|
java.util.List<Movie> |
getMovies()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoviesImpl()
Method Detail |
---|
public void addMovie(Movie movie) throws java.lang.Exception
addMovie
in interface Movies
java.lang.Exception
public void deleteMovie(Movie movie) throws java.lang.Exception
deleteMovie
in interface Movies
java.lang.Exception
public java.util.List<Movie> getMovies() throws java.lang.Exception
getMovies
in interface Movies
java.lang.Exception
public Movie getMovieByTitle(java.lang.String title) throws java.lang.Exception
getMovieByTitle
in interface Movies
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |