| java.lang.Object com.salmonllc.sql.DataStoreBuffer com.salmonllc.sql.BeanDataStore
All known Subclasses: com.salmonllc.hibernate.HibernateDataStore,
BeanDataStore | public class BeanDataStore extends DataStoreBuffer (Code) | | This class provides an interface between standard java beans and the rest of the framework.
This allows EJBs or other Java Beans to be bound to GUI components so their values can be displayed and manipulated in pages.
This class won't automatically retrieve data as the standard datastore does. This beans must retrieve the data in whatever manner required and passed to one of the insert row methods.
Calling the update method will cause the datastore to copy the values in its internal buffers back to the bean classes instead of the database. The beans themselves must persist the data.
Public bean get methods will automatically be called to move the data from a bean to the datastore buffer when one of the insert methods is called.
public bean set methods will automatically be called to move the data from the datastore buffer to the beans when the update method is called.
Type conversions are as follows:
String and char and Character bean attributes are converted to DATATYPE_STRING
Integer and int bean attributes are converted to DATATYPE_INT
Float and float bean attributes are converted to DATATYPE_FLOAT
Double and double attributes are converted to DATATYPE_DOUBLE
Short and short attributes are converted to DATATYPE_SHORT
Long and long bean attributes are converted to DATATYPE_LONG
Boolean and boolean bean attributes are converted to DATATYPE_SHORT with 0 being false and non-zero being true
java.sql.Date and java.util.Date are converted to DATATYPE_DATE
java.sql.Timestamp is to DATATYPE_DATETIME
java.sql.Time is to DATATYPE_TIME
byte[] is converted to DATATYPE_BYTEARRAY
All other types in the bean (including array types) are ignored.
Portions added by
Dr Jeffrey J Shifman shifmanjj@superiorcanada.com
Superior Electrics Limited http://superiorcanada.com
|
Inner Class :public static class BeanClassInfo implements Serializable | |
Method Summary | |
public void | addBeanDefinition(Class beanType, String alias) | public void | beanDeleted(Object bean) An empty method that can be overridden by subclasses to allow for automatic deletion of the data in the bean to the database. | public void | beanUpdated(Object bean, boolean newBean) An empty method that can be overridden by subclasses to allow for automatic persistance of the data in the bean to the database. | public String | buildCriteriaStringForRow(int row) Build a criteria string for the specified row in the datastore. | public static BeanDataStore | constructBeanDataStore(String className, String beanName, String extraInfo) This method will instantiate the a bean datastore described in the className field. | public void | delete(int row, Object deleteBean, Method deleteMethod) Delete the specified datastore row in physical storage. | public synchronized boolean | deleteRow() Removes the current row from the datastore buffer. | public synchronized boolean | deleteRow(int row) Removes the row from the datastore buffer. | public void | deleteRowBean(int row) Delete a row and its associated bean. | public Collection | find(Collection dataRows, Object findBean, Method findMethod) Retrieve bean data for the specified data rows. | public Object | getBean() Returns the bean at the current row from the standard buffer. | public Object | getBean(int row) Returns the bean at the specified row from the standard buffer. | public Object | getBean(int row, int buffer) Returns the bean at the specified row in the specified buffer. | public Object[] | getBeans() Returns all the beans in the stardard buffer as an array of objects. | public Object[] | getBeans(int buffer) Returns the beans in the specified buffer as an array of objects. | public Collection | getBeans(Collection dataRows) Return the collection of beans from the collection of data rows. | public Vector | getBeansAsVector() Returns all the beans in the stardard buffer as a Vector. | public Vector | getBeansAsVector(int buffer) Returns the beans in the specified buffer as a Vector. | public static Throwable | getCause(Exception e) Utility method to retrieve an error cause. | public DSDataRow | getDataRow(int rowNo) Utility method to retrieve a data row. | protected int | getDataTypeForMethod(Class beanType, Method getMethod) | public DSDataStoreDescriptor | getDescriptor() Utility method to get the data store descriptor. | public String | getExtraInfo() returns the extra info string. | public boolean | getLowerCaseFirstLetter() True to lower case the first letter of each attribute name. | public int | getUpdateableColCount(DSDataRow dataRow) Get the number of updateable columns for the given dataRow. | public String[] | getUpdateableFieldNames(DSDataRow dataRow) Get the updateable field names for the given DSDataRow. | public Object[] | getUpdateableFieldValues(DSDataRow dataRow) Get the updateable field names for the given DSDataRow. | public void | insert(Collection dataRows, Object createBean, Method createMethod) Insert changed data in the given data rows to their bean sources. | public void | insertInternal(Collection beans, Collection dataRows) Insert the given beans into the given dataRows. | public synchronized int | insertRow(Object bean) Inserts the bean in the datastore after the last row. | public synchronized int | insertRow(Object bean, boolean newBean) Inserts the bean in the datastore after the last row. | public synchronized int | insertRow(Object bean, int pos) Inserts the bean in the datastore at the specified row position. | public synchronized int | insertRow(Object bean, int pos, boolean newBean) Inserts the bean in the datastore at the specified row position. | public synchronized void | insertRows(Object bean) Inserts an array of beans into the datastore at the end of the buffer. | public synchronized void | insertRows(Collection c) Inserts an collection of beans into the datastore at the end of the buffer. | public static boolean | isCollection(Class c) | public boolean | isInserted(DSDataRow dataRow) Determine if the given row has been inserted. | public boolean | isInserted(int row) Determine if the given row has been inserted. | public boolean | isModified(DSDataRow dataRow) Determine if the given row has been modified. | public boolean | isModified(int row) Determine if the given row has been modified. | public void | load(Object bean, String methodName, Object[] params, int maxRows) Load entity or session bean data. | public void | load(Object bean, int maxRows) | public void | load(Object bean) | protected static String | lowerCaseFirstLetter(String st) | protected static BeanClassInfo | newBeanInfo(Class beanClass, String alias, int index) | public void | partialRefreshInternal(int row, String elementPrefix) Partially reloads the datastore buffer from the bean. | public void | refresh(Collection dataRows, Object findBean, Method findMethod) Refresh the data for the given rows. | public void | refreshInternal(DSDataRow dataRow, Object bean) Refresh the data row from the data in the bean. | public void | refreshInternal(Collection dataRows, Collection beans) Refresh the given data rows from the data in the given beans. | public void | reload(Object bean) Refresh this datastore (without performing an update). | public void | retrieve(String criteriaString) Retrieves the data in the DataStore by passing a criteria string built with buildCriteriaStringBuild. | public void | setBooleanDataType(int type, Object trueValue, Object falseValue) | public void | setExtraInfo(String string) Sets the extra info string. | public void | setLowerCaseFirstLetter(boolean lowerCaseFirstLetter) True to lower case the first letter of each attribute name. | public static Class[] | toClasses(Object[] array) Convert an array of objects into an array of their classes. | public synchronized void | update() | public void | update(boolean resetStatus) Copies all the data changed in the datastore to the respective bean sources. | public void | update(Collection dataRows, Object storeBean, Method storeMethod) Copy changed data in the specified datastore rows to their bean source. | public void | update(Object bean, Method create, Method store, Method find) Update all modified and inserted rows and optionally refresh the data in those rows
if the a find method is given. | public synchronized boolean | updateInternal(DSDataRow dataRow) Copy changed data in the specified datastore row to its bean source. | public synchronized boolean | updateInternal(int row) Copy changed data in the specified datastore row to its bean source. | public synchronized boolean | updateInternal(Collection dataRows) Copy changed data in the specified datastore row to its bean source. |
LOAD_ALL | final public static int LOAD_ALL(Code) | | |
BeanDataStore | public BeanDataStore()(Code) | | |
BeanDataStore | public BeanDataStore(String beanType, boolean multiClass)(Code) | | |
BeanDataStore | public BeanDataStore(Class beanType)(Code) | | |
BeanDataStore | public BeanDataStore(BeanClassInfo inf)(Code) | | |
BeanDataStore | public BeanDataStore(BeanClassInfo inf)(Code) | | |
addBeanDefinition | public void addBeanDefinition(Class beanType, String alias)(Code) | | Adds a new bean definition to this components buffer
Parameters: beanType - The class name for the bean Parameters: alias - The name the bean is referenced by |
beanDeleted | public void beanDeleted(Object bean)(Code) | | An empty method that can be overridden by subclasses to allow for automatic deletion of the data in the bean to the database. Called for deleted rows from the update method.
Parameters: bean - The bean deleted from the DataStore |
beanUpdated | public void beanUpdated(Object bean, boolean newBean) throws Exception(Code) | | An empty method that can be overridden by subclasses to allow for automatic persistance of the data in the bean to the database. Called for new or modified rows from the update method.
Parameters: bean - The updated data bean Parameters: newBean - True for a bean representing an existing row in the database and false for one representing an existing row in the database. Whether or not a bean is considered a new row or not is determined with the newBean argument to the insertRow method. |
buildCriteriaStringForRow | public String buildCriteriaStringForRow(int row)(Code) | | Build a criteria string for the specified row in the datastore. This is an empty method that subclasses can implement to allow custom bean datastores to retrieve data.
|
constructBeanDataStore | public static BeanDataStore constructBeanDataStore(String className, String beanName, String extraInfo)(Code) | | This method will instantiate the a bean datastore described in the className field. The class must extend BeanDataStore and must have at least one of four constructors: One that takes a class (class name of the bean), one that takes a class name and an extraArgs string parm, one that takes just a String (extraInfo parm), or a no-args constructor.
Parameters: className - The class name for the BeanDataStore subclass to construct Parameters: beanName - The class name of the bean this BeanDataStore will use Parameters: extraInfo - a String with arbitrary info passed to the constructor of the BeanDataStore |
delete | public void delete(int row, Object deleteBean, Method deleteMethod) throws DataStoreException(Code) | | Delete the specified datastore row in physical storage.
If the store method is null, do not call the store method.
Parameters: row - Parameters: deleteBean - - bean containing the deleteMethod Parameters: deleteMethod - Parameters: deleteParams - - parameters of the deleteMethod throws: DataStoreException - |
deleteRow | public synchronized boolean deleteRow()(Code) | | Removes the current row from the datastore buffer.
True if the row is remove and false if not. |
deleteRow | public synchronized boolean deleteRow(int row)(Code) | | Removes the row from the datastore buffer.
True if the row is remove and false if not. |
deleteRowBean | public void deleteRowBean(int row) throws DataStoreException(Code) | | Delete a row and its associated bean.
If the row has no associated been (because it has just been inserted) then
simply remove the row.
Parameters: row - |
getBean | public Object getBean(int row, int buffer) throws DataStoreException(Code) | | Returns the bean at the specified row in the specified buffer.
Buffer must be BUFFER_STANDARD or BUFFER_FILTERED
|
getBeans | public Object[] getBeans(int buffer) throws DataStoreException(Code) | | Returns the beans in the specified buffer as an array of objects.
Buffer must be BUFFER_STANDARD or BUFFER_FILTERED
|
getBeansAsVector | public Vector getBeansAsVector(int buffer) throws DataStoreException(Code) | | Returns the beans in the specified buffer as a Vector.
Buffer must be BUFFER_STANDARD or BUFFER_FILTERED
|
getDataRow | public DSDataRow getDataRow(int rowNo)(Code) | | Utility method to retrieve a data row.
|
getDataTypeForMethod | protected int getDataTypeForMethod(Class beanType, Method getMethod)(Code) | | Classes can override to figure out what type of datatype to map a column to
Parameters: beanType - Parameters: getMethod - |
getExtraInfo | public String getExtraInfo()(Code) | | returns the extra info string. The string can be any arbitrary piece of information used by subclasses to construct themselves.
|
getLowerCaseFirstLetter | public boolean getLowerCaseFirstLetter()(Code) | | True to lower case the first letter of each attribute name. Otherwise it is the same case as the get method.
|
getUpdateableColCount | public int getUpdateableColCount(DSDataRow dataRow)(Code) | | Get the number of updateable columns for the given dataRow.
Parameters: dataRow - |
insert | public void insert(Collection dataRows, Object createBean, Method createMethod) throws DataStoreException(Code) | | Insert changed data in the given data rows to their bean sources.
Using the bean's create method and parameters, save the changed data back to
physical storage.
If the store method is null, do not call the store method.
Parameters: dataRow - Parameters: storeBean - - bean containing the storeMethod Parameters: storeMethod - Parameters: storeParams - - parameters of the storeMethod throws: DataStoreException - |
insertInternal | public void insertInternal(Collection beans, Collection dataRows) throws DataStoreException(Code) | | Insert the given beans into the given dataRows.
Data is not copied back to physical storage unless the beans is an Entity bean.
Parameters: beans - Parameters: dataRows - throws: DataStoreException - |
insertRow | public synchronized int insertRow(Object bean)(Code) | | Inserts the bean in the datastore after the last row. If the bean passed is null, this method won't do anything except write an error to the log file.
|
insertRow | public synchronized int insertRow(Object bean, boolean newBean)(Code) | | Inserts the bean in the datastore after the last row. If the bean passed is null, this method won't do anything except write an error to the log file.
Parameters: bean - The bean to update Parameters: newBean - if the bean represents a new row in the database, set this to true, false for an existing row. This can be used later to in the updateBean method to determine if persisting the bean will require an insert or an update |
insertRow | public synchronized int insertRow(Object bean, int pos)(Code) | | Inserts the bean in the datastore at the specified row position. If the bean passed is null, this method won't do anything except write an error to the log file.
|
insertRow | public synchronized int insertRow(Object bean, int pos, boolean newBean)(Code) | | Inserts the bean in the datastore at the specified row position. If the bean passed is null, this method won't do anything except write an error to the log file.
Parameters: bean - The bean to update Parameters: pos - The position in the datastore to place the bean, -1 to place it at the end Parameters: newBean - if the bean represents a new row in the database, set this to true, false for an existing row. This can be used later to in the updateBean method to determine if persisting the bean will require an insert or an update |
insertRows | public synchronized void insertRows(Object bean)(Code) | | Inserts an array of beans into the datastore at the end of the buffer. Any null beans will be skipped and an error will be written to the log.
|
insertRows | public synchronized void insertRows(Collection c)(Code) | | Inserts an collection of beans into the datastore at the end of the buffer. All the beans in the collection must be of the same type and any null beans will be skipped and an error will be written to the log.
|
isCollection | public static boolean isCollection(Class c)(Code) | | Returns true if the class is a collection, array, vector or hashtable
|
isInserted | public boolean isInserted(DSDataRow dataRow)(Code) | | Determine if the given row has been inserted.
Parameters: dataRow - |
isInserted | public boolean isInserted(int row)(Code) | | Determine if the given row has been inserted.
Parameters: row - |
isModified | public boolean isModified(DSDataRow dataRow)(Code) | | Determine if the given row has been modified.
Parameters: dataRow - |
isModified | public boolean isModified(int row)(Code) | | Determine if the given row has been modified.
Parameters: row - |
load | public void load(Object bean, String methodName, Object[] params, int maxRows) throws DataStoreException(Code) | | Load entity or session bean data. Session beans must have an interface similar to an entity bean's
remote interface.
Parameters: home - - home interface to an entity bean (or session bean equivalent) Parameters: method - - search method name Parameters: params - - array with search method parameters Parameters: maxRows - - Maximum number of rows to be loaded. If maxRows &eq LOADALL or if omitted then there is no limit to the number of rows.To change he template for this generated type comment go toWindow>Preferences>Java>Code Generation>Code and Comments |
newBeanInfo | protected static BeanClassInfo newBeanInfo(Class beanClass, String alias, int index)(Code) | | Creates a new BeanInfo object, Framework method, do not call directly
|
partialRefreshInternal | public void partialRefreshInternal(int row, String elementPrefix) throws DataStoreException(Code) | | Partially reloads the datastore buffer from the bean. Only columns name starting with prefix will be reloaded.
Parameters: row - the row to refresh from the bean Parameters: elementPrefix - the column prefix to search for throws: DataStoreException - |
refresh | public void refresh(Collection dataRows, Object findBean, Method findMethod) throws DataStoreException(Code) | | Refresh the data for the given rows.
Parameters: row - Parameters: findBean - - bean containing the findMethod Parameters: findMethod - Parameters: findParams - - parameters of the findMethod throws: DataStoreException - |
refreshInternal | public void refreshInternal(DSDataRow dataRow, Object bean) throws DataStoreException(Code) | | Refresh the data row from the data in the bean.
Data is not retrieved from physical storage unless the bean is an Entity bean.
Parameters: dataRow - Parameters: bean - throws: DataStoreException - |
refreshInternal | public void refreshInternal(Collection dataRows, Collection beans) throws DataStoreException(Code) | | Refresh the given data rows from the data in the given beans.
Data is not retrieved from physical storage unless the bean is an Entity bean.
Parameters: dataRows - Parameters: beans - throws: DataStoreException - |
retrieve | public void retrieve(String criteriaString) throws Exception(Code) | | Retrieves the data in the DataStore by passing a criteria string built with buildCriteriaStringBuild. This is an empty method that subclasses can implement to allow custom bean datastores to retrieve data based on a selection criteria string.
|
setBooleanDataType | public void setBooleanDataType(int type, Object trueValue, Object falseValue)(Code) | | Sets the representation of boolean values in this datastore
Parameters: type - The DataStore DataType to store booleans as Parameters: trueValue - An object representing the true value Parameters: falseValue - An object representing the false value |
setExtraInfo | public void setExtraInfo(String string)(Code) | | Sets the extra info string. The string can be any arbitrary piece of information used by subclasses to construct themselves.
|
setLowerCaseFirstLetter | public void setLowerCaseFirstLetter(boolean lowerCaseFirstLetter)(Code) | | True to lower case the first letter of each attribute name. Otherwise it is the same case as the get method.
|
toClasses | public static Class[] toClasses(Object[] array)(Code) | | Convert an array of objects into an array of their classes.
Parameters: array - |
update | public synchronized void update() throws Exception(Code) | | Copies all the data changed in the datastore to the respective bean sources
|
update | public void update(boolean resetStatus) throws Exception(Code) | | Copies all the data changed in the datastore to the respective bean sources. Only resets the DataStoreStatus if you specify
|
update | public void update(Collection dataRows, Object storeBean, Method storeMethod) throws DataStoreException(Code) | | Copy changed data in the specified datastore rows to their bean source.
Using the bean's store method and parameters, save the changed data back to
physical storage through the EJB.
If the store method is null, do not call the store method.
Parameters: dataRow - Parameters: storeBean - - bean containing the storeMethod Parameters: storeMethod - Parameters: storeParams - - parameters of the storeMethod throws: DataStoreException - |
updateInternal | public synchronized boolean updateInternal(DSDataRow dataRow) throws DataStoreException(Code) | | Copy changed data in the specified datastore row to its bean source.
Data is not copied back to physical storage unless the bean is an Entity bean.
Return true if an update was required.
Parameters: dataRow - throws: DataStoreException - |
updateInternal | public synchronized boolean updateInternal(int row) throws DataStoreException(Code) | | Copy changed data in the specified datastore row to its bean source.
Data is not copied back to physical storage unless the bean is an Entity bean.
Return true if an update was required.
Parameters: row - throws: DataStoreException - |
updateInternal | public synchronized boolean updateInternal(Collection dataRows) throws DataStoreException(Code) | | Copy changed data in the specified datastore row to its bean source.
Data is not copied back to physical storage unless the beans are Entity bean.
Return true if an update was required.
Parameters: dataRows - throws: DataStoreException - |
Methods inherited from com.salmonllc.sql.DataStoreBuffer | public void addBucket(String internalname, int type)(Code)(Java Doc) public void addBucket(String internalname, int type, String format)(Code)(Java Doc) public void addExpressionRule(String column, DataStoreExpression expression, String errorMessage, boolean executeOnServer) throws DataStoreException(Code)(Java Doc) public void addExpressionRule(String column, String expression, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addExpressionRule(int column, DataStoreExpression expression, String errorMessage, boolean executeOnServer) throws DataStoreException(Code)(Java Doc) public void addExpressionRule(int column, String expression, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addJavaScriptRule(String column, String javaScript, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addJavaScriptRule(int column, String javaScript, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addLookupRule(String column, String lookupTable, String searchExpression, String descriptionColumn, String descriptionBucket, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addLookupRule(int column, String lookupTable, String searchExpression, String descriptionColumn, String descriptionBucket, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addModelChangedListener(ModelChangedListener l)(Code)(Java Doc) public void addRangeRule(int column, Object minValue, Object maxValue, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addRangeRule(String column, Object minValue, Object maxValue, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addRequiredRule(String column, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addRequiredRule(int column, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addReqularExpressionRule(String column, String regExp, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addReqularExpressionRule(int column, String regExp, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addTypeCheckRule(String column, String errorMessage) throws DataStoreException(Code)(Java Doc) public void addTypeCheckRule(int column, String errorMessage) throws DataStoreException(Code)(Java Doc) int addValidationRule(int column, ValidationRule rule) throws DataStoreException(Code)(Java Doc) int addValidationRule(String column, ValidationRule rule) throws DataStoreException(Code)(Java Doc) public void appendRows(Vector rows)(Code)(Java Doc) protected boolean areThereModelListeners()(Code)(Java Doc) public void autoRetrieve() throws Exception(Code)(Java Doc) public void clearAllValidationRules()(Code)(Java Doc) public void clearSelectedRow()(Code)(Java Doc) public void clearTempValues(int row) throws DataStoreException(Code)(Java Doc) public void clearTempValues() throws DataStoreException(Code)(Java Doc) public void clearValidationRules(int column) throws DataStoreException(Code)(Java Doc) public void clearValidationRules(String column) throws DataStoreException(Code)(Java Doc) public int compareRows(int row1, int row2, int[] cols)(Code)(Java Doc) public int compareRows(int row1, int row2, String[] cols)(Code)(Java Doc) public Object convertValue(String val, String columnName) throws DataStoreException(Code)(Java Doc) public static Object convertValue(String val, int dataType) throws ParseException(Code)(Java Doc) void copyMasterDataValuesToRow(DataStoreBuffer.TablesRelationshipDescription dsTables, DataStoreRow fromrow, DataStoreRow torow) throws DataStoreException(Code)(Java Doc) void copyMasterDataValuesToRow(DataStoreBuffer.TablesRelationshipDescription dsTables, DataStoreRow fromrow, DataStoreRow torow, int iTableRow) throws DataStoreException(Code)(Java Doc) void copyMasterKeyValuesToRow(DataStoreBuffer.TablesRelationshipDescription dsTables, DataStoreRow fromrow, DataStoreRow torow, int iTableRow) throws DataStoreException(Code)(Java Doc) public boolean deleteRow()(Code)(Java Doc) public boolean deleteRow(int row)(Code)(Java Doc) public String export() throws com.salmonllc.sql.DataStoreException(Code)(Java Doc) public void export(int format, boolean includeHeaders, PrintWriter p)(Code)(Java Doc) public void export(PrintWriter p) throws com.salmonllc.sql.DataStoreException(Code)(Java Doc) public void filter(String filter) throws DataStoreException(Code)(Java Doc) public void filterQBE(QBEBuilder filter) throws DataStoreException(Code)(Java Doc) public synchronized int find(int start, int end) throws DataStoreException(Code)(Java Doc) public synchronized boolean findFirst() throws DataStoreException(Code)(Java Doc) public synchronized boolean findLast() throws DataStoreException(Code)(Java Doc) public synchronized boolean findNext() throws DataStoreException(Code)(Java Doc) public synchronized boolean findPrior() throws DataStoreException(Code)(Java Doc) public static String fixQuote(String data, int dataType)(Code)(Java Doc) public static String fixQuote(String data, int dataType, String connectionType)(Code)(Java Doc) protected String fixSpecialHTMLCharacters(String input)(Code)(Java Doc) public boolean getAllowMasterRowDelete()(Code)(Java Doc) public Object getAny(int column) throws DataStoreException(Code)(Java Doc) public Object getAny(int row, int column) throws DataStoreException(Code)(Java Doc) public Object getAny(int row, String column) throws DataStoreException(Code)(Java Doc) public Object getAny(String column) throws DataStoreException(Code)(Java Doc) public boolean getAutoBind()(Code)(Java Doc) public int getAutoRetrieve()(Code)(Java Doc) public AutoRetrieveCriteria getAutoRetrieveCriteria()(Code)(Java Doc) static String getBoolProperty(boolean p)(Code)(Java Doc) public boolean getBucketsModified()(Code)(Java Doc) public boolean getBucketsModified(int row)(Code)(Java Doc) public byte[] getByteArray(int column) throws DataStoreException(Code)(Java Doc) public byte[] getByteArray(int row, int column) throws DataStoreException(Code)(Java Doc) public byte[] getByteArray(int row, String column) throws DataStoreException(Code)(Java Doc) public byte[] getByteArray(String column) throws DataStoreException(Code)(Java Doc) public int getColumnCount()(Code)(Java Doc) public int getColumnDataType(int column) throws DataStoreException(Code)(Java Doc) public int getColumnDataType(String column) throws DataStoreException(Code)(Java Doc) public int getColumnIndex(String column)(Code)(Java Doc) public String[] getColumnList()(Code)(Java Doc) public String getColumnName(int col) throws DataStoreException(Code)(Java Doc) DSDataRow getDataRow(int rowNo)(Code)(Java Doc) public DataStoreRow getDataStoreRow(int rowNo, int buffer) throws DataStoreException(Code)(Java Doc) public java.sql.Date getDate(int column) throws DataStoreException(Code)(Java Doc) public java.sql.Date getDate(int row, int column) throws DataStoreException(Code)(Java Doc) public java.sql.Date getDate(int row, String column) throws DataStoreException(Code)(Java Doc) public java.sql.Date getDate(String column) throws DataStoreException(Code)(Java Doc) public Timestamp getDateTime(int column) throws DataStoreException(Code)(Java Doc) public Timestamp getDateTime(int row, int column) throws DataStoreException(Code)(Java Doc) public Timestamp getDateTime(int row, String column) throws DataStoreException(Code)(Java Doc) public java.sql.Timestamp getDateTime(String column) throws DataStoreException(Code)(Java Doc) public int getDeletedCount()(Code)(Java Doc) DSDataStoreDescriptor getDescriptor()(Code)(Java Doc) public double getDouble(int column) throws DataStoreException(Code)(Java Doc) public double getDouble(int row, int column) throws DataStoreException(Code)(Java Doc) public double getDouble(int row, String column) throws DataStoreException(Code)(Java Doc) public double getDouble(String column) throws DataStoreException(Code)(Java Doc) public int getFilteredCount()(Code)(Java Doc) public float getFloat(int column) throws DataStoreException(Code)(Java Doc) public float getFloat(int row, int column) throws DataStoreException(Code)(Java Doc) public float getFloat(int row, String column) throws DataStoreException(Code)(Java Doc) public float getFloat(String column) throws DataStoreException(Code)(Java Doc) public String getFormat(int col) throws DataStoreException(Code)(Java Doc) public String getFormat(String col) throws DataStoreException(Code)(Java Doc) public String getFormattedString(int column) throws DataStoreException(Code)(Java Doc) public String getFormattedString(int row, int column) throws DataStoreException(Code)(Java Doc) public String getFormattedString(int row, String column) throws DataStoreException(Code)(Java Doc) public String getFormattedString(String column) throws DataStoreException(Code)(Java Doc) public int getInt(int column) throws DataStoreException(Code)(Java Doc) public int getInt(int row, int column) throws DataStoreException(Code)(Java Doc) public int getInt(int row, String column) throws DataStoreException(Code)(Java Doc) public int getInt(String column) throws DataStoreException(Code)(Java Doc) static String getIntProperty(int p)(Code)(Java Doc) public LanguagePreferences getLang()(Code)(Java Doc) public long getLong(int column) throws DataStoreException(Code)(Java Doc) public long getLong(int row, int column) throws DataStoreException(Code)(Java Doc) public long getLong(int row, String column) throws DataStoreException(Code)(Java Doc) public long getLong(String column) throws DataStoreException(Code)(Java Doc) protected Vector getModelListeners()(Code)(Java Doc) public Object getNullDefault(int dataType)(Code)(Java Doc) protected int getObjectType(Object obj)(Code)(Java Doc) public Properties getProperties()(Code)(Java Doc) public int getProxyRow(int rowNo)(Code)(Java Doc) public String getRemoteID()(Code)(Java Doc) public String getRemoteUpdateReturnValue()(Code)(Java Doc) public int getRow()(Code)(Java Doc) public int getRowCount()(Code)(Java Doc) public int getRowStatus()(Code)(Java Doc) public int getRowStatus(int row)(Code)(Java Doc) public Vector getRows()(Code)(Java Doc) public short getShort(int column) throws DataStoreException(Code)(Java Doc) public short getShort(int row, int column) throws DataStoreException(Code)(Java Doc) public short getShort(int row, String column) throws DataStoreException(Code)(Java Doc) public short getShort(String column) throws DataStoreException(Code)(Java Doc) public String getString(int column) throws DataStoreException(Code)(Java Doc) public String getString(int row, int column) throws DataStoreException(Code)(Java Doc) public String getString(int row, String column) throws DataStoreException(Code)(Java Doc) public String getString(String column) throws DataStoreException(Code)(Java Doc) static String getStringProperty(String p)(Code)(Java Doc) public String[] getTableList(boolean updateable)(Code)(Java Doc) TablesRelationshipDescription getTablesRelationshipDescription(DataStoreInterface ds)(Code)(Java Doc) TablesRelationshipDescription getTablesRelationshipDescription(DataStoreInterface ds, boolean bUpdateable)(Code)(Java Doc) public String getTempValue(int row, int column) throws DataStoreException(Code)(Java Doc) public String getTempValue(int row, String column) throws DataStoreException(Code)(Java Doc) public String getTempValue(String column) throws DataStoreException(Code)(Java Doc) public String getTempValue(int column) throws DataStoreException(Code)(Java Doc) public java.sql.Time getTime(int column) throws DataStoreException(Code)(Java Doc) public java.sql.Time getTime(int row, int column) throws DataStoreException(Code)(Java Doc) public java.sql.Time getTime(int row, String column) throws DataStoreException(Code)(Java Doc) public java.sql.Time getTime(String column) throws DataStoreException(Code)(Java Doc) public static String getTypeDescription(int type)(Code)(Java Doc) public ValidationRule[] getValidationRulesForColumn(int colNo)(Code)(Java Doc) public synchronized boolean gotoFirst()(Code)(Java Doc) public synchronized boolean gotoLast()(Code)(Java Doc) public synchronized boolean gotoNext()(Code)(Java Doc) public synchronized boolean gotoPrior()(Code)(Java Doc) public synchronized boolean gotoRow(int row)(Code)(Java Doc) public boolean hasManyToOneRelationship()(Code)(Java Doc) public boolean hasTempValues(int row) throws DataStoreException(Code)(Java Doc) public void importRow(com.salmonllc.xml.Row row) throws DataStoreException(Code)(Java Doc) public int insertRow()(Code)(Java Doc) public int insertRow(int atPosition)(Code)(Java Doc) protected synchronized void interruptWaitingCancelThreads()(Code)(Java Doc) protected synchronized void interruptWaitingRetrieveThreads()(Code)(Java Doc) public boolean isColumnInOneToManyRelationship(String sColumn)(Code)(Java Doc) public boolean isColumnModified(int row, int column) throws DataStoreException(Code)(Java Doc) public boolean isColumnModified(int row, String column) throws DataStoreException(Code)(Java Doc) public boolean isFormattedStringValid(int column, String value) throws DataStoreException(Code)(Java Doc) public boolean isFormattedStringValid(String column, String value) throws DataStoreException(Code)(Java Doc) public void notifyListeners(ModelChangedEvent e)(Code)(Java Doc) protected void notifyListeners(int type)(Code)(Java Doc) public void removeModelChangedListener(ModelChangedListener l)(Code)(Java Doc) public boolean removeRow()(Code)(Java Doc) public boolean removeRow(int row)(Code)(Java Doc) public synchronized void reset()(Code)(Java Doc) public void resetStatus()(Code)(Java Doc) public void setAllowMasterRowDelete(boolean bAllow)(Code)(Java Doc) public void setAny(int row, int column, Object value) throws DataStoreException(Code)(Java Doc) public void setAny(int column, Object value) throws DataStoreException(Code)(Java Doc) public void setAny(int row, String column, Object value) throws DataStoreException(Code)(Java Doc) public void setAny(String column, Object value) throws DataStoreException(Code)(Java Doc) public void setAutoBind(boolean value)(Code)(Java Doc) public void setAutoRetrieve(int value)(Code)(Java Doc) public void setAutoRetrieveCriteria(AutoRetrieveCriteria crit)(Code)(Java Doc) static boolean setBoolProperty(String p)(Code)(Java Doc) public void setBucketsModified(int row, boolean modified)(Code)(Java Doc) public void setBucketsModified(boolean modified)(Code)(Java Doc) public void setByteArray(int column, byte[] value) throws DataStoreException(Code)(Java Doc) public void setByteArray(int row, int column, byte[] value) throws DataStoreException(Code)(Java Doc) public void setByteArray(int row, String column, byte[] value) throws DataStoreException(Code)(Java Doc) public void setByteArray(String column, byte[] value) throws DataStoreException(Code)(Java Doc) protected void setCurrentRow(int currentRow)(Code)(Java Doc) public void setDataStoreRow(int rowNo, int buffer, DataStoreRow row) throws DataStoreException(Code)(Java Doc) public void setDate(int row, int column, java.sql.Date value) throws DataStoreException(Code)(Java Doc) public void setDate(int row, String column, java.sql.Date value) throws DataStoreException(Code)(Java Doc) public void setDate(int column, java.sql.Date value) throws DataStoreException(Code)(Java Doc) public void setDate(String column, java.sql.Date value) throws DataStoreException(Code)(Java Doc) public void setDateTime(int row, int column, java.sql.Timestamp value) throws DataStoreException(Code)(Java Doc) public void setDateTime(int row, String column, java.sql.Timestamp value) throws DataStoreException(Code)(Java Doc) public void setDateTime(int column, java.sql.Timestamp value) throws DataStoreException(Code)(Java Doc) public void setDateTime(String column, java.sql.Timestamp value) throws DataStoreException(Code)(Java Doc) public void setDistinct(boolean distinct)(Code)(Java Doc) public void setDouble(int column, double value) throws DataStoreException(Code)(Java Doc) public void setDouble(int row, int column, double value) throws DataStoreException(Code)(Java Doc) public void setDouble(int row, String column, double value) throws DataStoreException(Code)(Java Doc) public void setDouble(String column, double value) throws DataStoreException(Code)(Java Doc) public void setFindExpression(String exp) throws DataStoreException(Code)(Java Doc) public void setFloat(int column, float value) throws DataStoreException(Code)(Java Doc) public void setFloat(int row, int column, float value) throws DataStoreException(Code)(Java Doc) public void setFloat(int row, String column, float value) throws DataStoreException(Code)(Java Doc) public void setFloat(String column, float value) throws DataStoreException(Code)(Java Doc) public void setFormat(int col, String format) throws DataStoreException(Code)(Java Doc) public void setFormat(String col, String format) throws DataStoreException(Code)(Java Doc) public void setFormattedString(int row, int column, String value) throws DataStoreException(Code)(Java Doc) public void setFormattedString(int column, String value) throws DataStoreException(Code)(Java Doc) public void setFormattedString(int row, String column, String value) throws DataStoreException(Code)(Java Doc) public void setFormattedString(String column, String value) throws DataStoreException(Code)(Java Doc) public void setInt(int row, int column, int value) throws DataStoreException(Code)(Java Doc) public void setInt(int row, String column, int value) throws DataStoreException(Code)(Java Doc) public void setInt(String column, int value) throws DataStoreException(Code)(Java Doc) static int setIntProperty(String p)(Code)(Java Doc) public void setLang(LanguagePreferences preferences)(Code)(Java Doc) public void setLong(int row, int column, long value) throws DataStoreException(Code)(Java Doc) public void setLong(int column, long value) throws DataStoreException(Code)(Java Doc) public void setLong(int row, String column, long value) throws DataStoreException(Code)(Java Doc) public void setLong(String column, long value) throws DataStoreException(Code)(Java Doc) public void setNullDefault(int dataType, Object defaultValue)(Code)(Java Doc) public void setOrderBy(String orderBy)(Code)(Java Doc) public void setPrimaryKey(int col, boolean pkey) throws DataStoreException(Code)(Java Doc) public void setPrimaryKey(String col, boolean pkey) throws DataStoreException(Code)(Java Doc) public void setProperties(Properties p)(Code)(Java Doc) public void setRemoteID(String remoteID)(Code)(Java Doc) public void setRemoteUpdateReturnValue(String update)(Code)(Java Doc) public boolean setRowStatus(int status)(Code)(Java Doc) public boolean setRowStatus(int row, int status)(Code)(Java Doc) public void setRows(Vector rows)(Code)(Java Doc) public void setShort(int row, int column, short value) throws DataStoreException(Code)(Java Doc) public void setShort(int row, String column, short value) throws DataStoreException(Code)(Java Doc) public void setShort(int column, short value) throws DataStoreException(Code)(Java Doc) public void setShort(String column, short value) throws DataStoreException(Code)(Java Doc) public void setString(int row, int column, String value) throws DataStoreException(Code)(Java Doc) public void setString(int column, String value) throws DataStoreException(Code)(Java Doc) public void setString(int row, String column, String value) throws DataStoreException(Code)(Java Doc) public void setString(String column, String value) throws DataStoreException(Code)(Java Doc) static String setStringProperty(String p)(Code)(Java Doc) public void setTempValue(int row, int col, String value) throws DataStoreException(Code)(Java Doc) public void setTempValue(int col, String value) throws DataStoreException(Code)(Java Doc) public void setTempValue(String col, String value) throws DataStoreException(Code)(Java Doc) public void setTime(int row, int column, java.sql.Time value) throws DataStoreException(Code)(Java Doc) public void setTime(int row, String column, java.sql.Time value) throws DataStoreException(Code)(Java Doc) public void setTime(int column, java.sql.Time value) throws DataStoreException(Code)(Java Doc) public void setTime(String column, java.sql.Time value) throws DataStoreException(Code)(Java Doc) public void sort(int[] col, int dir) throws DataStoreException(Code)(Java Doc) public void sort(int[] col, int dir, boolean bUseQSAlgoritm) throws DataStoreException(Code)(Java Doc) public void sort(Object[] obj, int dir) throws DataStoreException(Code)(Java Doc) public void sort(String col, int dir) throws DataStoreException(Code)(Java Doc) public void sort(int col, int dir) throws DataStoreException(Code)(Java Doc) public void sort(DataStoreEvaluator eval, int dir) throws DataStoreException(Code)(Java Doc) public void sort(String col, int dir) throws DataStoreException(Code)(Java Doc) public int unDeleteRow(int row)(Code)(Java Doc) public void undoChanges(int row)(Code)(Java Doc) public DataStoreException[] validateColumn(int rowNo, String colName, DBConnection conn)(Code)(Java Doc) public DataStoreException[] validateColumn(int rowNo, int colNo, DBConnection conn)(Code)(Java Doc) protected void validateColumn(int rowNo, int colNo, Vector v, DBConnection conn)(Code)(Java Doc) public DataStoreException[] validateRow(int rowNo, DBConnection conn)(Code)(Java Doc) public DataStoreException[] validateRowsToUpdate(DBConnection conn, boolean stopAtFirstError)(Code)(Java Doc) public boolean valueEqual(int row, int col, Object value) throws DataStoreException(Code)(Java Doc) public boolean valueGreater(int row, int col, Object value) throws DataStoreException(Code)(Java Doc) public boolean valueLess(int row, int col, Object value) throws DataStoreException(Code)(Java Doc) public void waitForCancel()(Code)(Java Doc) public void waitForRetrieve()(Code)(Java Doc) public void waitForRetrieve(int iSeconds)(Code)(Java Doc) protected void waitForRow(int row)(Code)(Java Doc)
|
|
|