railo.runtime.orm
Class ORMUtil

java.lang.Object
  extended by railo.runtime.orm.ORMUtil

public class ORMUtil
extends Object


Constructor Summary
ORMUtil()
           
 
Method Summary
static boolean equals(Object left, Object right)
           
static ORMEngine getEngine(PageContext pc)
           
static Object getPropertyValue(Component cfc, String name, Object defaultValue)
           
static ORMSession getSession(PageContext pc)
           
static ORMSession getSession(PageContext pc, boolean create)
           
static void printError(String msg, ORMEngine engine)
           
static void printError(Throwable t, ORMEngine engine)
           
static void resetEngine(PageContext pc, boolean force)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ORMUtil

public ORMUtil()
Method Detail

getSession

public static ORMSession getSession(PageContext pc)
                             throws PageException
Throws:
PageException

getSession

public static ORMSession getSession(PageContext pc,
                                    boolean create)
                             throws PageException
Throws:
PageException

getEngine

public static ORMEngine getEngine(PageContext pc)
                           throws PageException
Throws:
PageException

resetEngine

public static void resetEngine(PageContext pc,
                               boolean force)
                        throws PageException
Parameters:
pc -
force - if set to false the engine is on loaded when the configuration has changed
Throws:
PageException

printError

public static void printError(Throwable t,
                              ORMEngine engine)

printError

public static void printError(String msg,
                              ORMEngine engine)

equals

public static boolean equals(Object left,
                             Object right)

getPropertyValue

public static Object getPropertyValue(Component cfc,
                                      String name,
                                      Object defaultValue)


Copyright © 2012 Railo