|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XRepository
XRepository defines the API to the data source and query registries. It is normally used during design time to modify the registries, such as creating new data sources or queries, and modifying the existing data sources or queries. Runtime methods for executing queries are defined in the base class, XDataService.
| Nested Class Summary | |
|---|---|
static interface |
XRepository.MetaDataListener
|
| Field Summary |
|---|
| Fields inherited from interface inetsoft.uql.XQueryRepository |
|---|
GLOBAL_SCOPE, LOCAL_QUERY, LOCAL_SCOPE, NORMAL_QUERY |
| Method Summary | |
|---|---|
void |
clearCache()
Clear cached data. |
XDataModel |
getDataModel(String dxname)
Get the data model for the specified data source. |
XDataSource |
getDataSource(String dsname)
Get the named data source. |
XDataSource |
getDataSource(String dsname,
boolean clone)
Get the named data source. |
DataSourceFolder |
getDataSourceFolder(String dsname)
Get the named data source folder. |
DataSourceFolder |
getDataSourceFolder(String dsname,
boolean clone)
Get the named data source folder. |
String[] |
getDataSourceFolderFullNames()
Get all data source folder names in repository. |
String[] |
getDataSourceFolderNames()
Get all data source folder names in repository. |
String[] |
getDataSourceFullNames()
Get full names of all the data sources in this repository. |
String[] |
getDataSourceNames()
Get the names of data sources in this repository. |
XDomain |
getDomain(String dxname)
Get the domain for the specified data source. |
XNode |
getMetaData(Object session,
XDataSource dx,
XNode mtype)
Deprecated. |
XNode |
getMetaData(Object session,
XDataSource dx,
XNode mtype,
boolean clone)
Deprecated. |
XNode |
getMetaData(Object session,
XDataSource dx,
XNode mtype,
boolean clone,
XRepository.MetaDataListener listener)
Build the meta data of this data source as a XNode tree. |
XQuery |
getQuery(String qname)
Get the query object for the named query. |
XQuery |
getQuery(String qname,
boolean cloned)
Get the query object for the named query. |
String |
getQueryDatasource(String qname)
Get data source of specified query. |
String |
getQueryFolder(String qname)
Get folder of specified query. |
String[] |
getQueryNames()
Get the names of queries in this repository. |
String[] |
getQueryNames(String ds,
String folder,
boolean checkFolder)
Get names of query in specified data source and folder. |
String |
getQueryType(String qname)
Get type of specified query. |
String[] |
getSubDataSourceNames(String path)
Get the children data source from the specified data source folder path. |
String[] |
getSubfolderNames(String path)
Get the children data source folder from the specified data source folder path. |
boolean |
isQueryVisible(String qname)
Return if query is visible or not. |
void |
refreshMetaData()
Clear the cached meta data. |
void |
refreshMetaData(String dxName)
Refresh matadata of a datasource. |
void |
removeDataSource(String dxname)
Remove a data source from the repository. |
boolean |
removeDataSourceFolder(String name)
Remove a data source folder from the repository. |
void |
removeDomain(String dxname)
Remove a domain from the repository. |
void |
removeQuery(String qname)
Remove a query from the repository. |
void |
renameQueryFolder(String nname,
String oname)
Rename a query folder in the repository. |
void |
updateDataModel(XDataModel dx)
Add or replace a data model in the repository. |
void |
updateDataSource(XDataSource dx,
String oname)
Add or replace a data source in the repository. |
void |
updateDataSource(XDataSource dx,
String oname,
Boolean actionRecord)
Add or replace a data source in the repository. |
void |
updateDataSourceFolder(DataSourceFolder dx,
String oname)
Add or replace a data source folder in the repository. |
void |
updateDomain(XDomain domain)
Add or replace a domain in the repository. |
void |
updateQuery(XQuery dx,
String oname)
Add or replace a query in the repository. |
void |
updateQuery(XQuery dx,
String oname,
Boolean actionRecord)
Add or replace a query in the query repository. |
| Methods inherited from interface inetsoft.uql.XDataService |
|---|
bind, close, connect, connect, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getConnectionParameters, getConnectionParameters, getConnectionParameters, getHandler, getQueryParameters, getQueryParameters, testDataSource |
| Methods inherited from interface inetsoft.uql.XQueryRepository |
|---|
getQueries, getQueryType |
| Method Detail |
|---|
String[] getDataSourceNames()
throws RemoteException
RemoteException
String[] getDataSourceFullNames()
throws RemoteException
RemoteException
String[] getDataSourceFolderNames()
throws RemoteException
RemoteException
String[] getDataSourceFolderFullNames()
throws RemoteException
RemoteException
String[] getSubfolderNames(String path)
throws RemoteException
path - the specified data source folder name.
RemoteException
String[] getSubDataSourceNames(String path)
throws RemoteException
path - the specified data source folder name.
RemoteException
XDataSource getDataSource(String dsname)
throws RemoteException
RemoteException
DataSourceFolder getDataSourceFolder(String dsname)
throws RemoteException
RemoteException
XDataSource getDataSource(String dsname,
boolean clone)
clone - true to clone data source, false otherwise.
DataSourceFolder getDataSourceFolder(String dsname,
boolean clone)
clone - true to clone data source folder, false otherwise.
void updateDataSource(XDataSource dx,
String oname)
throws Exception
dx - new data source.oname - old name of the data source, if the name has been changed.
Otherwise it should be null.
Exception
void updateDataSource(XDataSource dx,
String oname,
Boolean actionRecord)
throws Exception
dx - new data source.oname - old name of the data source, if the name has been changed.actionRecord - control whether write down audit record when remote
in designer.
Otherwise it should be null.
Exception
void updateDataSourceFolder(DataSourceFolder dx,
String oname)
throws Exception
dx - new data source folder.oname - old name of the data source folder, if the name has been
changed. Otherwise it should be null.
Exception
void removeDataSource(String dxname)
throws Exception
Exception
boolean removeDataSourceFolder(String name)
throws Exception
Exception
XDataModel getDataModel(String dxname)
throws RemoteException
dxname - the name of the data source.
RemoteException
XDomain getDomain(String dxname)
throws RemoteException
dxname - the name of the data source.
RemoteException
void updateDomain(XDomain domain)
throws Exception
domain - the new domain.
Exception
void removeDomain(String dxname)
throws Exception
dxname - the name of the data source to which the domain is
associated.
Exception
void updateDataModel(XDataModel dx)
throws Exception
dx - new data model.
Exception
String[] getQueryNames()
throws RemoteException
RemoteException
String[] getQueryNames(String ds,
String folder,
boolean checkFolder)
XQuery getQuery(String qname)
throws RemoteException
getQuery in interface XQueryRepositoryqname - the specified query name.
RemoteExceptionString getQueryDatasource(String qname)
String getQueryFolder(String qname)
String getQueryType(String qname)
XQuery getQuery(String qname,
boolean cloned)
throws RemoteException
RemoteExceptionboolean isQueryVisible(String qname)
void updateQuery(XQuery dx,
String oname)
throws Exception
updateQuery in interface XQueryRepositorydx - new query.oname - old name of the query, if the name has been changed.
Otherwise it should be null.
Exception
void updateQuery(XQuery dx,
String oname,
Boolean actionRecord)
throws Exception
dx - new query.oname - old name of the query, if the name has been changed.actionRecord - control whether write audit record when remote in
designer.
Otherwise it should be null.
Exception
void removeQuery(String qname)
throws Exception
removeQuery in interface XQueryRepositoryException
XNode getMetaData(Object session,
XDataSource dx,
XNode mtype)
throws Exception
session - session object.dx - data source.mtype - meta data type, defined in each data source.
Exception
XNode getMetaData(Object session,
XDataSource dx,
XNode mtype,
boolean clone)
throws Exception
session - session object.dx - data source.mtype - meta data type, defined in each data source.clone - true to clone the cached node.
Exception
XNode getMetaData(Object session,
XDataSource dx,
XNode mtype,
boolean clone,
XRepository.MetaDataListener listener)
throws Exception
session - session object.dx - data source.mtype - meta data type, defined in each data source.clone - true to clone the cached node.
Exceptionvoid clearCache()
void refreshMetaData(String dxName)
dxName - the specified datasource name.void refreshMetaData()
void renameQueryFolder(String nname,
String oname)
throws Exception
nname - new name of query folder.oname - old name of the query folder, if the name has been
changed. Otherwise it should be null.
Exception
|
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 | ||||||||