public class TSchemaDefinition3AccessorTimeLoggingImpl extends TSchemaDefinition3AccessorImpl
canBeCancelled, clientRequests, requestCounter, SGUAI
Constructor and Description |
---|
TSchemaDefinition3AccessorTimeLoggingImpl(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 |
define(TXMLObject schemaObject,
boolean asTest)
Deprecated.
Please use the method define( TXMLObject schemaObject, TDefineMode defineMode ) instead.
|
TResponse |
define(TXMLObject schemaObject,
TDefineMode defineMode)
Defines a Tamino schema depending on the defineMode indicator into the current database.
|
java.util.Iterator<java.lang.String> |
getCollectionNames()
Gets the iterator for the list of all collection names stored within Tamino.
|
java.util.Iterator<java.lang.String> |
getDoctypeNames(java.lang.String collection,
java.lang.String schema)
Gets the iterator for the list of all doctype names that are given for the specified collection and
schema.
|
java.util.Iterator<java.lang.String> |
getRootElementNames(java.lang.String collection)
Gets the root element names within the specified collection.
|
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.
|
java.util.Iterator<java.lang.String> |
getUndefinedRootElementNames(java.lang.String collection)
Gets the root element names within the specified collection wich do not belong to any defined schema.
|
TResponse |
undefine(java.lang.String collection,
java.lang.String schema)
Undefines a schema represented by the given schema within the specified collection.
|
define, define
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
undefine
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
public TSchemaDefinition3AccessorTimeLoggingImpl(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 TSchemaDefinition3Accessor
getCollectionNames
in class TSchemaDefinition3AccessorImpl
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 TSchemaDefinition3Accessor
getSchemaNames
in class TSchemaDefinition3AccessorImpl
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 java.util.Iterator<java.lang.String> getDoctypeNames(java.lang.String collection, java.lang.String schema) throws TQueryException
getDoctypeNames
in interface TSchemaDefinition3Accessor
getDoctypeNames
in class TSchemaDefinition3AccessorImpl
collection
- specifies the collection for which all doctype names have to be delivered.schema
- specifies the schema for which all doctype names have to be delivered.TQueryException
- if the query for the schema names fails.public TResponse getSchema(java.lang.String collection, java.lang.String schema) throws TQueryException
getSchema
in interface TSchemaDefinition3Accessor
getSchema
in class TSchemaDefinition3AccessorImpl
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 java.util.Iterator<java.lang.String> getRootElementNames(java.lang.String collection) throws TQueryException
getRootElementNames
in interface TSchemaDefinition3Accessor
getRootElementNames
in class TSchemaDefinition3AccessorImpl
collection
- the collection for which all root element names will be retrieved.TQueryException
- signals an error while attempting to query for the schemas.public java.util.Iterator<java.lang.String> getUndefinedRootElementNames(java.lang.String collection) throws TQueryException
getUndefinedRootElementNames
in interface TSchemaDefinition3Accessor
getUndefinedRootElementNames
in class TSchemaDefinition3AccessorImpl
collection
- the collection for which all undefined root element names will be retrieved.TQueryException
- signals an error while attempting to query for the schemas.public TResponse define(TXMLObject schemaObject, boolean asTest) throws TDefineException
define
in interface TSchemaDefinition3Accessor
define
in class TSchemaDefinition3AccessorImpl
schemaObject
- denotes the schema instance which should be defined on Tamino.asTest
- indicates if define should only be tested. If set to true define is tested otherwise
the schema is physically defined.TDefineException
- if the define for the given schema instance fails. This is the case regardless
of the value for the asTest parameter.public TResponse define(TXMLObject schemaObject, TDefineMode defineMode) throws TDefineException
define
in interface TSchemaDefinition3Accessor
define
in class TSchemaDefinition3AccessorImpl
schemaObject
- denotes the schema instance which should be defined on Tamino.defineMode
- indicates if the input schema should only be tested and if it should be validated.TDefineException
- if the define for the given schema instance fails. This is the case regardless
of the value for the asTest parameter.public TResponse define(TXMLObject schemaObject) throws TDefineException
define
in interface TSchemaDefinition3Accessor
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 TSchemaDefinition3Accessor
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.