net.sf.webphotos.web.action
Class IndexAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by net.sf.webphotos.web.action.IndexAction

public class IndexAction
extends org.apache.struts.action.Action

Author:
gsilva

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
IndexAction()
           
 
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)
          This is the action called from the Struts framework.
 net.sf.webphotos.dao.jpa.AlbumDAO getAlbunsDAO()
           
 void setAlbunsDAO(net.sf.webphotos.dao.jpa.AlbumDAO albunsDAO)
           
 
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, 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

IndexAction

public IndexAction()
Method Detail

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)
                                               throws Exception
This is the action called from the Struts framework.

Overrides:
execute in class org.apache.struts.action.Action
Parameters:
mapping - The ActionMapping used to select this instance.
form - The optional ActionForm bean for this request.
request - The HTTP Request we are processing.
response - The HTTP Response we are processing.
Returns:
Throws:
Exception

getAlbunsDAO

public net.sf.webphotos.dao.jpa.AlbumDAO getAlbunsDAO()
Returns:
the albunsDAO

setAlbunsDAO

public void setAlbunsDAO(net.sf.webphotos.dao.jpa.AlbumDAO albunsDAO)
Parameters:
albunsDAO - the albunsDAO to set


Copyright © 2008-2012. All Rights Reserved.