com.sibvisions.rad.persist
Class TriggerAPI

java.lang.Object
  extended by com.sibvisions.rad.persist.TriggerAPI

public final class TriggerAPI
extends java.lang.Object

The TriggerAPI class offers methods for server-side triggers.


Method Summary
static java.sql.Timestamp getCurrentTimestamp()
          Gets the current timestamp.
static java.lang.String getCurrentUserName()
          Gets the current username from the session through the SessionContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCurrentTimestamp

public static java.sql.Timestamp getCurrentTimestamp()
Gets the current timestamp.

Returns:
the current timestamp

getCurrentUserName

public static java.lang.String getCurrentUserName()
Gets the current username from the session through the SessionContext.

Returns:
the username or null if no session is active


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.