public class TNonXMLObjectAccessorTimeLoggingImpl extends TNonXMLObjectAccessorImpl
canBeCancelled, clientRequests, requestCounter, SGUAI
Constructor and Description |
---|
TNonXMLObjectAccessorTimeLoggingImpl(TAccessLocation accessLocation,
TInvocation invocation,
TResponseBuilder responseBuilder,
java.util.Locale locale)
Special Constructor.
|
Modifier and Type | Method and Description |
---|---|
TResponse |
delete(TNonXMLObject nonXMLObject)
Deletes the non XML document represented by the TNonXMLObject from the Tamino database.
|
TResponse |
delete(TQuery xPath)
Deletes the non XML document implicitly given by the specified xpath query.
|
TResponse |
insert(TNonXMLObject nonXMLObject)
Inserts the Non-XML document represented by the TNonXMLObject instance into the Tamino database.
|
TResponse |
query(TQuery xPath)
Queries for a single non XML document specified by the given TNonXMLQuery.
|
TNonXMLObject |
retrieve(TNonXMLObject nonXMLObject)
Retrieves a single Non-XML document from Tamino in the state as it has been inserted.
|
TStreamHeader |
retrieveHeader(TNonXMLObject nonXMLObject)
Just retrieves the ´meta´ data of a single document from Tamino.
|
TResponse |
update(TNonXMLObject nonXMLObject)
Updates the Non-XML document represented by the TNonXMLObject instance within the Tamino database.
|
cancelRequests, xquery
getAccessCollection, getAccessLocation, getApplicationName, getCanBeCancelled, getDatabaseUri, getInvocation, getLocale, getLockMode, getLockwaitMode, getMaximumRequestDuration, invalidate, invoke, invoke, invoke, setAccessLocation, setApplicationName, setCanBeCancelled, setInvocation, setLockMode, setLockwaitMode, setMaximumRequestDuration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
public TNonXMLObjectAccessorTimeLoggingImpl(TAccessLocation accessLocation, TInvocation invocation, TResponseBuilder responseBuilder, java.util.Locale locale)
streamAccessor
- responseBuilder
- public TResponse insert(TNonXMLObject nonXMLObject) throws TInsertException
insert
in interface TNonXMLObjectAccessor
insert
in class TNonXMLObjectAccessorImpl
nonXmlObject
- is the representation of the non XML document that should be stored within Tamino.TInsertException
- due to failures when inserting the instance.public TResponse update(TNonXMLObject nonXMLObject) throws TUpdateException
update
in interface TNonXMLObjectAccessor
update
in class TNonXMLObjectAccessorImpl
nonXMLObject
- is the representation of the Non-XML document that should be updated within Tamino. If the document
is not already given yet it might be inserted into Tamino.TUpdateException
- due to any problems during the update of the given TNonXMLObject instance.public TResponse delete(TNonXMLObject nonXMLObject) throws TDeleteException
delete
in interface TNonXMLObjectAccessor
delete
in class TNonXMLObjectAccessorImpl
nonXmlObject
- is the representation of the non XML document that should be deleted from Tamino.TDeleteException
- due to failures when deleting the specified instance.public TResponse delete(TQuery xPath) throws TDeleteException
delete
in interface TNonXMLObjectAccessor
delete
in class TNonXMLObjectAccessorImpl
xpath
- is the TQuery instance that referrs to the specific set of TNonXMLObject instances that shall be deleted.TDeleteException
- due to failures when deleting the instances.public TResponse query(TQuery xPath) throws TQueryException
query
in interface TNonXMLObjectAccessor
query
in class TNonXMLObjectAccessorImpl
nonXmlQuery
- is the TNonXMLQuery instance that referrs to the specific TNonXMLObject.TQueryException
- due to failures when the query is performed.public TNonXMLObject retrieve(TNonXMLObject nonXMLObject) throws TRetrieveException
retrieve
in interface TNonXMLObjectAccessor
retrieve
in class TNonXMLObjectAccessorImpl
nonXMLObject
- represents an instance for which the Non-XML document shall be retrieved from Tamino.TRetrieveException
- due to any problems during the retrieval of the single document.public TStreamHeader retrieveHeader(TNonXMLObject nonXMLObject) throws TRetrieveException
Just retrieves the ´meta´ data of a single document from Tamino. This data is retrieved by its docname or id as set in the TNonXMLObject instance passed as input parameter and not by a query expression. If both docname and id are present in the TNonXMLObject instance, the docname is used.
This method behaves like the retrieve()
method except that
it does not retieve the whole document but only its ´meta´ data, which is
contained in the TStreamHeader
.
retrieveHeader
in interface TNonXMLObjectAccessor
retrieveHeader
in class TNonXMLObjectAccessorImpl
xmlObject
- a TNonXMLObject instance specifying by its doctype, id or docname information
which document to retrieve from Tamino.TRetrieveException
- signals an error while attempting the retrieve operation.com.softwareag.tamino.db.api.accessor.TStreamAccessor#retrieve(TNonXMLObject)
Copyright (c) 2017 Software AG. All Rights Reserved.