com.sibvisions.rad.persist
Class TriggerAPI

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

public final class TriggerAPI
extends Object

The TriggerAPI class offers methods for server-side triggers.


Method Summary
static Timestamp getCurrentTimestamp()
          Gets the current timestamp.
static 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 Timestamp getCurrentTimestamp()
Gets the current timestamp.

Returns:
the current timestamp

getCurrentUserName

public static 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.