com.irisel.oms.olapi
Interface CLBrowser

All Known Subinterfaces:
BSBrowser, CLWSBrowser
All Known Implementing Classes:
CLBrowserBase, CLBrowserImpl, CLEJBBrowser, CLEnterpriseBrowser, CLGuiomBrowser, CLJaxWSBrowserImpl, CLRPCWSBrowserImpl

public interface CLBrowser

This interface is the facade of the OMS Data Access Layer. It provides access to the following features: 1) Application Metadata (AppVO) 2) Methods to query and update the database, to obtain primary keys, etc. 3) Methods to access OMS-OLAPI features such as Descriptions, Lists, Config Items, Authentication. 4) Methods to get/set connection properties (setters for internal use only).

Since:
1.0
Version:
1.0
Author:
José Manuel Gómez Álvarez
See Also:
AppVO

Nested Class Summary
static class CLBrowser.AuthState
           
 
Field Summary
static java.lang.String CONFIG_FILE
           
static java.lang.String KEY_APP_PASS
           
static java.lang.String KEY_APP_USER
           
static java.lang.String KEY_DB_DATABASE
           
static java.lang.String KEY_DB_PASS
           
static java.lang.String KEY_DB_PORT
           
static java.lang.String KEY_DB_SCHEMA
           
static java.lang.String KEY_DB_SERV
           
static java.lang.String KEY_DB_TYPE
           
static java.lang.String KEY_DB_USER
           
static java.lang.String KEY_OL_SCH_FILE
           
 
Method Summary
 CLBrowser.AuthState authenticate(java.lang.String user, java.lang.String pass)
           
 boolean changePassword(java.lang.String user, java.lang.String pass, java.lang.String newpass)
           
 long create(Instance i)
           
 java.lang.Long createDescriptionId()
           
 DescriptionVO createDescriptionVO(java.lang.String lang, long descId, java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
           
 DescriptionVO createDescriptionVO(java.lang.String domain, java.lang.String name)
           
 DescriptionVO createDescriptionVO(java.lang.String domain, java.lang.String name, java.lang.String description)
           
 DescriptionVO createDescriptionVO(java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
           
 int delete(Instance i)
           
 boolean doRefresh()
           
 boolean doRefresh(boolean askServerRefresh)
           
 boolean doRefresh(java.lang.Boolean askServerRefresh)
           
 java.lang.String echo(java.lang.String challenge)
           
 DataInstanceSet executeQuery(SelectQuery q, boolean formattedValues)
           
 DataInstanceSet executeQuery(SelectQuery q, java.lang.Boolean formattedValues)
           
 DataInstanceSet executeQuery(java.lang.String classname, SelectQuery q)
          "@deprecated
 InstanceSet executeText(java.lang.String text)
          Executes any SQL command, use when data results are expected.
 void executeTextNoReturn(java.lang.String text)
          Executes any SQL command, use when no results are expected.
 java.lang.Class findClass(java.lang.String classname)
           
 AppVO getApp()
           
 java.lang.String getAuthType()
           
 java.lang.String getBytecode(java.lang.String classname)
           
 ClassVO getClass(long classid)
           
 ClassVO getClass(java.lang.String classname)
           
 InstanceSet getConfigItems(java.lang.String configSet, java.lang.String configItem)
           
 java.lang.String getConfigItemValue(java.lang.String configSet, java.lang.String configItem)
           
 java.lang.String getConfigItemValue(java.lang.String configSet, java.lang.String configItem, java.lang.String defaultValue)
           
 java.lang.String getDatabaseName()
           
 java.lang.String getDbType()
           
 java.lang.String[] getDBTypes()
           
 RoleVO getDefaultRole()
           
 DescriptionVO getDescriptionVO(long descId)
           
 DescriptionVO getDescriptionVO(java.lang.Long descId)
           
 DescriptionVO getDescriptionVO(java.lang.String domain, java.lang.String name)
           
 DescriptionVO getDescriptionVOFromDB(long descId, java.lang.String lang)
           
 DescriptionVO getDescriptionVOFromDB(java.lang.Long descId, java.lang.String lang)
           
 DescriptionVO getDescriptionVOFromDB(java.lang.String domain, java.lang.String name, java.lang.String lang)
           
 javax.swing.Icon getIcon(java.lang.String classname)
           
 Instance getInstance(Instance instance)
           
 Instance getInstance(long classid, long oid)
           
 Instance getInstance(long classid, java.lang.String propertyname, java.lang.String value)
           
 Instance getInstance(java.lang.String classname, long oid)
           
 Instance getInstance(java.lang.String classname, java.lang.String propertyname, java.lang.String value)
           
 java.lang.Long getInstanceCount(java.lang.String classname, java.lang.String filter, int operator, java.lang.String value)
           
 InstanceSet getInstances(java.lang.String string)
           
 InstanceSet getInstanceSet(long classid, java.lang.String propertyname, java.lang.String value)
           
 InstanceSet getInstanceSet(java.lang.String classname, java.lang.String filter, int operator, java.lang.Object val)
           
 InstanceSet getInstanceSet(java.lang.String classname, java.lang.String propertyname, java.lang.String value)
           
 InstanceSet getInstanceSetValidStatus(java.lang.String classname, java.lang.String propertyname, int operator, java.lang.Object value, boolean bValidStatus)
           
 InstanceSet getInstanceSetValidStatus(java.lang.String classname, java.lang.String filter, java.lang.String value, boolean bValidStatus)
           
 ListType getListById(long listId)
           
 ListVO getListByName(java.lang.String listName)
           
 ListVO getListByParent(ListElmVO listElmVO)
           
 ListVO[] getLists()
           
 java.lang.String getMode()
           
 java.lang.Object getPerfStats()
           
 java.lang.String getPort()
           
 long getPrimaryKeys(java.lang.String type, java.lang.String classname, java.lang.Integer num)
           
 PropertyVO getProperty(java.lang.String classname, java.lang.String propertyname)
           
 RelationVO getRelation(ClassVO c, PropertyVO p)
           
 RelationVO getRelation(java.lang.String relname)
           
 byte[] getResourceBytes(java.lang.String uri)
           
 java.lang.String getSchema()
           
 ListType getSelectedListVO(Instance inst, int col)
          Returns the ListVO associated with a list value in a given data instance.
 java.lang.String getSerial()
           
 java.lang.String getServer()
           
 long getVersion()
           
 void impersonate(java.lang.String user, java.lang.String pass)
           
 boolean isEnableFilterInactiveStates()
           
 Instance newInstance(java.lang.String classname)
           
 boolean resetUserPassword(java.lang.String adminuser, java.lang.String adminpass, java.lang.String user, java.lang.String newpass)
           
 void saveAppVO()
           
 void saveAppVO(AppVO newAppVO)
           
 int saveFile(java.lang.String filename, java.lang.String scontent, ClassVO classvo, Instance instance)
           
 boolean saveList(ListVO list)
           
 void setAutomaticFields(Instance instance)
           
 void setDatabaseName(java.lang.String database)
           
 void setDbType(java.lang.String schema)
           
 void setDescription(ClassVO clsvo, DescriptionVO descvo)
           
 void setDescription(PropertyVO propvo, DescriptionVO descvo)
           
 void setDescription(RelationVO propvo, DescriptionVO descvo)
           
 void setEnableFilterInactiveStates(boolean enableFilterInactiveStates)
           
 void setPort(java.lang.String port)
           
 void setSchema(java.lang.String schema)
           
 void setServer(java.lang.String server)
           
 boolean unlockAccount(java.lang.String adminuser, java.lang.String adminpass, java.lang.String user)
           
 int update(Instance i)
           
 DescriptionVO updateDescriptionVO(DescriptionVO descvo, java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
           
 int updateModelVersion()
           
 ValidationVO validate(Instance instance)
           
 int verifyMandatory(Instance i)
           
 

Field Detail

CONFIG_FILE

static final java.lang.String CONFIG_FILE
See Also:
Constant Field Values

KEY_OL_SCH_FILE

static final java.lang.String KEY_OL_SCH_FILE
See Also:
Constant Field Values

KEY_DB_TYPE

static final java.lang.String KEY_DB_TYPE
See Also:
Constant Field Values

KEY_DB_SERV

static final java.lang.String KEY_DB_SERV
See Also:
Constant Field Values

KEY_DB_PORT

static final java.lang.String KEY_DB_PORT
See Also:
Constant Field Values

KEY_DB_DATABASE

static final java.lang.String KEY_DB_DATABASE
See Also:
Constant Field Values

KEY_DB_SCHEMA

static final java.lang.String KEY_DB_SCHEMA
See Also:
Constant Field Values

KEY_DB_USER

static final java.lang.String KEY_DB_USER
See Also:
Constant Field Values

KEY_DB_PASS

static final java.lang.String KEY_DB_PASS
See Also:
Constant Field Values

KEY_APP_USER

static final java.lang.String KEY_APP_USER
See Also:
Constant Field Values

KEY_APP_PASS

static final java.lang.String KEY_APP_PASS
See Also:
Constant Field Values
Method Detail

getServer

java.lang.String getServer()

getPort

java.lang.String getPort()

getDatabaseName

java.lang.String getDatabaseName()

getMode

java.lang.String getMode()

getDbType

java.lang.String getDbType()

getDBTypes

java.lang.String[] getDBTypes()
                              throws ConfigException
Throws:
ConfigException

setServer

void setServer(java.lang.String server)

setPort

void setPort(java.lang.String port)

setDatabaseName

void setDatabaseName(java.lang.String database)

setSchema

void setSchema(java.lang.String schema)

setDbType

void setDbType(java.lang.String schema)

getApp

AppVO getApp()

getVersion

long getVersion()
                throws java.sql.SQLException,
                       java.rmi.RemoteException,
                       QueryTreeException,
                       ConnectionException,
                       DataModelException
Throws:
java.sql.SQLException
java.rmi.RemoteException
QueryTreeException
ConnectionException
DataModelException

getClass

ClassVO getClass(java.lang.String classname)

getClass

ClassVO getClass(long classid)

getProperty

PropertyVO getProperty(java.lang.String classname,
                       java.lang.String propertyname)

create

long create(Instance i)
            throws java.sql.SQLException,
                   java.rmi.RemoteException,
                   DataException
Throws:
java.sql.SQLException
java.rmi.RemoteException
DataException

delete

int delete(Instance i)
           throws java.sql.SQLException,
                  java.rmi.RemoteException,
                  DataException
Throws:
java.sql.SQLException
java.rmi.RemoteException
DataException

update

int update(Instance i)
           throws java.sql.SQLException,
                  java.rmi.RemoteException,
                  DataException
Throws:
java.sql.SQLException
java.rmi.RemoteException
DataException

getInstance

Instance getInstance(java.lang.String classname,
                     long oid)
                     throws java.sql.SQLException,
                            java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstance

Instance getInstance(java.lang.String classname,
                     java.lang.String propertyname,
                     java.lang.String value)
                     throws java.sql.SQLException,
                            java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstance

Instance getInstance(long classid,
                     long oid)
                     throws java.sql.SQLException,
                            java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstance

Instance getInstance(long classid,
                     java.lang.String propertyname,
                     java.lang.String value)
                     throws java.sql.SQLException,
                            java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstanceSet

InstanceSet getInstanceSet(long classid,
                           java.lang.String propertyname,
                           java.lang.String value)
                           throws java.sql.SQLException,
                                  java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstanceSet

InstanceSet getInstanceSet(java.lang.String classname,
                           java.lang.String propertyname,
                           java.lang.String value)
                           throws java.sql.SQLException,
                                  java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstanceSetValidStatus

InstanceSet getInstanceSetValidStatus(java.lang.String classname,
                                      java.lang.String filter,
                                      java.lang.String value,
                                      boolean bValidStatus)
                                      throws java.sql.SQLException,
                                             java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstanceSetValidStatus

InstanceSet getInstanceSetValidStatus(java.lang.String classname,
                                      java.lang.String propertyname,
                                      int operator,
                                      java.lang.Object value,
                                      boolean bValidStatus)
                                      throws java.sql.SQLException,
                                             java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getInstances

InstanceSet getInstances(java.lang.String string)
                         throws java.rmi.RemoteException,
                                java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

executeQuery

DataInstanceSet executeQuery(SelectQuery q,
                             boolean formattedValues)
                             throws java.sql.SQLException,
                                    java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

executeQuery

DataInstanceSet executeQuery(SelectQuery q,
                             java.lang.Boolean formattedValues)
                             throws java.sql.SQLException,
                                    java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

echo

java.lang.String echo(java.lang.String challenge)

executeQuery

DataInstanceSet executeQuery(java.lang.String classname,
                             SelectQuery q)
                             throws java.sql.SQLException,
                                    java.rmi.RemoteException
"@deprecated

Throws:
java.sql.SQLException
java.rmi.RemoteException

executeText

InstanceSet executeText(java.lang.String text)
                        throws java.sql.SQLException,
                               java.rmi.RemoteException
Executes any SQL command, use when data results are expected.

Parameters:
text - is the sql command
Throws:
java.sql.SQLException
java.rmi.RemoteException

executeTextNoReturn

void executeTextNoReturn(java.lang.String text)
                         throws java.sql.SQLException,
                                java.rmi.RemoteException
Executes any SQL command, use when no results are expected.

Parameters:
text - is the sql command
Throws:
java.sql.SQLException
java.rmi.RemoteException

getPrimaryKeys

long getPrimaryKeys(java.lang.String type,
                    java.lang.String classname,
                    java.lang.Integer num)
                    throws java.sql.SQLException,
                           java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

getRelation

RelationVO getRelation(ClassVO c,
                       PropertyVO p)

getRelation

RelationVO getRelation(java.lang.String relname)

getListById

ListType getListById(long listId)
                     throws ListNotFoundException
Throws:
ListNotFoundException

getListByName

ListVO getListByName(java.lang.String listName)
                     throws ListNotFoundException
Throws:
ListNotFoundException

getLists

ListVO[] getLists()

saveList

boolean saveList(ListVO list)
                 throws java.rmi.RemoteException,
                        java.sql.SQLException,
                        DataException,
                        QuerySaveException
Throws:
java.rmi.RemoteException
java.sql.SQLException
DataException
QuerySaveException

getConfigItemValue

java.lang.String getConfigItemValue(java.lang.String configSet,
                                    java.lang.String configItem)
                                    throws java.rmi.RemoteException,
                                           java.sql.SQLException,
                                           QueryTreeException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException

getConfigItemValue

java.lang.String getConfigItemValue(java.lang.String configSet,
                                    java.lang.String configItem,
                                    java.lang.String defaultValue)
                                    throws java.rmi.RemoteException,
                                           java.sql.SQLException,
                                           QueryTreeException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException

getConfigItems

InstanceSet getConfigItems(java.lang.String configSet,
                           java.lang.String configItem)
                           throws java.rmi.RemoteException,
                                  java.sql.SQLException,
                                  QueryTreeException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException

getDescriptionVO

DescriptionVO getDescriptionVO(long descId)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDescriptionVO

DescriptionVO getDescriptionVO(java.lang.Long descId)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDescriptionVOFromDB

DescriptionVO getDescriptionVOFromDB(long descId,
                                     java.lang.String lang)
                                     throws java.rmi.RemoteException,
                                            java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

getDescriptionVOFromDB

DescriptionVO getDescriptionVOFromDB(java.lang.Long descId,
                                     java.lang.String lang)
                                     throws java.rmi.RemoteException,
                                            java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

getDescriptionVO

DescriptionVO getDescriptionVO(java.lang.String domain,
                               java.lang.String name)
                               throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getDescriptionVOFromDB

DescriptionVO getDescriptionVOFromDB(java.lang.String domain,
                                     java.lang.String name,
                                     java.lang.String lang)
                                     throws java.rmi.RemoteException,
                                            java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

createDescriptionId

java.lang.Long createDescriptionId()
                                   throws java.sql.SQLException,
                                          java.rmi.RemoteException
Throws:
java.sql.SQLException
java.rmi.RemoteException

createDescriptionVO

DescriptionVO createDescriptionVO(java.lang.String domain,
                                  java.lang.String name)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createDescriptionVO

DescriptionVO createDescriptionVO(java.lang.String domain,
                                  java.lang.String name,
                                  java.lang.String description)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createDescriptionVO

DescriptionVO createDescriptionVO(java.lang.String domain,
                                  java.lang.String name,
                                  java.lang.String description,
                                  java.lang.String shortDescription,
                                  java.lang.String comments)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createDescriptionVO

DescriptionVO createDescriptionVO(java.lang.String lang,
                                  long descId,
                                  java.lang.String domain,
                                  java.lang.String name,
                                  java.lang.String description,
                                  java.lang.String shortDescription,
                                  java.lang.String comments)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

updateDescriptionVO

DescriptionVO updateDescriptionVO(DescriptionVO descvo,
                                  java.lang.String domain,
                                  java.lang.String name,
                                  java.lang.String description,
                                  java.lang.String shortDescription,
                                  java.lang.String comments)
                                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setDescription

void setDescription(ClassVO clsvo,
                    DescriptionVO descvo)
                    throws java.rmi.RemoteException,
                           java.sql.SQLException,
                           DataException
Throws:
java.rmi.RemoteException
java.sql.SQLException
DataException

setDescription

void setDescription(PropertyVO propvo,
                    DescriptionVO descvo)
                    throws java.rmi.RemoteException,
                           java.sql.SQLException,
                           DataException
Throws:
java.rmi.RemoteException
java.sql.SQLException
DataException

setDescription

void setDescription(RelationVO propvo,
                    DescriptionVO descvo)
                    throws java.rmi.RemoteException,
                           java.sql.SQLException,
                           DataException
Throws:
java.rmi.RemoteException
java.sql.SQLException
DataException

updateModelVersion

int updateModelVersion()
                       throws java.sql.SQLException,
                              QueryTreeException,
                              QuerySaveException,
                              java.rmi.RemoteException,
                              DataModelException,
                              ConnectionException
Throws:
java.sql.SQLException
QueryTreeException
QuerySaveException
java.rmi.RemoteException
DataModelException
ConnectionException

saveAppVO

void saveAppVO()
               throws DataModelException,
                      java.rmi.RemoteException,
                      SchemaUpdateException
Throws:
DataModelException
java.rmi.RemoteException
SchemaUpdateException

saveAppVO

void saveAppVO(AppVO newAppVO)
               throws DataModelException,
                      java.rmi.RemoteException,
                      SchemaUpdateException
Throws:
DataModelException
java.rmi.RemoteException
SchemaUpdateException

saveFile

int saveFile(java.lang.String filename,
             java.lang.String scontent,
             ClassVO classvo,
             Instance instance)
             throws QuerySaveException,
                    java.sql.SQLException,
                    java.rmi.RemoteException,
                    java.io.IOException,
                    DataException
Throws:
QuerySaveException
java.sql.SQLException
java.rmi.RemoteException
java.io.IOException
DataException

doRefresh

boolean doRefresh()
                  throws java.sql.SQLException,
                         java.rmi.RemoteException,
                         QueryTreeException,
                         ConnectionException,
                         DataModelException
Throws:
java.sql.SQLException
java.rmi.RemoteException
QueryTreeException
ConnectionException
DataModelException

doRefresh

boolean doRefresh(java.lang.Boolean askServerRefresh)
                  throws java.rmi.RemoteException,
                         java.sql.SQLException,
                         QueryTreeException,
                         ConnectionException,
                         DataModelException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException
ConnectionException
DataModelException

doRefresh

boolean doRefresh(boolean askServerRefresh)
                  throws java.rmi.RemoteException,
                         java.sql.SQLException,
                         QueryTreeException,
                         ConnectionException,
                         DataModelException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException
ConnectionException
DataModelException

getAuthType

java.lang.String getAuthType()
                             throws java.rmi.RemoteException,
                                    java.sql.SQLException,
                                    QueryTreeException
Throws:
java.rmi.RemoteException
java.sql.SQLException
QueryTreeException

authenticate

CLBrowser.AuthState authenticate(java.lang.String user,
                                 java.lang.String pass)
                                 throws AuthenticationException,
                                        java.sql.SQLException,
                                        java.rmi.RemoteException
Throws:
AuthenticationException
java.sql.SQLException
java.rmi.RemoteException

changePassword

boolean changePassword(java.lang.String user,
                       java.lang.String pass,
                       java.lang.String newpass)
                       throws AuthenticationException,
                              java.sql.SQLException,
                              java.rmi.RemoteException
Throws:
AuthenticationException
java.sql.SQLException
java.rmi.RemoteException

resetUserPassword

boolean resetUserPassword(java.lang.String adminuser,
                          java.lang.String adminpass,
                          java.lang.String user,
                          java.lang.String newpass)
                          throws AuthenticationException,
                                 java.sql.SQLException,
                                 java.rmi.RemoteException
Throws:
AuthenticationException
java.sql.SQLException
java.rmi.RemoteException

impersonate

void impersonate(java.lang.String user,
                 java.lang.String pass)
                 throws AuthenticationException,
                        DataModelException,
                        java.rmi.RemoteException,
                        QueryTreeException,
                        ConnectionException,
                        java.sql.SQLException
Throws:
AuthenticationException
DataModelException
java.rmi.RemoteException
QueryTreeException
ConnectionException
java.sql.SQLException

getBytecode

java.lang.String getBytecode(java.lang.String classname)
                             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

findClass

java.lang.Class findClass(java.lang.String classname)

getDefaultRole

RoleVO getDefaultRole()

getListByParent

ListVO getListByParent(ListElmVO listElmVO)

getIcon

javax.swing.Icon getIcon(java.lang.String classname)

verifyMandatory

int verifyMandatory(Instance i)
                    throws java.rmi.RemoteException,
                           DataModelException
Throws:
java.rmi.RemoteException
DataModelException

newInstance

Instance newInstance(java.lang.String classname)
                     throws DataModelException
Throws:
DataModelException

getSchema

java.lang.String getSchema()
                           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getSelectedListVO

ListType getSelectedListVO(Instance inst,
                           int col)
                           throws ListNotFoundException
Returns the ListVO associated with a list value in a given data instance. The ListVO, for multi-level lists, depends on the selected values of the previous levels. While the property, in the model, is associated to the top-level ListVO, at runtime, the actual ListVO used depends on the selected values of previous levels.

Parameters:
inst - is a data instance (record from db)
col - is the column number (starting from 0)
Returns:
the list for that column in the context of the values of the record.
Throws:
ListNotFoundException

getResourceBytes

byte[] getResourceBytes(java.lang.String uri)

getInstance

Instance getInstance(Instance instance)
                     throws java.rmi.RemoteException,
                            java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

getInstanceCount

java.lang.Long getInstanceCount(java.lang.String classname,
                                java.lang.String filter,
                                int operator,
                                java.lang.String value)
                                throws java.rmi.RemoteException,
                                       java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

getInstanceSet

InstanceSet getInstanceSet(java.lang.String classname,
                           java.lang.String filter,
                           int operator,
                           java.lang.Object val)
                           throws java.rmi.RemoteException,
                                  java.sql.SQLException
Throws:
java.rmi.RemoteException
java.sql.SQLException

setAutomaticFields

void setAutomaticFields(Instance instance)

isEnableFilterInactiveStates

boolean isEnableFilterInactiveStates()

setEnableFilterInactiveStates

void setEnableFilterInactiveStates(boolean enableFilterInactiveStates)

getSerial

java.lang.String getSerial()

unlockAccount

boolean unlockAccount(java.lang.String adminuser,
                      java.lang.String adminpass,
                      java.lang.String user)
                      throws java.rmi.RemoteException,
                             java.sql.SQLException,
                             AuthenticationException
Throws:
java.rmi.RemoteException
java.sql.SQLException
AuthenticationException

getPerfStats

java.lang.Object getPerfStats()

validate

ValidationVO validate(Instance instance)