public interface TSchemaDefinition2Accessor extends TAccessor
Modifier and Type | Method and Description |
---|---|
TResponse |
define(TXMLObject schemaObject)
Defines a schema represented by the schemaObject in the Tamino database.
|
TResponse |
getCollection(java.lang.String collection)
Gets the collection or set of collections for the given collection name.
|
java.util.Iterator<java.lang.String> |
getCollectionNames()
Gets an iterator for the list of all collection names referenced by TSD2 schemas.
|
TResponse |
getSchema(java.lang.String collection,
java.lang.String schema)
Gets the schema or set of schemas for the given collection and schema name.
|
java.util.Iterator<java.lang.String> |
getSchemaNames(java.lang.String collection)
Gets an iterator for the list of all TSD2 schema names in the specified collection.
|
TResponse |
undefine(java.lang.String collection,
java.lang.String schema)
Undefines a schema specified by its name from the specified collection.
|
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
java.util.Iterator<java.lang.String> getCollectionNames() throws TQueryException
TQueryException
- signals an error while attempting to query for the collection names.java.util.Iterator<java.lang.String> getSchemaNames(java.lang.String collection) throws TQueryException
collection
- the collection for which all TSD2 schema names are to be returned. null or an
empty string indicates no collection is specified.TQueryException
- signals an error while attempting to query for the schema names.TResponse getCollection(java.lang.String collection) throws TQueryException
collection
- the collection to be returned; null or an
empty string indicates no collection is specified.TQueryException
- signals an error while attempting to query for the schemas.TResponse getSchema(java.lang.String collection, java.lang.String schema) throws TQueryException
collection
- the collection for which all TSD2 schemas are to be returned; null or an
empty string indicates no collection is specified.schema
- the schema which is to be returned; null or an empty string indicates no
schema is specified.TQueryException
- signals an error while attempting to query for the schemas.TResponse define(TXMLObject schemaObject) throws TDefineException
schemaObject
- containing the TSD2 schema to be defined in Tamino.TDefineException
- signals an error while attempting the define operation.TResponse undefine(java.lang.String collection, java.lang.String schema) throws TUndefineException
collection
- name of the Tamino collection.schema
- name of a Tamino schema, if null or an empty string the collection is undefined.TUndefineException
- signals an error while attempting the undefine operation.Copyright (c) 2017 Software AG. All Rights Reserved.