org.ow2.opensuit.samples.movies_db.uibeans
Class ListOfMoviesBean2

java.lang.Object
  extended by org.ow2.opensuit.samples.movies_db.uibeans.ListOfMoviesBean2

public class ListOfMoviesBean2
extends java.lang.Object

This bean holds a list of movies. It initializes itself by loading all movies from the database.

This version of the bean performs the search operation at each rendering, including sort and pagination.


Constructor Summary
ListOfMoviesBean2()
           
 
Method Summary
 org.ow2.opensuit.samples.movies_db.model.to.MovieTO[] getMovies()
           
 void loadAll()
          Loads all movies from the database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListOfMoviesBean2

public ListOfMoviesBean2()
Method Detail

loadAll

public void loadAll()
             throws org.ow2.opensuit.core.error.LocalizedError
Loads all movies from the database

Throws:
org.ow2.opensuit.core.error.LocalizedError

getMovies

public org.ow2.opensuit.samples.movies_db.model.to.MovieTO[] getMovies()
                                                                throws org.ow2.opensuit.core.error.LocalizedError
Throws:
org.ow2.opensuit.core.error.LocalizedError


Copyright © 2008-2010 eBMWebsourcing. All Rights Reserved.