org.openxava.tab.impl
Interface IEntityTabImpl

All Superinterfaces:
IEntityTab, ISearch, ITabProvider, IWithXTableModel
All Known Implementing Classes:
EntityTab

public interface IEntityTabImpl
extends IEntityTab, ITabProvider

Interface to facilite a remote implelmentation of a IEntityTab.

Adds methods not intended to use with final user (a programmer) of the component, but that they are utils to implement IXTableModel.

Author:
Javier Paniza

Method Summary
 java.lang.Object findEntity(java.lang.Object[] clave)
          Search a concrete entity from a key.
 java.lang.Number getSum(java.lang.String property)
           
 
Methods inherited from interface org.openxava.tab.impl.IWithXTableModel
getTable
 
Methods inherited from interface org.openxava.tab.impl.ISearch
search, search
 
Methods inherited from interface org.openxava.tab.impl.ITabProvider
getResultSize, nextChunk, reset
 
Methods inherited from interface org.openxava.tab.impl.ISearch
search, search
 

Method Detail

findEntity

java.lang.Object findEntity(java.lang.Object[] clave)
                            throws FinderException,
                                   java.rmi.RemoteException
Search a concrete entity from a key.

Ususally thie key is obtained from columns of table (IXTableModel).
This method is used from IXTableModel.getObjectAt. It is not normal that a application programmer call this method directly.

Throws:
FinderException
java.rmi.RemoteException

getSum

java.lang.Number getSum(java.lang.String property)
                        throws java.rmi.RemoteException
Specified by:
getSum in interface ITabProvider
Throws:
java.rmi.RemoteException