net.anotheria.moskitodemo.guestbook.presentation.action
Class BaseGuestbookAction
java.lang.Object
net.anotheria.maf.action.AbstractAction
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
| 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 |
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
BaseGuestbookAction
protected BaseGuestbookAction()
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.