org.objectweb.telosys.screen.core
Class StandardScreenProcedures

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.screen.core.StandardScreenCommon
          extended byorg.objectweb.telosys.screen.core.StandardScreenProcedures
All Implemented Interfaces:
ScreenProcedures

public abstract class StandardScreenProcedures
extends org.objectweb.telosys.screen.core.StandardScreenCommon
implements ScreenProcedures

Standard ancestor class for ScreenProcedures implementation.
Abstract class designed to be specialized for each screen.

Since:
1.0.0

Constructor Summary
StandardScreenProcedures()
           
 
Method Summary
protected  StandardDAO getDAO(java.lang.Class beanClass)
          Returns the DAO for the given bean class and the default database
protected  StandardDAO getDAO(java.lang.Class beanClass, DatabaseSession dbSession)
          Returns the DAO for the given bean class and db session
protected  StandardDAO getDAO(java.lang.Class beanClass, int iDatabaseId)
          Returns the DAO for the given bean class and db id
protected  ScreenApplication getScreenApplication()
          Returns the ScreenApplication object
protected  javax.servlet.ServletContext getServletContext()
          Returns the ServletContext object
 
Methods inherited from class org.objectweb.telosys.common.TelosysObject
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.telosys.screen.core.ScreenProcedures
execute
 

Constructor Detail

StandardScreenProcedures

public StandardScreenProcedures()
Method Detail

getScreenApplication

protected final ScreenApplication getScreenApplication()
Returns the ScreenApplication object

Returns:

getServletContext

protected final javax.servlet.ServletContext getServletContext()
Returns the ServletContext object

Returns:

getDAO

protected final StandardDAO getDAO(java.lang.Class beanClass)
                            throws TelosysException
Returns the DAO for the given bean class and the default database

Parameters:
beanClass -
Returns:
Throws:
TelosysException
Since:
1.1.0

getDAO

protected final StandardDAO getDAO(java.lang.Class beanClass,
                                   DatabaseSession dbSession)
                            throws TelosysException
Returns the DAO for the given bean class and db session

Parameters:
beanClass -
dbSession -
Returns:
Throws:
TelosysException
Since:
1.0.2

getDAO

protected final StandardDAO getDAO(java.lang.Class beanClass,
                                   int iDatabaseId)
                            throws TelosysException
Returns the DAO for the given bean class and db id

Parameters:
beanClass -
iDatabaseId -
Returns:
Throws:
TelosysException
Since:
1.0.2