|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MobileDataControl
This is the Mobile Data Control interface All controls that requires data contents to be populated needs to implement this control
Method Summary | |
---|---|
void |
clearQuery()
Clear the cached query |
MBOModel |
getApplicationData()
Get the application currently set for this data control |
MBOAttribute[] |
getColumnAttributes()
Get the column attributes defined for this control |
int |
getCurrentRecordIndex()
Gets the index of current selected row |
java.lang.Object |
getCurrentRow()
Get current selected row |
IMobileApplicationDataHandler |
getDataHandler()
Gets the data handler |
Query |
getDataProperties()
Get the data properties |
java.lang.String |
getMobileAppID()
Get the Mobile Application ID |
java.lang.String |
getMobileApplicationName()
Get the application data name |
PagingObject |
getPagingObject()
Get a new paging object |
java.lang.String |
getParentAssociationName()
Get the parent association name |
IBOBScreen |
getParentScreen()
Gets the screen that owns this control |
java.lang.Object |
getParentSelectedRow()
Get parent selected row |
MBOModel |
getRelationshipParentAppData()
Get relationship parent application data |
boolean |
hasRelationshipAppData()
Check is this mobile data control contains relationship data |
void |
initMobileApplicationData()
Initialize the Mobile Application data Check to see if there are data already synced to the device |
void |
refreshData()
Refresh mobile data |
void |
setApplicationData(MBOModel applicationData)
Set the application data |
void |
setCurrentRecordIndex(int currentRecordIndex)
Sets the index of current selected row |
void |
setDataProperties(Query dataProps)
Set the data properties filtering |
void |
setDynamicNamedQuery(java.lang.String namedQuery)
Set the dynamic named query |
void |
setDynamicNamedQueryParameters(java.util.Hashtable parameters)
Set the dynamic named query parameters hash table |
void |
setNamedQuery(java.lang.String namedQuery)
Set the named query |
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 |
setRelationshipAppData(MBOModel parentAppData,
java.lang.Object selectedRow,
java.lang.String assoicationName)
Set relationship application data |
void |
setupMobileDataControlContextVariables()
Save current selected row of this mobile data control |
Method Detail |
---|
void initMobileApplicationData()
java.lang.String getMobileAppID()
java.lang.String getMobileApplicationName()
MBOModel getApplicationData()
void setApplicationData(MBOModel applicationData)
applicationData
- - relationship application dataQuery getDataProperties()
void setDataProperties(Query dataProps)
dataProps
- - DataProperties objectvoid setupMobileDataControlContextVariables()
void setRelationshipAppData(MBOModel parentAppData, java.lang.Object selectedRow, java.lang.String assoicationName)
parentAppData
- - parent relationship application data objectselectedRow
- - parent relationship selected row objectrelationshipData
- - relationship data from parent screenassoicationName
- - parent relationship association namevoid setNamedQuery(java.lang.String namedQuery)
namedQuery
- String
value for the named query namevoid setNamedQuerySubmitElements(java.util.Vector parameters)
parameters
- Vector
list of SubmitElement objectsvoid setNamedQueryParameters(java.util.Hashtable parameters)
parameters
- Hashtable
map of name value pairvoid setDynamicNamedQuery(java.lang.String namedQuery)
namedQuery
- String
value for the dynamic named query namevoid setDynamicNamedQueryParameters(java.util.Hashtable parameters)
parameters
- Hashtable
map of name value pairboolean hasRelationshipAppData()
MBOModel getRelationshipParentAppData()
java.lang.Object getParentSelectedRow()
java.lang.Object getCurrentRow()
MBOAttribute[] getColumnAttributes()
PagingObject getPagingObject()
java.lang.String getParentAssociationName()
IBOBScreen getParentScreen()
int getCurrentRecordIndex()
IMobileApplicationDataHandler getDataHandler()
void refreshData()
void clearQuery()
void setCurrentRecordIndex(int currentRecordIndex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |