net.anotheria.moskitodemo.guestbook.presentation.action
Class ShowCommentsAction

java.lang.Object
  extended by net.anotheria.maf.action.AbstractAction
      extended by net.anotheria.moskitodemo.guestbook.presentation.action.BaseGuestbookAction
          extended by net.anotheria.moskitodemo.guestbook.presentation.action.ShowCommentsAction
All Implemented Interfaces:
net.anotheria.maf.action.Action
Direct Known Subclasses:
DeleteCommentAction

public class ShowCommentsAction
extends BaseGuestbookAction


Field Summary
static String[] CAPTIONS
           
static int OVERVIEW_COMMENT_LENGTH
           
static String P_SORT_BY
           
static String P_SORT_ORDER
           
static int[] SORT_BYS
           
static String[] SORT_ORDER_CAPTIONS
           
static boolean[] SORT_ORDERS
           
static String V_SORT_ORDER_ASC
           
static String V_SORT_ORDER_DESC
           
static String[] V_SORT_ORDERS
           
 
Fields inherited from class net.anotheria.moskitodemo.guestbook.presentation.action.BaseGuestbookAction
BEAN_AUTHORIZATION, PARAM_COMMENT_ID
 
Constructor Summary
ShowCommentsAction()
           
 
Method Summary
 net.anotheria.maf.action.ActionCommand execute(net.anotheria.maf.action.ActionMapping mapping, net.anotheria.maf.bean.FormBean af, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
protected  String shortenCommentLine(String text)
           
 
Methods inherited from class net.anotheria.moskitodemo.guestbook.presentation.action.BaseGuestbookAction
authorizeUser, getAuthorizationService, getCommentService, getProducerId, getSubsystem, isAuthorized, makeDateString, obfuscateEmail
 
Methods inherited from class net.anotheria.maf.action.AbstractAction
postProcess, preProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_SORT_BY

public static final String P_SORT_BY
See Also:
Constant Field Values

P_SORT_ORDER

public static final String P_SORT_ORDER
See Also:
Constant Field Values

V_SORT_ORDER_ASC

public static final String V_SORT_ORDER_ASC
See Also:
Constant Field Values

V_SORT_ORDER_DESC

public static final String V_SORT_ORDER_DESC
See Also:
Constant Field Values

OVERVIEW_COMMENT_LENGTH

public static final int OVERVIEW_COMMENT_LENGTH
See Also:
Constant Field Values

CAPTIONS

public static final String[] CAPTIONS

SORT_BYS

public static final int[] SORT_BYS

V_SORT_ORDERS

public static final String[] V_SORT_ORDERS

SORT_ORDERS

public static final boolean[] SORT_ORDERS

SORT_ORDER_CAPTIONS

public static final String[] SORT_ORDER_CAPTIONS
Constructor Detail

ShowCommentsAction

public ShowCommentsAction()
Method Detail

execute

public net.anotheria.maf.action.ActionCommand execute(net.anotheria.maf.action.ActionMapping mapping,
                                                      net.anotheria.maf.bean.FormBean af,
                                                      javax.servlet.http.HttpServletRequest req,
                                                      javax.servlet.http.HttpServletResponse res)
                                               throws Exception
Throws:
Exception

shortenCommentLine

protected String shortenCommentLine(String text)


Copyright © 2010-2012 anotheria.net. All Rights Reserved.