org.superbiz.injection.secure
Class MoviesImpl

java.lang.Object
  extended by org.superbiz.injection.secure.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)
           
 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

@RolesAllowed(value={"Employee","Manager"})
public void addMovie(Movie movie)
              throws Exception
Specified by:
addMovie in interface Movies
Throws:
Exception

deleteMovie

@RolesAllowed(value="Manager")
public void deleteMovie(Movie movie)
                 throws Exception
Specified by:
deleteMovie in interface Movies
Throws:
Exception

getMovies

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


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