be.SIRAPRISE.messages
Class StartTransactionMessage

java.lang.Object
  extended by be.SIRAPRISE.messages.ServerMessage
      extended by be.SIRAPRISE.messages.ServerInputMessage
          extended by be.SIRAPRISE.messages.StartTransactionMessage

public abstract class StartTransactionMessage
extends ServerInputMessage

Author:
Erwin Smout

Method Summary
 byte[] getSignature()
          Gets the signature computed by the user
 java.lang.String getUserAuthenticationAlgorithm()
          Gets the name of the user authentication algorithm to be used by the server if the decides that it will do user authentication itself
 java.lang.String getUserID()
          Gets The identification of the user owning the new transaction
 boolean isAutoCommit()
          Checks whether, for read-only transactions, the read locks acquired by the server can be released after each individual statement executed by the transaction
 boolean isCaptureDDL()
          Gets the flag indicating whether the server's DDL capture facility should be activated for this transaction
 boolean isReadOnlyTransaction()
          Checks whether or not the new transaction is a read-only one, i.e. whether it will or will not attempt updates to the database
 boolean isUserAuthenticatedByClient()
          Gets the flag indicating whether the user identified by getUserID() has been authenticated by the client, meaning that if the server trusts the client, the server needn't do user authentication of its own.
 
Methods inherited from class be.SIRAPRISE.messages.ServerMessage
getMessageTypeID, readMessage, sendMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSignature

public final byte[] getSignature()
Gets the signature computed by the user

Returns:
the signature computed by the user

getUserAuthenticationAlgorithm

public final java.lang.String getUserAuthenticationAlgorithm()
Gets the name of the user authentication algorithm to be used by the server if the decides that it will do user authentication itself

Returns:
the name of the user authentication algorithm to be used by the server if the decides that it will do user authentication itself

getUserID

public final java.lang.String getUserID()
Gets The identification of the user owning the new transaction

Returns:
The identification of the user owning the new transaction

isAutoCommit

public final boolean isAutoCommit()
Checks whether, for read-only transactions, the read locks acquired by the server can be released after each individual statement executed by the transaction

Returns:
true if, for read-only transactions, the read locks acquired by the server can be released after each individual statement executed by the transaction

isCaptureDDL

public final boolean isCaptureDDL()
Gets the flag indicating whether the server's DDL capture facility should be activated for this transaction

Returns:
the flag indicating whether the server's DDL capture facility should be activated for this transaction

isReadOnlyTransaction

public final boolean isReadOnlyTransaction()
Checks whether or not the new transaction is a read-only one, i.e. whether it will or will not attempt updates to the database

Returns:
true if the new transaction is a read-only one, i.e. if it will not attempt updates to the database

isUserAuthenticatedByClient

public final boolean isUserAuthenticatedByClient()
Gets the flag indicating whether the user identified by getUserID() has been authenticated by the client, meaning that if the server trusts the client, the server needn't do user authentication of its own.

Returns:
true if the user identified by getUserID() has been authenticated by the client, meaning that if the server trusts the client, the server needn't do user authentication of its own.