| org.openharmonise.rm.dsi.DataStoreObject
All known Subclasses: org.openharmonise.rm.resources.publishing.WebPage, org.openharmonise.rm.resources.users.UserGroup, org.openharmonise.rm.metadata.AbstractPropertyInstance, org.openharmonise.rm.sessions.Session, org.openharmonise.rm.resources.metadata.properties.Property, org.openharmonise.rm.resources.AbstractProfiledObject, org.openharmonise.rm.resources.AbstractEditableObject, org.openharmonise.rm.resources.metadata.values.Value, org.openharmonise.rm.resources.AbstractObject, org.openharmonise.rm.resources.metadata.properties.PropertyGroup, org.openharmonise.rm.resources.AbstractChildObject, org.openharmonise.rm.resources.metadata.values.ValueGroup, org.openharmonise.rm.resources.content.Document, org.openharmonise.rm.resources.AbstractParentObject, org.openharmonise.rm.resources.content.Section, org.openharmonise.rm.resources.users.User, org.openharmonise.rm.metadata.Profile,
DataStoreObject | public interface DataStoreObject (Code) | | An object whose data is taken from and saved to a relational database.
The DataStoreInterface interface provides methods for
accessing the information required for accessing the data directly
from the database.
author: Michael Bell version: $Revision: 1.1 $ |
getDBTableName | public String getDBTableName()(Code) | | Return the database table name associated with this class
|
getId | public int getId()(Code) | | Returns the identifier associated with this object in the DB
|
getInstanceColumnRef | public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code) | | Returns the ColumnRef associated to the specified column
name or XML node or attribute name.
Parameters: sColumn - the column, XML node, or attribute name to return a column reference for Parameters: bIsHist - the historical flag, true if the column is in the historical database table, otherwise false ColumnRef The created ColumnRef throws: DataStoreException - if any errors occur |
getInstanceJoinConditions | public JoinConditions getInstanceJoinConditions(String sObjectTag, boolean bIsOuter) throws DataStoreException(Code) | | Returns a JoinConditions which represents the join conditions
between this object and the object attribute represented by the given
String .
Parameters: sObjectTag - true if the returned join condition is an outer join, otherwise false a JoinConditions which represents the join conditionsbetween this object and the object attribute represented by the givenString throws: DataStoreException - if any errors occur |
processResultSet | public List processResultSet(CachedResultSet resultSet, SelectStatement select)(Code) | | Returns a List of DataStoreObject objects
which have been populated from the given CachedResultSet .
Parameters: resultSet - the result set containing data to populate objects with Parameters: select - the select statement which produced the result set a List of DataStoreObject objectswhich have been populated from the given CachedResultSet |
processResultSet | public List processResultSet(CachedResultSet resultSet, SelectStatement select, int limit)(Code) | | Returns a List of DataStoreObject objects
which have been populated from the given CachedResultSet
and has the specified maximum size.
Parameters: resultSet - the result set containing data to populate objects with Parameters: select - the select statement which produced the result set Parameters: limit - the maximum limit of objects to return in the list a List of DataStoreObject objectswhich have been populated from the given CachedResultSet |
|
|