|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.uep.bobclient.data.SPDataHandler
public class SPDataHandler
Other control uses SPDataHandler
instance to access the data of a
given SPMBOModel
instance.
Constructor Summary | |
---|---|
SPDataHandler()
|
Method Summary | |
---|---|
void |
clearCachedRows()
Clears the cached rows in the handler |
MBOModel |
getApplicationData()
|
java.lang.String |
getDynamicNamedQuery()
Get the dynamic named query name |
java.util.Hashtable |
getDynamicNamedQueryParameters()
Get the dynamic named query parameters hash table |
java.lang.String |
getNamedQuery()
Get the named query name |
java.util.Hashtable |
getNamedQueryParameters()
Get the named query parameters hash table |
java.util.Vector |
getNamedQuerySubmitElements()
Get the named query submit elements |
Query |
getQuery()
Returns the query object |
java.lang.Object |
getRow(int rowIndex)
|
java.util.Vector |
getRows()
|
int |
getSize()
|
void |
setDynamicNamedQuery(java.lang.String namedQuery)
Set the dynamic named query name |
void |
setDynamicNamedQueryParameters(java.util.Hashtable parameters)
Set the dynamic named query parameters hash table |
void |
setMobileApplication(MBOModel application)
Sets the motile application to the data handler, calling this method would clear the cached rows if necessary |
void |
setNamedQuery(java.lang.String namedQuery)
Set the named query name |
void |
setNamedQueryParameters(java.util.Hashtable parameters)
Set the named query parameters hash table |
void |
setNamedQuerySubmitElements(java.util.Vector parameters)
Set the named query submit elements |
void |
setQuery(Query query)
Sets the query object to the data handler |
void |
setRelationshipData(MBOModel parentApplication,
java.lang.Object parentSelectedRow,
java.lang.String associationName)
Sets the relationship data to the handler, including parent MBO,parent selected row and association name |
void |
setSearch(boolean isSearch)
Sets if the query is for a search |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPDataHandler()
Method Detail |
---|
public void clearCachedRows()
IMobileApplicationDataHandler
clearCachedRows
in interface IMobileApplicationDataHandler
public MBOModel getApplicationData()
getApplicationData
in interface IMobileApplicationDataHandler
public java.lang.Object getRow(int rowIndex)
getRow
in interface IMobileApplicationDataHandler
public java.util.Vector getRows()
getRows
in interface IMobileApplicationDataHandler
public int getSize()
getSize
in interface IMobileApplicationDataHandler
public void setMobileApplication(MBOModel application)
IMobileApplicationDataHandler
setMobileApplication
in interface IMobileApplicationDataHandler
public Query getQuery()
IMobileApplicationDataHandler
getQuery
in interface IMobileApplicationDataHandler
public void setDynamicNamedQuery(java.lang.String namedQuery)
IMobileApplicationDataHandler
setDynamicNamedQuery
in interface IMobileApplicationDataHandler
namedQuery
- String
value for the dynamic named querypublic java.lang.String getDynamicNamedQuery()
IMobileApplicationDataHandler
getDynamicNamedQuery
in interface IMobileApplicationDataHandler
public void setNamedQuery(java.lang.String namedQuery)
IMobileApplicationDataHandler
setNamedQuery
in interface IMobileApplicationDataHandler
namedQuery
- String
value for the named querypublic void setNamedQueryParameters(java.util.Hashtable parameters)
IMobileApplicationDataHandler
setNamedQueryParameters
in interface IMobileApplicationDataHandler
parameters
- Hashtable
map of name value pairpublic void setNamedQuerySubmitElements(java.util.Vector parameters)
IMobileApplicationDataHandler
setNamedQuerySubmitElements
in interface IMobileApplicationDataHandler
parameters
- Vector
list of SubmitElement objectspublic void setQuery(Query query)
IMobileApplicationDataHandler
setQuery
in interface IMobileApplicationDataHandler
public void setRelationshipData(MBOModel parentApplication, java.lang.Object parentSelectedRow, java.lang.String associationName)
IMobileApplicationDataHandler
setRelationshipData
in interface IMobileApplicationDataHandler
public void setSearch(boolean isSearch)
IMobileApplicationDataHandler
setSearch
in interface IMobileApplicationDataHandler
isSearch
- - true if the query is for a searchpublic void setDynamicNamedQueryParameters(java.util.Hashtable parameters)
IMobileApplicationDataHandler
setDynamicNamedQueryParameters
in interface IMobileApplicationDataHandler
parameters
- Vector
list of name value pairpublic java.util.Hashtable getDynamicNamedQueryParameters()
IMobileApplicationDataHandler
getDynamicNamedQueryParameters
in interface IMobileApplicationDataHandler
public java.lang.String getNamedQuery()
IMobileApplicationDataHandler
getNamedQuery
in interface IMobileApplicationDataHandler
public java.util.Hashtable getNamedQueryParameters()
IMobileApplicationDataHandler
getNamedQueryParameters
in interface IMobileApplicationDataHandler
public java.util.Vector getNamedQuerySubmitElements()
IMobileApplicationDataHandler
getNamedQuerySubmitElements
in interface IMobileApplicationDataHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |