br.gov.frameworkdemoiselle.template
Class AbstractListPageBean<T,I>

java.lang.Object
  extended by br.gov.frameworkdemoiselle.template.AbstractPageBean
      extended by br.gov.frameworkdemoiselle.template.AbstractListPageBean<T,I>
All Implemented Interfaces:
ListPageBean<T,I>, PageBean, Serializable

public abstract class AbstractListPageBean<T,I>
extends AbstractPageBean
implements ListPageBean<T,I>

See Also:
Serialized Form

Constructor Summary
AbstractListPageBean()
           
 
Method Summary
 void clear()
           
 void clearSelection()
           
protected  Class<T> getBeanClass()
           
 javax.faces.model.DataModel<T> getDataModel()
           
 Pagination getPagination()
           
 List<T> getResultList()
           
 List<I> getSelectedList()
           
 Map<I,Boolean> getSelection()
           
protected abstract  List<T> handleResultList()
           
 String list()
           
 void setSelection(Map<I,Boolean> selection)
           
 
Methods inherited from class br.gov.frameworkdemoiselle.template.AbstractPageBean
getCurrentView, getNextView, getPreviousView, getTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface br.gov.frameworkdemoiselle.template.PageBean
getCurrentView, getNextView, getPreviousView, getTitle
 

Constructor Detail

AbstractListPageBean

public AbstractListPageBean()
Method Detail

clear

public void clear()

getBeanClass

protected Class<T> getBeanClass()

getDataModel

public javax.faces.model.DataModel<T> getDataModel()
Specified by:
getDataModel in interface ListPageBean<T,I>

getResultList

public List<T> getResultList()
Specified by:
getResultList in interface ListPageBean<T,I>

handleResultList

protected abstract List<T> handleResultList()

list

public String list()
Specified by:
list in interface ListPageBean<T,I>

getSelection

public Map<I,Boolean> getSelection()
Specified by:
getSelection in interface ListPageBean<T,I>

setSelection

public void setSelection(Map<I,Boolean> selection)
Specified by:
setSelection in interface ListPageBean<T,I>

clearSelection

public void clearSelection()

getSelectedList

public List<I> getSelectedList()

getPagination

public Pagination getPagination()


Copyright © 2012 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.