com.u2d.list
Class CriteriaListEO
java.lang.Object
com.u2d.model.AbstractEObject
com.u2d.model.AbstractListEO
com.u2d.list.CriteriaListEO
- All Implemented Interfaces:
- Paginable, ChangeNotifier, EObject, Typed, Viewable, ListChangeNotifier, AppEventListener, ValidationNotifier, java.io.Serializable, javax.swing.ListModel
- Direct Known Subclasses:
- PagedList
public class CriteriaListEO
- extends AbstractListEO
- implements Paginable
- Author:
- Eitan Suez
- See Also:
- Serialized Form
| Methods inherited from class com.u2d.model.AbstractListEO |
addDeleteListeners, addListDataListener, commandPrint, concat, contains, equals, ExportToCSV, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, first, getElementAt, getItems, hashCode, iconLg, iconSm, isInContext, isPickState, iterator, jibxAdd, last, onEvent, Open, pick, removeDeleteListeners, restoreItems, setItems, setPickState, setPickState, setValue, tableModel, tableModel, toString, updateListeners, validate |
| Methods inherited from class com.u2d.model.AbstractEObject |
addChangeListener, addPostChangeListener, addValidationListener, currentUser, field, fireStateChanged, fireValidationException, fireValidationException, hbmPersistor, parentObject, persistor, removeChangeListener, removePostChangeListener, removeValidationListener, setField, vmech |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CriteriaListEO
public CriteriaListEO(Query query)
setQuery
public void setQuery(Query query)
throws org.hibernate.HibernateException
- Throws:
org.hibernate.HibernateException
fetchPage
public void fetchPage(int pageNum)
- Specified by:
fetchPage in interface Paginable
pageNum
public int pageNum()
- Specified by:
pageNum in interface Paginable
numPages
public int numPages()
- Specified by:
numPages in interface Paginable
hasNextPage
public boolean hasNextPage()
- Specified by:
hasNextPage in interface Paginable
hasPreviousPage
public boolean hasPreviousPage()
- Specified by:
hasPreviousPage in interface Paginable
firstPage
public void firstPage()
- Specified by:
firstPage in interface Paginable
lastPage
public void lastPage()
- Specified by:
lastPage in interface Paginable
nextPage
public void nextPage()
- Specified by:
nextPage in interface Paginable
previousPage
public void previousPage()
- Specified by:
previousPage in interface Paginable
type
public ComplexType type()
- Specified by:
type in interface Typed- Specified by:
type in class AbstractListEO
makeCopy
public EObject makeCopy()
- Specified by:
makeCopy in interface EObject- Specified by:
makeCopy in class AbstractEObject
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface EObject- Specified by:
isEmpty in class AbstractListEO
getSize
public int getSize()
- Specified by:
getSize in interface javax.swing.ListModel- Specified by:
getSize in class AbstractListEO
getTotal
public int getTotal()
- Specified by:
getTotal in class AbstractListEO
getPageTitleInfo
public java.lang.String getPageTitleInfo()
- Specified by:
getPageTitleInfo in interface Paginable
getView
public EView getView()
- Specified by:
getView in interface Viewable- Specified by:
getView in class AbstractEObject
getMainView
public EView getMainView()
- Specified by:
getMainView in interface Viewable
getListView
public ListEView getListView()
getAlternateView
public ListEView getAlternateView()
getTableView
public ListEView getTableView()
getAssociationView
public ListEView getAssociationView()
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener in interface ListChangeNotifier- Specified by:
removeListDataListener in interface javax.swing.ListModel- Overrides:
removeListDataListener in class AbstractListEO
getPickView
public ListEView getPickView()
- Overrides:
getPickView in class AbstractListEO
tableModel
public javax.swing.table.TableModel tableModel()
- Overrides:
tableModel in class AbstractListEO
add
public void add(ComplexEObject item)
- Overrides:
add in class AbstractListEO
remove
public void remove(ComplexEObject item)
- Overrides:
remove in class AbstractListEO
commands
public Onion commands()
- Specified by:
commands in interface EObject- Overrides:
commands in class AbstractListEO
command
public Command command(java.lang.String commandName)
- Overrides:
command in class AbstractListEO
title
public Title title()
- Specified by:
title in interface EObject- Overrides:
title in class AbstractListEO