com.dotmarketing.portlets.calendar.cms.action
Class AddEvent

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by com.dotmarketing.portlets.calendar.cms.action.AddEvent

public class AddEvent
extends org.apache.struts.actions.DispatchAction

Action that let you submit an event from the frontend and it will saved into the cms check the struts-cms.xml to see how this action is mapped to struts

Author:
Roger Marin, David Torres

Field Summary
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
AddEvent()
           
 
Method Summary
 org.apache.struts.action.ActionForward submitEvent(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm lf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm lf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, execute, getMethod, getMethodName
 
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

AddEvent

public AddEvent()
Method Detail

unspecified

public org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm lf,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws java.lang.Exception
Overrides:
unspecified in class org.apache.struts.actions.DispatchAction
Throws:
java.lang.Exception

submitEvent

public org.apache.struts.action.ActionForward submitEvent(org.apache.struts.action.ActionMapping mapping,
                                                          org.apache.struts.action.ActionForm lf,
                                                          javax.servlet.http.HttpServletRequest request,
                                                          javax.servlet.http.HttpServletResponse response)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 dotCMS Inc. All Rights Reserved.