com.rshtech.func
Interface ApplicationTransaction

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AppTx

public interface ApplicationTransaction
extends java.io.Serializable

Application transactions represent the total work and transactions associated with a user request, that is from the first UI action, to all the server side transactions and work, to the final UI response action before returning to the user.

Version:
$Revision: 3127 $
Author:
$Author: kostya $

Method Summary
 java.lang.String getAppTxId()
          Return the application transaction id (that is, a unique identifier for this transaction).
 java.lang.String getUserId()
          Return the id of the user this transaction pertains to.
 

Method Detail

getUserId

java.lang.String getUserId()
Return the id of the user this transaction pertains to. This id should match any id used to log in or any id used to lookup security information later in the transaction.

Returns:
the user id.

getAppTxId

java.lang.String getAppTxId()
Return the application transaction id (that is, a unique identifier for this transaction). The id should be unique within the application.

Returns:
the application transaction id.