com.dotmarketing.cms.rating.action
Class RatingAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by com.dotmarketing.cms.rating.action.RatingAction

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

This strut action was created to manage the content rating

Version:
1.0
Author:
Oswaldo Gallango

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
RatingAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward rate(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm lf, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method save the rate
 
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, dispatchMethod, execute, getMethod, getMethodName, unspecified
 
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

RatingAction

public RatingAction()
Method Detail

rate

public org.apache.struts.action.ActionForward rate(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
This method save the rate

Parameters:
mapping -
lf -
request -
response -
Returns:
Throws:
java.lang.Exception


Copyright © 2013 dotCMS Inc. All Rights Reserved.