public class CLBrowserImpl extends CLBrowserBase implements CLBrowser
CLBrowser.AuthStateCONFIG_FILE, KEY_APP_PASS, KEY_APP_USER, KEY_DB_DATABASE, KEY_DB_PASS, KEY_DB_PORT, KEY_DB_SCHEMA, KEY_DB_SERV, KEY_DB_TYPE, KEY_DB_USER, KEY_OL_SCH_FILE| Modifier and Type | Method and Description |
|---|---|
long |
create(DataInstance i) |
long |
create(Instance i) |
java.lang.Long |
createDescriptionId() |
int |
delete(DataInstance i) |
int |
delete(Instance i) |
boolean |
doRefresh() |
boolean |
doRefresh(boolean fullRefresh) |
DataInstanceSet |
executeQuery(SelectQuery q,
boolean formattedValues) |
DataInstanceSet |
executeQuery(java.lang.String classname,
SelectQuery q)
Deprecated.
|
InstanceSet |
executeText(java.lang.String sqlText)
Executes any SQL command, use when data results are expected.
|
void |
executeTextNoReturn(java.lang.String sqlText)
Executes any SQL command, use when no results are expected.
|
void |
finalize() |
java.lang.Class |
findClass(java.lang.String classname) |
AppVO |
getApp() |
AppVO |
getApp(java.lang.String lang) |
java.lang.String |
getBytecode(java.lang.String classname) |
static CLBrowserImpl |
getCLBrowser() |
InstanceSet |
getDescriptionBlock(long id) |
InstanceSet |
getDescriptionBlock(long id,
java.lang.String lang) |
DescriptionVO |
getDescriptionVO(long id) |
DescriptionVO |
getDescriptionVO(java.lang.String domain,
java.lang.String name) |
DescriptionVO |
getDescriptionVOFromDB(long id,
java.lang.String lang) |
DescriptionVO |
getDescriptionVOFromDB(java.lang.String domain,
java.lang.String name,
java.lang.String lang) |
long |
getPrimaryKeys(java.lang.String type,
java.lang.String classname,
java.lang.Integer num) |
java.lang.String |
getSchema() |
java.lang.String |
getSerial() |
SSBrowser |
getServerBrowser() |
SSBrowser |
getSSBrowser() |
long |
getVersion() |
void |
impersonate(java.lang.String user,
java.lang.String pass) |
static void |
main(java.lang.String[] args) |
void |
saveAppVO(AppVO newAppVO) |
DescriptionVO |
saveDescriptionVO(DescriptionVO descvo,
long descId,
java.lang.String domain,
java.lang.String name,
java.lang.String description,
java.lang.String shortDescription,
java.lang.String comments) |
DescriptionVO |
saveDescriptionVO(DescriptionVO descvo,
java.lang.Long descId,
java.lang.String domain,
java.lang.String name,
java.lang.String description,
java.lang.String shortDescription,
java.lang.String comments)
Sends the DescriptionVO to the server, which updates its AppVO accordingly
and returns the DescriptionVO so that 'this' browser can also refresh the DescVO[]
This method must be implemented differently in 2-tier / 3-tier so it is declared abstract
This method is used by createDescriptionVO, which updates the local model (AppVO)
|
DescriptionVO |
saveDescriptionVO(DescriptionVO descvo,
java.lang.String lang,
java.lang.Long descId,
java.lang.String domain,
java.lang.String name,
java.lang.String description,
java.lang.String shortDescription,
java.lang.String comments) |
int |
saveFile(java.lang.String filename,
java.lang.String scontent,
ClassVO classvo,
DataInstance instance) |
int |
saveFile(java.lang.String filename,
java.lang.String scontent,
ClassVO classvo,
Instance instance) |
void |
setServerBrowser(SSBrowser serverBrowser) |
int |
update(DataInstance i) |
int |
update(Instance i) |
authenticate, changePassword, createDescriptionVO, createDescriptionVO, createDescriptionVO, createDescriptionVO, doRefresh, echo, executeQuery, flushPrivileges, getAppOld, getAuthType, getClass, getClass, getConfigItems, getConfigItemValue, getConfigItemValue, getCountry, getDatabaseName, getDbType, getDBTypes, getDefaultRole, getDescriptionBlock, getDescriptionBlock, getDescriptionVO, getDescriptionVOFromDB, getIcon, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceCount, getInstances, getInstanceSet, getInstanceSet, getInstanceSet, getInstanceSet, getInstanceSetValidStatus, getInstanceSetValidStatus, getInstanceSetValidStatus, getLang, getListById, getListByName, getListByParent, getLists, getMode, getPass, getPerfStats, getPort, getProperty, getRelation, getRelation, getResourceBytes, getSelectedListVO, getServer, getUser, getUserRecord, grantExecOnFunction, initApp, isEnableFilterInactiveStates, logPerformance, newInstance, resetUserPassword, saveAppVO, saveList, setAutomaticFields, setConfigItemValue, setCountry, setDatabaseName, setDbType, setDescription, setDescription, setDescription, setEnableFilterInactiveStates, setLang, setMode, setPass, setPort, setSchema, setServer, setUser, toString, unlockAccount, updateDescriptionVO, updateModelVersion, validate, verifyMandatoryequals, getClass, hashCode, notify, notifyAll, wait, wait, waitauthenticate, changePassword, createDescriptionVO, createDescriptionVO, createDescriptionVO, createDescriptionVO, doRefresh, echo, executeQuery, getAuthType, getClass, getClass, getConfigItems, getConfigItemValue, getConfigItemValue, getCountry, getDatabaseName, getDbType, getDBTypes, getDefaultRole, getDescriptionBlock, getDescriptionBlock, getDescriptionVO, getDescriptionVOFromDB, getIcon, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceCount, getInstances, getInstanceSet, getInstanceSet, getInstanceSet, getInstanceSet, getInstanceSetValidStatus, getInstanceSetValidStatus, getInstanceSetValidStatus, getLang, getListById, getListByName, getListByParent, getLists, getMode, getPerfStats, getPort, getProperty, getRelation, getRelation, getResourceBytes, getSelectedListVO, getServer, isEnableFilterInactiveStates, newInstance, resetUserPassword, saveAppVO, saveList, setAutomaticFields, setCountry, setDatabaseName, setDbType, setDescription, setDescription, setDescription, setEnableFilterInactiveStates, setLang, setPort, setSchema, setServer, unlockAccount, updateDescriptionVO, updateModelVersion, validate, verifyMandatorypublic static CLBrowserImpl getCLBrowser() throws java.lang.Exception
java.lang.Exceptionpublic long create(Instance i) throws java.sql.SQLException, DataException
create in interface CLBrowsercreate in class CLBrowserBasejava.sql.SQLExceptionDataExceptionpublic long create(DataInstance i) throws java.sql.SQLException, DataException
java.sql.SQLExceptionDataExceptionpublic int delete(Instance i) throws java.sql.SQLException, DataException
delete in interface CLBrowserjava.sql.SQLExceptionDataExceptionpublic int delete(DataInstance i) throws java.sql.SQLException, DataException
java.sql.SQLExceptionDataExceptionpublic int update(Instance i) throws java.sql.SQLException, DataException
update in interface CLBrowserupdate in class CLBrowserBasejava.sql.SQLExceptionDataExceptionpublic int update(DataInstance i) throws java.sql.SQLException, DataException
java.sql.SQLExceptionDataExceptionpublic DataInstanceSet executeQuery(SelectQuery q, boolean formattedValues) throws java.sql.SQLException
executeQuery in interface CLBrowserjava.sql.SQLException@Deprecated public DataInstanceSet executeQuery(java.lang.String classname, SelectQuery q) throws java.sql.SQLException
CLBrowserexecuteQuery in interface CLBrowserexecuteQuery in class CLBrowserBasejava.sql.SQLExceptionpublic InstanceSet executeText(java.lang.String sqlText) throws java.sql.SQLException, java.rmi.RemoteException
CLBrowserexecuteText in interface CLBrowsersqlText - is the sql commandjava.sql.SQLExceptionjava.rmi.RemoteExceptionpublic void executeTextNoReturn(java.lang.String sqlText)
throws java.sql.SQLException,
java.rmi.RemoteException
CLBrowserexecuteTextNoReturn in interface CLBrowsersqlText - is the sql commandjava.sql.SQLExceptionjava.rmi.RemoteExceptionpublic void saveAppVO(AppVO newAppVO) throws SchemaUpdateException, DataModelException
saveAppVO in interface CLBrowsersaveAppVO in class CLBrowserBaseSchemaUpdateExceptionDataModelExceptionpublic DescriptionVO saveDescriptionVO(DescriptionVO descvo, java.lang.Long descId, java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
CLBrowserBasepublic DescriptionVO saveDescriptionVO(DescriptionVO descvo, long descId, java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
public DescriptionVO saveDescriptionVO(DescriptionVO descvo, java.lang.String lang, java.lang.Long descId, java.lang.String domain, java.lang.String name, java.lang.String description, java.lang.String shortDescription, java.lang.String comments)
public long getVersion()
throws java.sql.SQLException,
ConnectionException,
DataModelException
getVersion in interface CLBrowserjava.sql.SQLExceptionConnectionExceptionDataModelExceptionpublic boolean doRefresh()
throws java.sql.SQLException,
ConnectionException,
DataModelException
doRefresh in interface CLBrowserdoRefresh in class CLBrowserBasejava.sql.SQLExceptionConnectionExceptionDataModelExceptionpublic boolean doRefresh(boolean fullRefresh)
throws java.sql.SQLException,
ConnectionException,
DataModelException
doRefresh in interface CLBrowserjava.sql.SQLExceptionConnectionExceptionDataModelExceptionpublic long getPrimaryKeys(java.lang.String type,
java.lang.String classname,
java.lang.Integer num)
throws java.sql.SQLException
getPrimaryKeys in interface CLBrowsergetPrimaryKeys in class CLBrowserBasejava.sql.SQLExceptionpublic SSBrowser getSSBrowser()
public AppVO getApp()
getApp in interface CLBrowsergetApp in class CLBrowserBasepublic AppVO getApp(java.lang.String lang)
getApp in interface CLBrowsergetApp in class CLBrowserBasepublic void setServerBrowser(SSBrowser serverBrowser)
public SSBrowser getServerBrowser()
public void finalize()
finalize in class java.lang.Objectpublic void impersonate(java.lang.String user,
java.lang.String pass)
throws AuthenticationException,
ConnectionException,
DataModelException
impersonate in interface CLBrowserimpersonate in class CLBrowserBaseAuthenticationExceptionConnectionExceptionDataModelExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic 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
saveFile in interface CLBrowserQuerySaveExceptionjava.sql.SQLExceptionjava.rmi.RemoteExceptionjava.io.IOExceptionDataExceptionpublic int saveFile(java.lang.String filename,
java.lang.String scontent,
ClassVO classvo,
DataInstance instance)
throws QuerySaveException,
java.sql.SQLException,
java.rmi.RemoteException,
java.io.IOException,
DataException
QuerySaveExceptionjava.sql.SQLExceptionjava.rmi.RemoteExceptionjava.io.IOExceptionDataExceptionpublic java.lang.String getBytecode(java.lang.String classname)
getBytecode in interface CLBrowserpublic java.lang.Class findClass(java.lang.String classname)
public java.lang.Long createDescriptionId()
throws java.sql.SQLException
createDescriptionId in interface CLBrowserjava.sql.SQLExceptionpublic InstanceSet getDescriptionBlock(long id, java.lang.String lang) throws java.sql.SQLException
getDescriptionBlock in interface CLBrowserjava.sql.SQLExceptionpublic InstanceSet getDescriptionBlock(long id) throws java.sql.SQLException
getDescriptionBlock in interface CLBrowserjava.sql.SQLExceptionpublic DescriptionVO getDescriptionVO(long id)
getDescriptionVO in interface CLBrowserpublic DescriptionVO getDescriptionVO(java.lang.String domain, java.lang.String name)
getDescriptionVO in interface CLBrowserpublic DescriptionVO getDescriptionVOFromDB(long id, java.lang.String lang) throws java.sql.SQLException
getDescriptionVOFromDB in interface CLBrowserjava.sql.SQLExceptionpublic DescriptionVO getDescriptionVOFromDB(java.lang.String domain, java.lang.String name, java.lang.String lang) throws java.sql.SQLException
getDescriptionVOFromDB in interface CLBrowserjava.sql.SQLException