org.superbiz.moviefun
Class MoviesImpl

java.lang.Object
  extended by org.superbiz.moviefun.MoviesImpl
All Implemented Interfaces:
Movies

public class MoviesImpl
extends Object
implements Movies


Constructor Summary
MoviesImpl()
           
 
Method Summary
 void addMovie(Movie movie)
           
 void deleteMovie(Movie movie)
           
 void deleteMovieId(long id)
           
 List<Movie> findByDirector(String director)
           
 List<Movie> findByGenre(String genre)
           
 List<Movie> findByTitle(String title)
           
 List<Movie> getMovies()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoviesImpl

public MoviesImpl()
Method Detail

addMovie

public void addMovie(Movie movie)
              throws Exception
Specified by:
addMovie in interface Movies
Throws:
Exception

deleteMovie

public void deleteMovie(Movie movie)
                 throws Exception
Specified by:
deleteMovie in interface Movies
Throws:
Exception

deleteMovieId

public void deleteMovieId(long id)
                   throws Exception
Specified by:
deleteMovieId in interface Movies
Throws:
Exception

getMovies

public List<Movie> getMovies()
                      throws Exception
Specified by:
getMovies in interface Movies
Throws:
Exception

findByTitle

public List<Movie> findByTitle(String title)
                        throws Exception
Specified by:
findByTitle in interface Movies
Throws:
Exception

findByGenre

public List<Movie> findByGenre(String genre)
                        throws Exception
Specified by:
findByGenre in interface Movies
Throws:
Exception

findByDirector

public List<Movie> findByDirector(String director)
                           throws Exception
Specified by:
findByDirector in interface Movies
Throws:
Exception


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.