public class TSchemaDefinition2AccessorTimeLoggingImpl extends TSchemaDefinition2AccessorImpl
canBeCancelled, clientRequests, requestCounter, SGUAI
Constructor and Description |
---|
TSchemaDefinition2AccessorTimeLoggingImpl(TStreamAccessor streamAccessor,
TResponseBuilder responseBuilder)
Special Constructor.
|
Modifier and Type | Method and Description |
---|---|
TResponse |
define(TXMLObject schemaObject)
Defines a schema represented by the given schema within the specified collection.
|
TResponse |
getCollection(java.lang.String collection)
Gets the collection with the specified name and hands back the result as a TResponse object.
|
java.util.Iterator<java.lang.String> |
getCollectionNames()
Gets the iterator for the list of all collection names stored within Tamino.
|
TResponse |
getSchema(java.lang.String collection,
java.lang.String schema)
Gets the schema or multiple schemas for the given collection and schema and hands back the result
as a TResponse object.
|
java.util.Iterator<java.lang.String> |
getSchemaNames(java.lang.String collection)
Gets the iterator for the list of schema names given within the specified collection, or if no collection
is given all schema names currently stored under the connected database.
|
TResponse |
undefine(java.lang.String collection,
java.lang.String schema)
Undefines a schema represented by the given schema within the specified collection.
|
cancelRequests, getAccessFailureVerifier, getResponseBuilder, getStreamAccessor, setAccessLocation, setCanBeCancelled, setMaximumRequestDuration, undefine
getAccessCollection, getAccessLocation, getApplicationName, getCanBeCancelled, getDatabaseUri, getInvocation, getLocale, getLockMode, getLockwaitMode, getMaximumRequestDuration, invalidate, invoke, invoke, invoke, setApplicationName, setInvocation, setLockMode, setLockwaitMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
public TSchemaDefinition2AccessorTimeLoggingImpl(TStreamAccessor streamAccessor, TResponseBuilder responseBuilder)
streamAccessor,
- internally needed for core stream access.responseBuilder,
- needed for building high level response objects.public java.util.Iterator<java.lang.String> getCollectionNames() throws TQueryException
getCollectionNames
in interface TSchemaDefinition2Accessor
getCollectionNames
in class TSchemaDefinition2AccessorImpl
TQueryException
- if the query for the collection names fails.public java.util.Iterator<java.lang.String> getSchemaNames(java.lang.String collection) throws TQueryException
getSchemaNames
in interface TSchemaDefinition2Accessor
getSchemaNames
in class TSchemaDefinition2AccessorImpl
collection
- specifies the collection for which all schema names have to be delivered. If this is not
specified all schema names are requested.TQueryException
- if the query for the schema names fails.public TResponse getCollection(java.lang.String collection) throws TQueryException
getCollection
in interface TSchemaDefinition2Accessor
getCollection
in class TSchemaDefinition2AccessorImpl
collection
- specifies the collection for which the query has been invoked. If no collection is given all
collections are referenced that are stored under the connected Tamino database.TQueryException
- if the query for the collection fails.public TResponse getSchema(java.lang.String collection, java.lang.String schema) throws TQueryException
getSchema
in interface TSchemaDefinition2Accessor
getSchema
in class TSchemaDefinition2AccessorImpl
collection
- specifies the Tamino collection for which schemas are requested.schema
- specifies the schema name for which schemas are requested.TQueryException
- if the query for the given schema fails.public TResponse define(TXMLObject schemaObject) throws TDefineException
define
in interface TSchemaDefinition2Accessor
define
in class TAbstractSchemaDefinitionAccessor
schemaObject
- containing the schema that has to be defined on Tamino.TDefineException
- due to any problems that might occur when defining the schema.public TResponse undefine(java.lang.String collection, java.lang.String schema) throws TUndefineException
undefine
in interface TSchemaDefinition2Accessor
undefine
in class TAbstractSchemaDefinitionAccessor
collection
- schema
- TUndefineException
- due to any problems that might occur when undefining the schema.Copyright (c) 2017 Software AG. All Rights Reserved.