|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VDBService
This interface defines methods which are specific to dealing with VDBs and their management in a server/dqp.
Method Summary | |
---|---|
void |
changeVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion,
int status)
Change the status of the VDB |
java.util.List<VDBArchive> |
getAvailableVDBs()
Get the list of VDBs available from the service |
java.util.List |
getConnectorBindingNames(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Get connector bindings for a particular vdb model. |
java.lang.String |
getConnectorName(java.lang.String connectorBindingID)
|
int |
getFileVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String pathInVDB)
Get visibility of the file at the given path in the vdb. |
int |
getModelVisibility(java.lang.String vdbName,
java.lang.String vdbVersion,
java.lang.String modelName)
Get model visibility |
java.util.List |
getMultiSourceModels(java.lang.String vdbName,
java.lang.String vdbVersion)
Get all multi-source model names (models that can be bound to multiple connector bindings) for this VDB name and version. |
java.io.InputStream |
getVDBResource(java.lang.String vdbName,
java.lang.String vdbVersion)
Get VDB resource contents |
int |
getVDBStatus(java.lang.String vdbName,
java.lang.String vdbVersion)
Get the Status of VDB |
Methods inherited from interface com.metamatrix.common.application.ApplicationService |
---|
initialize, start, stop |
Method Detail |
---|
java.util.List getConnectorBindingNames(java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws MetaMatrixComponentException
VDBConfiguration#getMultiSourceModels(String, String)
method can be used to determine which models are multi-source models.
vdbName
- VDB namevdbVersion
- VDB versionmodelName
- Model name
String
names of connectors
MetaMatrixComponentException
int getModelVisibility(java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String modelName) throws MetaMatrixComponentException
vdbName
- VDB namevdbVersion
- VDB versionmodelName
- The name of the model
MetaMatrixComponentException
int getFileVisibility(java.lang.String vdbName, java.lang.String vdbVersion, java.lang.String pathInVDB) throws MetaMatrixComponentException
vdbName
- VDB namevdbVersion
- VDB versionpathInVDB
- The path to the model in the VDB
MetaMatrixComponentException
java.io.InputStream getVDBResource(java.lang.String vdbName, java.lang.String vdbVersion) throws MetaMatrixComponentException
vdbName
- VDB namevdbVersion
- VDB version
MetaMatrixComponentException
java.util.List getMultiSourceModels(java.lang.String vdbName, java.lang.String vdbVersion) throws MetaMatrixComponentException
vdbName
- VDB namevdbVersion
- VDB version
MetaMatrixComponentException
java.util.List<VDBArchive> getAvailableVDBs() throws MetaMatrixComponentException
com.metamatrix.metadata.runtime.admin.vdb.VDBDefn
MetaMatrixComponentException
int getVDBStatus(java.lang.String vdbName, java.lang.String vdbVersion) throws MetaMatrixComponentException
vdbName
- - Name of the VDBvdbVersion
- - Version of the VDB
MetaMatrixComponentException
void changeVDBStatus(java.lang.String vdbName, java.lang.String vdbVersion, int status) throws ApplicationLifecycleException, MetaMatrixComponentException
vdbName
- - Name of the VDBvdbVersion
- - Version of the VDBstatus
- -
ApplicationLifecycleException
MetaMatrixComponentException
java.lang.String getConnectorName(java.lang.String connectorBindingID) throws MetaMatrixComponentException
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |