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

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

public abstract class BaseGuestbookAction
extends net.anotheria.maf.action.AbstractAction


Field Summary
static String BEAN_AUTHORIZATION
           
static String PARAM_COMMENT_ID
           
 
Constructor Summary
protected BaseGuestbookAction()
           
 
Method Summary
protected  void authorizeUser(javax.servlet.http.HttpServletRequest req)
           
protected  IAuthorizationService getAuthorizationService()
           
protected  ICommentService getCommentService()
           
 String getProducerId()
           
 String getSubsystem()
           
protected  boolean isAuthorized(javax.servlet.http.HttpServletRequest req)
           
protected  String makeDateString(long timestamp)
           
protected static String obfuscateEmail(String anEmail)
           
 
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
 
Methods inherited from interface net.anotheria.maf.action.Action
execute
 

Field Detail

BEAN_AUTHORIZATION

public static final String BEAN_AUTHORIZATION
See Also:
Constant Field Values

PARAM_COMMENT_ID

public static final String PARAM_COMMENT_ID
See Also:
Constant Field Values
Constructor Detail

BaseGuestbookAction

protected BaseGuestbookAction()
Method Detail

isAuthorized

protected boolean isAuthorized(javax.servlet.http.HttpServletRequest req)

authorizeUser

protected void authorizeUser(javax.servlet.http.HttpServletRequest req)

getCommentService

protected ICommentService getCommentService()

getAuthorizationService

protected IAuthorizationService getAuthorizationService()

obfuscateEmail

protected static String obfuscateEmail(String anEmail)

makeDateString

protected String makeDateString(long timestamp)

getProducerId

public String getProducerId()

getSubsystem

public String getSubsystem()


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