|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.tab.impl.TabProviderBase
public abstract class TabProviderBase
| Constructor Summary | |
|---|---|
TabProviderBase()
|
|
| Method Summary | |
|---|---|
protected abstract java.lang.Number |
executeNumberSelect(java.lang.String select,
java.lang.String errorId)
|
int |
getChunkSize()
Size of chunk returned by IDataReader.nextChunk(). |
int |
getCurrent()
|
protected java.util.Collection |
getEntityReferencesMappings()
|
protected java.util.Map |
getEntityReferencesReferenceNames()
|
protected java.lang.Object[] |
getKey()
|
protected MetaModel |
getMetaModel()
|
protected MetaTab |
getMetaTab()
|
int |
getResultSize()
Record (or object, or row) count of last consult. |
protected java.lang.String |
getSelect()
|
java.lang.Number |
getSum(java.lang.String property)
|
protected boolean |
hasReferences()
|
protected boolean |
isEOF()
|
protected boolean |
keyHasNulls()
|
void |
reset()
If you call this method the next time that you call IDataReader.nextChunk() you will obtain the first chunk and
fresh data from db. |
protected void |
resetEntityReferencesMappings()
|
void |
search(java.lang.String condition,
java.lang.Object key)
Execute search. |
void |
setChunkSize(int chunkSize)
Size of chunk returned by IDataReader.nextChunk(). |
void |
setCurrent(int i)
|
protected void |
setEOF(boolean eof)
|
void |
setMetaTab(MetaTab metaTab)
|
protected abstract java.lang.String |
translateCondition(java.lang.String condition)
|
protected abstract java.lang.String |
translateProperty(java.lang.String property)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openxava.tab.impl.ITabProvider |
|---|
getConverters, getSelectBase, toQueryField, usesConverters |
| Methods inherited from interface org.openxava.tab.impl.IDataReader |
|---|
nextChunk |
| Constructor Detail |
|---|
public TabProviderBase()
| Method Detail |
|---|
protected abstract java.lang.String translateProperty(java.lang.String property)
protected abstract java.lang.String translateCondition(java.lang.String condition)
protected abstract java.lang.Number executeNumberSelect(java.lang.String select,
java.lang.String errorId)
public void setMetaTab(MetaTab metaTab)
setMetaTab in interface ITabProviderprotected MetaModel getMetaModel()
protected MetaTab getMetaTab()
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 searchpublic int getChunkSize()
IDataReader.nextChunk().
public void setChunkSize(int chunkSize)
IDataReader.nextChunk().
setChunkSize in interface ITabProviderprotected boolean keyHasNulls()
protected java.lang.Object[] getKey()
public int getCurrent()
public void setCurrent(int i)
setCurrent in interface ITabProvider
public int getResultSize()
throws java.rmi.RemoteException
IDataReader
getResultSize in interface IDataReaderjava.rmi.RemoteExceptionpublic java.lang.Number getSum(java.lang.String property)
getSum in interface ITabProvider
public void reset()
throws java.rmi.RemoteException
IDataReaderIDataReader.nextChunk() you will obtain the first chunk and
fresh data from db.
reset in interface IDataReaderjava.rmi.RemoteExceptionprotected java.lang.String getSelect()
protected boolean isEOF()
protected void setEOF(boolean eof)
protected void resetEntityReferencesMappings()
protected boolean hasReferences()
throws XavaException
XavaExceptionprotected java.util.Map getEntityReferencesReferenceNames()
protected java.util.Collection getEntityReferencesMappings()
throws XavaException
XavaException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||