Package | Description |
---|---|
org.komodo.spi.metadata | |
org.komodo.spi.query | |
org.komodo.spi.repository | |
org.komodo.spi.repository.validation | |
org.komodo.spi.ui |
Modifier and Type | Method and Description |
---|---|
boolean |
MetadataInstance.dataSourceExists(String name) |
void |
MetadataInstance.deleteDataSource(String dsName)
Removes the data source from the metadata instance (if exists)
|
void |
MetadataInstance.deployDataSourceDriver(String driverName,
File driverFile)
Deploys a driver (jar or rar) to the related metadata instance
|
void |
MetadataInstance.deployDynamicVdb(String vdbName,
String vdbDeploymentName,
InputStream stream)
Deploy a dynamic vdb
|
TeiidDataSource |
MetadataInstance.getDataSource(String sourceName) |
Collection<ConnectionDriver> |
MetadataInstance.getDataSourceDrivers() |
Collection<TeiidDataSource> |
MetadataInstance.getDataSources() |
Set<String> |
MetadataInstance.getDataSourceTemplateNames()
Get all DataSource template names
|
TeiidDataSource |
MetadataInstance.getOrCreateDataSource(String displayName,
String dsName,
String typeName,
Properties properties)
Get the specified DataSource, or create one if it does not exist.
|
String |
MetadataInstance.getSchema(String vdbName,
String version,
String modelName) |
Collection<TeiidPropertyDefinition> |
MetadataInstance.getTemplatePropertyDefns(String driverName) |
TeiidTranslator |
MetadataInstance.getTranslator(String translatorName) |
Collection<TeiidTranslator> |
MetadataInstance.getTranslators() |
TeiidVdb |
MetadataInstance.getVdb(String vdbDeploymentName) |
Collection<String> |
MetadataInstance.getVdbNames() |
Collection<TeiidVdb> |
MetadataInstance.getVdbs() |
boolean |
MetadataInstance.hasVdb(String name) |
boolean |
MetadataInstance.hasVdbFailed(String vdbName) |
boolean |
MetadataInstance.isVdbActive(String vdbName) |
boolean |
MetadataInstance.isVdbLoading(String vdbName) |
QSResult |
MetadataInstance.query(String vdbName,
String query,
int offset,
int limit)
Query the vdb with given name
|
void |
MetadataInstance.refresh()
Refresh this instance to clear any cached and get the latest metadata.
|
List<String> |
MetadataInstance.retrieveVdbValidityErrors(String vdbName) |
void |
MetadataInstance.undeployDataSourceDriver(String driver)
Undeploy the named driver
|
void |
MetadataInstance.undeployDynamicVdb(String name)
Undeploy the dynamic vdb with the given name
|
boolean |
MetadataInstance.wasVdbRemoved(String vdbName) |
Modifier and Type | Method and Description |
---|---|
List<KomodoObject> |
KQueryManager.execute(Repository.UnitOfWork transaction,
Repository repository,
String queryStmt) |
Modifier and Type | Method and Description |
---|---|
KException |
Repository.UnitOfWork.getError() |
Modifier and Type | Method and Description |
---|---|
KomodoObject |
Repository.add(Repository.UnitOfWork transaction,
String parentPath,
String name,
String primaryType) |
KomodoObject |
KObjectFactory.addChild(Repository.UnitOfWork transaction,
KomodoObject parent,
String nodeName)
Adds a new Node with the given node as a parent
|
KomodoObject |
KObjectFactory.addChild(Repository.UnitOfWork transaction,
KomodoObject parent,
String nodeName,
String type)
Adds a new Node with the given node as a parent
|
KomodoObject |
KomodoObject.addChild(Repository.UnitOfWork transaction,
String name,
String primaryType)
Adds a child with the supplied name and primary type.
|
void |
KObjectFactory.addDescriptor(Repository.UnitOfWork transaction,
KomodoObject kObject,
String... descriptorNames)
Add the given descriptors to the node
|
void |
KomodoObject.addDescriptor(Repository.UnitOfWork transaction,
String... descriptorNames)
Adds the specified descriptor name(s).
|
Object |
KPropertyFactory.convert(Object value,
PropertyValueType type)
Values will be converted to a string if a conversion cannot be done.
|
KomodoObject |
KObjectFactory.create(Repository.UnitOfWork transaction,
Repository repository,
String absolutePath,
String nodeType) |
Repository.UnitOfWork |
Repository.createTransaction(String userName,
String name,
boolean rollbackOnly,
Repository.UnitOfWorkListener callback,
String repoUser) |
Result[] |
ValidationManager.evaluate(Repository.UnitOfWork uow,
KomodoObject kObject,
boolean full)
Evaluate the supplied object using all applicable rules for the object.
|
Result[] |
ValidationManager.evaluate(Repository.UnitOfWork uow,
KomodoObject kObject,
String... ruleId)
Evaluate the supplied object using the specified rules (if the rule is applicable for the object).
|
byte[] |
Exportable.export(Repository.UnitOfWork transaction,
Properties properties) |
KomodoObject |
KObjectFactory.exportTeiidVdb(Repository.UnitOfWork uow,
KomodoObject parent,
TeiidVdb teiidVdb) |
Rule[] |
ValidationManager.getAllRules(Repository.UnitOfWork uow)
Gets all of the current rules
|
InputStream |
KPropertyFactory.getBinary(Repository.UnitOfWork transaction,
Property property) |
InputStream |
Property.getBinaryValue(Repository.UnitOfWork uow) |
InputStream[] |
KPropertyFactory.getBinaryValues(Repository.UnitOfWork transaction,
Property property) |
Boolean |
KPropertyFactory.getBoolean(Repository.UnitOfWork transaction,
Property property) |
Boolean |
Property.getBooleanValue(Repository.UnitOfWork uow) |
Boolean[] |
Property.getBooleanValues(Repository.UnitOfWork uow) |
Boolean[] |
KPropertyFactory.getBooleanValues(Repository.UnitOfWork transaction,
Property property) |
KomodoObject |
KObjectFactory.getChild(Repository.UnitOfWork transaction,
KomodoObject parent,
String name) |
KomodoObject |
KomodoObject.getChild(Repository.UnitOfWork transaction,
String name)
Obtains the first child with the specified name regardless of the type.
|
KomodoObject |
KomodoObject.getChild(Repository.UnitOfWork transaction,
String name,
String typeName)
Obtains the first child with the specified name having the specified primary type or mixin.
|
Collection<KomodoObject> |
KObjectFactory.getChildren(Repository.UnitOfWork transaction,
KomodoObject parent,
String... namePatterns) |
KomodoObject[] |
KomodoObject.getChildren(Repository.UnitOfWork transaction,
String... namePatterns)
Name patterns may be a full name or a partial name with one or more wildcard characters ("*").
|
KomodoObject[] |
KomodoObject.getChildrenOfType(Repository.UnitOfWork transaction,
String type,
String... namePatterns)
Name patterns may be a full name or a partial name with one or more wildcard characters ("*").
|
Calendar |
KPropertyFactory.getDate(Repository.UnitOfWork transaction,
Property property) |
Calendar |
Property.getDateValue(Repository.UnitOfWork uow) |
Calendar[] |
Property.getDateValues(Repository.UnitOfWork uow) |
Calendar[] |
KPropertyFactory.getDateValues(Repository.UnitOfWork transaction,
Property property) |
PropertyDescriptor |
Property.getDescriptor(Repository.UnitOfWork uow) |
Descriptor |
KObjectFactory.getDescriptor(Repository.UnitOfWork transaction,
KomodoObject kObject,
String name) |
Descriptor |
KomodoObject.getDescriptor(Repository.UnitOfWork transaction,
String typeName) |
Descriptor[] |
KomodoObject.getDescriptors(Repository.UnitOfWork transaction) |
Collection<Descriptor> |
KObjectFactory.getDescriptors(Repository.UnitOfWork transaction,
KomodoObject kObject) |
DocumentType |
Exportable.getDocumentType(Repository.UnitOfWork transaction) |
Double |
KPropertyFactory.getDouble(Repository.UnitOfWork transaction,
Property property) |
Double |
Property.getDoubleValue(Repository.UnitOfWork uow) |
Double[] |
Property.getDoubleValues(Repository.UnitOfWork uow) |
Double[] |
KPropertyFactory.getDoubleValues(Repository.UnitOfWork transaction,
Property property) |
KomodoObject |
Repository.getFromWorkspace(Repository.UnitOfWork transaction,
String path)
Get an object from the workspace part of the repository.
|
Property |
KObjectFactory.getId(Repository.UnitOfWork transaction,
KomodoObject kObject) |
Integer |
KPropertyFactory.getInteger(Repository.UnitOfWork transaction,
Property property) |
Integer |
Property.getIntegerValue(Repository.UnitOfWork uow) |
Integer[] |
Property.getIntegerValues(Repository.UnitOfWork uow) |
Integer[] |
KPropertyFactory.getIntegerValues(Repository.UnitOfWork transaction,
Property property) |
Long |
KPropertyFactory.getLong(Repository.UnitOfWork transaction,
Property property) |
Long |
Property.getLongValue(Repository.UnitOfWork uow) |
Long[] |
Property.getLongValues(Repository.UnitOfWork uow) |
Long[] |
KPropertyFactory.getLongValues(Repository.UnitOfWork transaction,
Property property) |
MetadataInstance |
Repository.getMetadataInstance()
Get Metadata Instance
|
String |
KNode.getName(Repository.UnitOfWork transaction) |
String |
Exportable.getName(Repository.UnitOfWork transaction) |
String |
KObjectFactory.getName(Repository.UnitOfWork transaction,
KomodoObject kObject) |
String |
KPropertyFactory.getName(Repository.UnitOfWork transaction,
Property property) |
String |
KObjectFactory.getNamespaceURI(Repository.UnitOfWork transaction,
String prefix) |
KomodoObject |
KObjectFactory.getNode(Repository.UnitOfWork transaction,
Repository repository,
String absolutePath) |
KomodoObject |
KObjectFactory.getNodeById(Repository.UnitOfWork transaction,
Repository repository,
String id) |
KomodoObject |
KNode.getParent(Repository.UnitOfWork transaction) |
KomodoObject |
KObjectFactory.getParent(Repository.UnitOfWork transaction,
KomodoObject kObject) |
KomodoObject |
KPropertyFactory.getParent(Repository.UnitOfWork transaction,
Property property) |
Descriptor[] |
KObjectFactory.getParentDescriptors(Repository.UnitOfWork transaction,
Repository repository,
Descriptor descriptor) |
Descriptor |
KomodoObject.getPrimaryType(Repository.UnitOfWork transaction) |
Property |
KObjectFactory.getProperty(Repository.UnitOfWork transaction,
KomodoObject kObject,
String propertyName) |
Property |
KomodoObject.getProperty(Repository.UnitOfWork transaction,
String name) |
PropertyDescriptor |
KObjectFactory.getPropertyDescriptor(Repository.UnitOfWork transaction,
KomodoObject kObject,
String propName) |
PropertyDescriptor |
KPropertyFactory.getPropertyDescriptor(Repository.UnitOfWork transaction,
Property property) |
PropertyDescriptor |
KomodoObject.getPropertyDescriptor(Repository.UnitOfWork transaction,
String propName) |
PropertyDescriptor[] |
KomodoObject.getPropertyDescriptors(Repository.UnitOfWork transaction) |
PropertyDescriptor[] |
Descriptor.getPropertyDescriptors(Repository.UnitOfWork transaction) |
Collection<PropertyDescriptor> |
KObjectFactory.getPropertyDescriptors(Repository.UnitOfWork transaction,
Descriptor nodeDescriptor) |
String[] |
KomodoObject.getPropertyNames(Repository.UnitOfWork transaction)
Subclasses may choose to implement this so that it may not represent that actual, physical property names.
|
Collection<String> |
KObjectFactory.getPropertyNames(Repository.UnitOfWork transaction,
KomodoObject kObject) |
KomodoObject[] |
KomodoObject.getRawChildren(Repository.UnitOfWork transaction,
String... namePatterns)
Subclasses may implement
#getChildren(UnitOfWork, String...) in such a way that it does not represent the actual
set of child nodes. |
Descriptor[] |
KomodoObject.getRawDescriptors(Repository.UnitOfWork transaction) |
KomodoObject |
KomodoObject.getRawParent(Repository.UnitOfWork transaction) |
Property |
KomodoObject.getRawProperty(Repository.UnitOfWork transaction,
String name)
Obtains a property even if it has been filtered out by the subclasses.
|
PropertyDescriptor[] |
KomodoObject.getRawPropertyDescriptors(Repository.UnitOfWork transaction) |
String[] |
KomodoObject.getRawPropertyNames(Repository.UnitOfWork transaction)
Subclasses may implement
#getPropertyNames(UnitOfWork) in such a way that it does not represent the actual set of
properties. |
String |
KPropertyFactory.getReference(Repository.UnitOfWork transaction,
Property property) |
String[] |
KPropertyFactory.getReferenceValues(Repository.UnitOfWork transaction,
Property property) |
Repository |
KNode.getRepository() |
Rule |
ValidationManager.getRule(Repository.UnitOfWork uow,
String ruleId)
Get the rule with the specified RuleId
|
Rule[] |
ValidationManager.getRules(Repository.UnitOfWork uow,
KomodoObject kObj)
Gets the Rules that are valid for the supplied KomodoObject
|
String |
KPropertyFactory.getString(Repository.UnitOfWork transaction,
Property property) |
String |
Property.getStringValue(Repository.UnitOfWork uow) |
String[] |
Property.getStringValues(Repository.UnitOfWork uow) |
String[] |
KPropertyFactory.getStringValues(Repository.UnitOfWork transaction,
Property property) |
Descriptor |
KObjectFactory.getType(Repository.UnitOfWork transaction,
KomodoObject kObject) |
PropertyValueType |
KPropertyFactory.getType(Repository.UnitOfWork transaction,
Property property) |
KomodoType |
KomodoObject.getTypeIdentifier(Repository.UnitOfWork transaction) |
KomodoObject |
Repository.getUsingId(Repository.UnitOfWork transaction,
String jcrUuid)
Gets the
KomodoObject with the specified identifier. |
ValidationManager |
Repository.getValidationManager() |
Object |
Property.getValue(Repository.UnitOfWork uow) |
Object[] |
Property.getValues(Repository.UnitOfWork uow) |
PropertyValueType |
Property.getValueType(Repository.UnitOfWork uow) |
boolean |
Repository.UnitOfWork.hasChanges() |
boolean |
KObjectFactory.hasChild(Repository.UnitOfWork transaction,
KomodoObject parent,
String childName) |
boolean |
KomodoObject.hasChild(Repository.UnitOfWork transaction,
String name)
Indicates if a child exists with the specified name, regardless of the type.
|
boolean |
KomodoObject.hasChild(Repository.UnitOfWork transaction,
String name,
String typeName)
Indicates if a child exists with the specified name and the specified primary type or mixin.
|
boolean |
KomodoObject.hasChildren(Repository.UnitOfWork transaction)
This method can be overridden by subclasses to filter out child nodes.
|
boolean |
KObjectFactory.hasChildren(Repository.UnitOfWork transaction,
KomodoObject kObject) |
boolean |
KomodoObject.hasDescriptor(Repository.UnitOfWork transaction,
String descriptorName) |
boolean |
KObjectFactory.hasNode(Repository.UnitOfWork transaction,
String absolutePath) |
boolean |
KomodoObject.hasProperties(Repository.UnitOfWork transaction) |
boolean |
KObjectFactory.hasProperty(Repository.UnitOfWork transaction,
KomodoObject kObject,
String propertyName) |
boolean |
KomodoObject.hasProperty(Repository.UnitOfWork transaction,
String name) |
boolean |
KomodoObject.hasRawChild(Repository.UnitOfWork transaction,
String name)
Indicates if a child, filtered or unfiltered, exists with the specified name, regardless of the type.
|
boolean |
KomodoObject.hasRawChild(Repository.UnitOfWork transaction,
String name,
String typeName)
Indicates if a child, filtered or unfiltered, exists with the specified name and the specified primary type or mixin.
|
boolean |
KomodoObject.hasRawChildren(Repository.UnitOfWork transaction) |
boolean |
KomodoObject.hasRawProperty(Repository.UnitOfWork transaction,
String name) |
void |
ValidationManager.importRules(Repository.UnitOfWork uow,
File rulesXmlFile,
boolean overwriteExisting) |
boolean |
ValidationManager.isApplicable(Repository.UnitOfWork uow,
String ruleId,
KomodoObject kObj)
Determine if the specified RuleId is applicable for the supplied KomodoObject
|
boolean |
Property.isMultiple(Repository.UnitOfWork uow) |
boolean |
KPropertyFactory.isMultiple(Repository.UnitOfWork transaction,
Property property) |
KomodoObject |
Repository.komodoEnvironment(Repository.UnitOfWork transaction)
The root of the Komodo environment area in the repository (i.e., /tko:komodo/tko:environment).
|
KomodoObject |
Repository.komodoLibrary(Repository.UnitOfWork transaction)
The komodo library in the repository, ie.
|
KomodoObject |
Repository.komodoProfile(Repository.UnitOfWork uow)
The komodo user's profile in the repository, ie.
|
KomodoObject |
Repository.komodoProfiles(Repository.UnitOfWork transaction) |
KomodoObject |
Repository.komodoSearches(Repository.UnitOfWork transaction)
The komodo workspace searches group in the repository, ie.
|
KomodoObject |
Repository.komodoValidationRoot(Repository.UnitOfWork transaction) |
KomodoObject |
Repository.komodoWorkspace(Repository.UnitOfWork transaction)
The komodo user's workspace in the repository, ie.
|
void |
KObjectFactory.move(Repository.UnitOfWork transaction,
KomodoObject kObject,
String newPath) |
void |
KomodoObject.print(Repository.UnitOfWork transaction)
Prints this object's subtree to standard out
|
void |
KObjectFactory.print(Repository.UnitOfWork transaction,
KomodoObject kObject) |
void |
Repository.provision(Repository.UnitOfWork transaction,
KomodoObject object,
Repository.OperationType requestType)
Prepares the given object to be acted upon by the transaction, including testing if
such operation violates any security constraints and ensuring that a user-space is
available in the workspace.
|
void |
Repository.publish(Repository.UnitOfWork transaction,
boolean overwrite,
ArtifactDescriptor descriptor,
KomodoObject komodoObject) |
List<KomodoObject> |
Repository.query(Repository.UnitOfWork transaction,
String query) |
void |
KomodoObject.remove(Repository.UnitOfWork transaction)
Removes this node.
|
void |
KObjectFactory.remove(Repository.UnitOfWork transaction,
KomodoObject kObject) |
void |
Repository.remove(Repository.UnitOfWork transaction,
String... paths) |
void |
KomodoObject.removeChild(Repository.UnitOfWork transaction,
String... names)
To remove children with same name, the same name must be passed in more than once.
|
void |
KObjectFactory.removeDescriptor(Repository.UnitOfWork transaction,
KomodoObject kObject,
String... descriptorNames) |
void |
KomodoObject.removeDescriptor(Repository.UnitOfWork transaction,
String... descriptorNames) |
void |
KomodoObject.rename(Repository.UnitOfWork transaction,
String newName) |
Artifact[] |
Repository.retrieve(Repository.UnitOfWork transaction,
String... artifactPaths) |
List<KomodoObject> |
Repository.searchByKeyword(Repository.UnitOfWork transaction,
String type,
String property,
Repository.KeywordCriteria keywordCriteria,
String... keywords) |
List<KomodoObject> |
Repository.searchByPath(Repository.UnitOfWork transaction,
String path) |
List<KomodoObject> |
Repository.searchByType(Repository.UnitOfWork transaction,
String... types) |
void |
Property.set(Repository.UnitOfWork uow,
Object... values) |
void |
KomodoObject.setPrimaryType(Repository.UnitOfWork transaction,
String typeName) |
void |
KObjectFactory.setProperty(Repository.UnitOfWork transaction,
KomodoObject kObject,
String propertyName,
Object... values)
Set the property of this node to the given value(s)
|
void |
KomodoObject.setProperty(Repository.UnitOfWork transaction,
String propertyName,
Object... values)
Creates the property if it does not exist.
|
void |
ValidationManager.setRuleEnabled(Repository.UnitOfWork uow,
boolean isEnabled,
String... ruleId)
Set the Rule enablement
|
void |
ValidationManager.setRuleSeverity(Repository.UnitOfWork uow,
Outcome.Level severity,
String... ruleId)
Set the Rule severity
|
void |
KObjectFactory.setType(Repository.UnitOfWork transaction,
KomodoObject kObject,
String type) |
void |
KPropertyFactory.setValue(Repository.UnitOfWork transaction,
Property property,
Object... values)
Set the value of the property
|
void |
Repository.unpublish(Repository.UnitOfWork transaction,
String... artifactPaths) |
List<String> |
ValidationManager.validateRules(File rulesXmlFile) |
Modifier and Type | Method and Description |
---|---|
void |
KomodoObjectLabelProvider.setRepository(Repository repository,
Repository.UnitOfWork transaction)
This method will be called by the Komodo shell framework and should not be called.
|
Copyright © 2013–2019. All rights reserved.