org.csc.phynixx.tutorial
Interface TAEnabledUTFWriter

All Superinterfaces:
IAutoCommitAware, IPhynixxConnection, IXADataRecorderAware
All Known Implementing Classes:
TAEnabledUTFWriterImpl

public interface TAEnabledUTFWriter
extends IPhynixxConnection, IXADataRecorderAware, IAutoCommitAware

Created by Christoph Schmidt-Casdorff on 04.02.14.


Method Summary
 String getConnectionId()
           
 List<String> readContent()
          reads the content
 void resetContent()
          resets the content of the file associated with die current transaction
 TAEnabledUTFWriter write(String value)
          writes a string to file
 
Methods inherited from interface org.csc.phynixx.connection.IPhynixxConnection
close, commit, prepare, reset, rollback
 
Methods inherited from interface org.csc.phynixx.connection.IXADataRecorderAware
getXADataRecorder, recoverReplayListener, setXADataRecorder
 
Methods inherited from interface org.csc.phynixx.connection.IAutoCommitAware
isAutoCommit, setAutoCommit
 

Method Detail

getConnectionId

String getConnectionId()

resetContent

@RequiresTransaction
void resetContent()
                  throws IOException
resets the content of the file associated with die current transaction

Throws:
IOException

write

@RequiresTransaction
TAEnabledUTFWriter write(String value)
                         throws IOException
writes a string to file

Parameters:
value -
Returns:
Throws:
IOException

readContent

@RequiresTransaction
List<String> readContent()
                         throws IOException
reads the content

Returns:
Throws:
IOException


Copyright © 2015. All rights reserved.