com.softwareag.tamino.db.api.accessor
Interface TGenericAccessor

All Superinterfaces:
TAccessor, TInvalidatableAccessor
All Known Implementing Classes:
TGenericAccessorImpl, TGenericAccessorTimeLoggingImpl

public interface TGenericAccessor
extends TAccessor

TGenericAccessor provides generic access operations that can be used to execute an arbitrary but valid command statement on Tamino and obtain the result as a TResponse instance.

Version:
$Revision: 1.11 $
Author:
Marcus Schreyer

Method Summary
 TResponseHandle execute(TCommandStatement commandStatement)
          Executes the given TCommandStatement instance on the connected Tamino database.
 TResponseHandle execute(TCommandStatement commandStatement, java.lang.String doctype, java.lang.String docname)
          Executes the given TCommandStatement instance on the connected Tamino database.
 
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

execute

TResponseHandle execute(TCommandStatement commandStatement,
                        java.lang.String doctype,
                        java.lang.String docname)
                        throws TAccessorException
Executes the given TCommandStatement instance on the connected Tamino database.

Parameters:
commandStatement - implies the command that needs to be executed on Tamino.
doctype - specifies the additional doctype information that might be needed.
docname - specifies the docname that might be needed for a referenced document.
Returns:
TResponse instance containing the commands invocation result.
Throws:
TAccessorException

execute

TResponseHandle execute(TCommandStatement commandStatement)
                        throws TAccessorException
Executes the given TCommandStatement instance on the connected Tamino database.

Returns:
TResponse instance containing the commands invocation result.
Throws:
TAccessorException


Copyright (c) 2013 Software AG. All Rights Reserved.