|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.tab.impl.EntityTab
public class EntityTab
Local Tab (IEntityTabImpl) implementation configured from an OpenXava component.
This tab is valid for all components, you only need to indicate
the model name on create.
| Constructor Summary | |
|---|---|
EntityTab()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
findEntity(java.lang.Object[] key)
Return a map with key values. |
int |
getChunkSize()
|
java.lang.String |
getComponentName()
|
MetaTab |
getMetaTab()
|
int |
getResultSize()
Record (or object, or row) count of last consult. |
java.lang.Number |
getSum(java.lang.String property)
|
IXTableModel |
getTable()
|
java.lang.String |
getTabName()
|
void |
init()
|
DataChunk |
nextChunk()
Obtain the next data chunk. |
void |
reset()
If you call this method the next time that you call ITabProvider.nextChunk() you will obtain the first chunk and
fresh data from db. |
void |
search(int index,
java.lang.Object key)
Execute the search. |
void |
search(java.lang.String condition,
java.lang.Object key)
Execute search. |
void |
setChunkSize(int chunkSize)
|
void |
setComponentName(java.lang.String string)
|
void |
setMetaTab(MetaTab tab)
|
void |
setTabName(java.lang.String string)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EntityTab()
| Method Detail |
|---|
public void search(int index,
java.lang.Object key)
throws FinderException,
java.rmi.RemoteException
ISearch
If there are no object then generate a empty result, but does not
throw a exception.
search in interface ISearchindex - Index of serach to executekey - Key to send to search
FinderException - Any logic problem on search
java.rmi.RemoteException - Any system problem on search
public void search(java.lang.String condition,
java.lang.Object key)
throws FinderException,
java.rmi.RemoteException
ISearch
If there are no object then generate a empty result, but does not
throw a exception.
search in interface ISearchcondition - Condition to use in search.key - Key to send to search
FinderException - Any logic problem on search
java.rmi.RemoteException - Any system problem on search
public java.lang.Object findEntity(java.lang.Object[] key)
throws FinderException,
java.rmi.RemoteException
findEntity in interface IEntityTabImplFinderException
java.rmi.RemoteException
public IXTableModel getTable()
throws java.rmi.RemoteException
getTable in interface IWithXTableModeljava.rmi.RemoteException
public void init()
throws InitException
InitException
public DataChunk nextChunk()
throws java.rmi.RemoteException
ITabProvider
This method can be call from a TableModel to
obtain data on demand.
nextChunk in interface ITabProviderjava.rmi.RemoteExceptionpublic java.lang.String getComponentName()
public java.lang.String getTabName()
public void setComponentName(java.lang.String string)
public void setTabName(java.lang.String string)
public int getResultSize()
throws java.rmi.RemoteException
ITabProvider
getResultSize in interface ITabProviderjava.rmi.RemoteException
public java.lang.Number getSum(java.lang.String property)
throws java.rmi.RemoteException
getSum in interface IEntityTabImplgetSum in interface ITabProviderjava.rmi.RemoteException
public void reset()
throws java.rmi.RemoteException
ITabProviderITabProvider.nextChunk() you will obtain the first chunk and
fresh data from db.
reset in interface ITabProviderjava.rmi.RemoteExceptionpublic MetaTab getMetaTab()
public void setMetaTab(MetaTab tab)
public int getChunkSize()
public void setChunkSize(int chunkSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||