|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSchemaDefinition2Accessor
TSchemaDefinition2Accessor is the interface for the access of TSD2 schema information.
The basic operations are define and undefine. Each of these operations returns a TResponse instance
containing the information as returned by Tamino in its response document.
TSD3 schema information can not be accessed by this type of accessor.
The TSD2 schema is only supported with Tamino version 3.X and below.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.softwareag.tamino.db.api.accessor.TAccessor |
---|
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration |
Methods inherited from interface com.softwareag.tamino.db.api.accessor.TInvalidatableAccessor |
---|
invalidate |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |