org.openanzo.services
Interface IModelTransactionUpdates

All Known Implementing Classes:
ModelTransactionUpdates, TransactionUpdateResults

public interface IModelTransactionUpdates

IModelTransactionUpdates encapsulate the results of a transaction's committal on the server

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Method Summary
 java.io.ByteArrayOutputStream getErrorOutputStream()
          Get the errors as an outputStream to which errors can be written
 java.util.List<AnzoException> getErrors()
          Get any errors that occurred committing transaction to server
 java.io.ByteArrayOutputStream getOutputStream()
          Get the results outputStream that can be handed to a stream parser.
 long getTransactionId()
          Get the id of this transaction
 java.lang.Long getTransactionTimestamp()
          Get the timestamp for this transaction
 

Method Detail

getErrors

java.util.List<AnzoException> getErrors()
Get any errors that occurred committing transaction to server

Returns:
any errors that occurred committing transaction to server

getErrorOutputStream

java.io.ByteArrayOutputStream getErrorOutputStream()
Get the errors as an outputStream to which errors can be written

Returns:
the errors as an outputStream to which errors can be written

getOutputStream

java.io.ByteArrayOutputStream getOutputStream()
Get the results outputStream that can be handed to a stream parser.

Returns:
the results outputStream that can be handed to a stream parser.

getTransactionId

long getTransactionId()
Get the id of this transaction

Returns:
the id of this transaction

getTransactionTimestamp

java.lang.Long getTransactionTimestamp()
Get the timestamp for this transaction

Returns:
the timestamp for this transaction


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.