ch.ledcom.hephaistos.abstractActions
Class HibernateListAction

java.lang.Object
  |
  +--org.apache.struts.action.Action
        |
        +--ch.ledcom.hephaistos.abstractActions.HibernateListAction
Direct Known Subclasses:
ProductClassListAction, ProductGroupAddNewAction, ProductGroupListAction

public abstract class HibernateListAction
extends org.apache.struts.action.Action

Author:
gehel TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
HibernateListAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  java.util.List getHibernateList(org.apache.struts.action.ActionForm form)
           
protected abstract  java.util.List getList(org.apache.struts.action.ActionForm form, net.sf.hibernate.Session session)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateListAction

public HibernateListAction()
Method Detail

getHibernateList

protected java.util.List getHibernateList(org.apache.struts.action.ActionForm form)

getList

protected abstract java.util.List getList(org.apache.struts.action.ActionForm form,
                                          net.sf.hibernate.Session session)
                                   throws net.sf.hibernate.HibernateException
net.sf.hibernate.HibernateException

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
Overrides:
execute in class org.apache.struts.action.Action


Copyright © 2004 LedCom. All Rights Reserved.