railo.runtime.orm
Interface ORMEngine

All Known Implementing Classes:
HibernateORMEngine, ORMEngineDummy

public interface ORMEngine


Field Summary
static int MODE_LAZY
           
static int MODE_STRICT
           
 
Method Summary
 ORMSession createSession(PageContext pc)
           
 ORMConfiguration getConfiguration(PageContext pc)
           
 DataSource getDataSource()
           
 String[] getEntityNames()
           
 String getLabel()
           
 int getMode()
           
 Object getSessionFactory(PageContext pc)
           
 void init(PageContext pc)
           
 boolean reload(PageContext pc, boolean force)
           
 

Field Detail

MODE_LAZY

static final int MODE_LAZY
See Also:
Constant Field Values

MODE_STRICT

static final int MODE_STRICT
See Also:
Constant Field Values
Method Detail

getLabel

String getLabel()
Returns:
returns the label of the Engine, like "Hibernate" or "Transfer"

getMode

int getMode()

createSession

ORMSession createSession(PageContext pc)
                         throws PageException
Throws:
PageException

getSessionFactory

Object getSessionFactory(PageContext pc)
                         throws PageException
Throws:
PageException

init

void init(PageContext pc)
          throws PageException
Throws:
PageException

getConfiguration

ORMConfiguration getConfiguration(PageContext pc)

getDataSource

DataSource getDataSource()

getEntityNames

String[] getEntityNames()

reload

boolean reload(PageContext pc,
               boolean force)
               throws PageException
Throws:
PageException


Copyright © 2012 Railo