Package org.javlo.actions
Class TimeTravelerActions
- java.lang.Object
-
- org.javlo.actions.TimeTravelerActions
-
-
Constructor Summary
Constructors Constructor Description TimeTravelerActions()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionGroupName()
the group name of the actionboolean
haveRight(ContentContext ctx, String action)
static String
performReplacecurrentpage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performReplaceCurrentPageAndChildren(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performSettraveltime(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
static String
performUndoRedo(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess)
static String
replaceCurrentPage(ContentContext ctx, MenuElement newPage, boolean withChildren)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
getActionGroupName
public String getActionGroupName()
Description copied from interface:IAction
the group name of the action- Specified by:
getActionGroupName
in interfaceIAction
- Returns:
- a group name.
-
performUndoRedo
public static String performUndoRedo(RequestService rs, ContentContext ctx, GlobalContext globalContext, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
- Throws:
Exception
-
performSettraveltime
public static String performSettraveltime(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
performReplacecurrentpage
public static String performReplacecurrentpage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
replaceCurrentPage
public static String replaceCurrentPage(ContentContext ctx, MenuElement newPage, boolean withChildren) throws Exception
- Throws:
Exception
-
performReplaceCurrentPageAndChildren
public static String performReplaceCurrentPageAndChildren(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
haveRight
public boolean haveRight(ContentContext ctx, String action)
-
-