|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.service.DataSourceRegistry
inetsoft.uql.service.RemoteDataSourceRegistry
public class RemoteDataSourceRegistry
Data source registry stores information about all data sources. The data comes from remote server.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.service.DataSourceRegistry |
|---|
changeListener, DATASOURCE, DATASOURCEFOLDER, ts |
| Constructor Summary | |
|---|---|
protected |
RemoteDataSourceRegistry()
Constructor. |
| Method Summary | |
|---|---|
boolean |
checkPermission(String resource,
char access)
|
protected void |
heartbeat()
Do a heartbeat to synchronize data. |
protected void |
init(boolean event)
Initialize data sources. |
void |
refresh(boolean event)
Refresh data source registry. |
void |
removeDataSource(String dxname)
Remove a data source from the repository. |
void |
removeDomain(String datasource)
Remove a domain object from the repository. |
void |
renameDatasource(String oname,
String nname)
Data source renamed, sync data model and domain. |
void |
renameDataSourceFolder(String oname,
String nname)
Data source folder renamed, sync its subfolders and sub datasources. |
void |
save()
Save the registry information to the registry XML file. |
void |
setDataSource(XDataSource dx,
String oname,
Boolean actionRecord)
Add or replace a data source in the repository. |
void |
setDomain(XDomain dx)
Add a domain object to the repository. |
protected void |
teardown()
Tear down data source registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RemoteDataSourceRegistry()
throws Exception
Exception| Method Detail |
|---|
protected void init(boolean event)
init in class DataSourceRegistryevent - true if should fire event when resource changes.public void refresh(boolean event)
refresh in class DataSourceRegistryevent - true if should fire event when resource changes.protected void teardown()
teardown in class DataSourceRegistryprotected void heartbeat()
heartbeat in class DataSourceRegistrypublic void save()
save in class DataSourceRegistry
public boolean checkPermission(String resource,
char access)
checkPermission in class DataSourceRegistrypublic void removeDomain(String datasource)
removeDomain in class DataSourceRegistrydatasource - the specified data source name.public void setDomain(XDomain dx)
setDomain in class DataSourceRegistrydx - the specified domain object to add.public void removeDataSource(String dxname)
removeDataSource in class DataSourceRegistrydxname - the specified data source name.
public void setDataSource(XDataSource dx,
String oname,
Boolean actionRecord)
setDataSource in class DataSourceRegistrydx - the specified data source.oname - only used in RempteDataSourceRegistry.actionRecord - only used in RemoteDataSourceRegistry.
public void renameDatasource(String oname,
String nname)
renameDatasource in class DataSourceRegistry
public void renameDataSourceFolder(String oname,
String nname)
renameDataSourceFolder in class DataSourceRegistry
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||