public class UndeletePage extends AbstractInteractiveMacro implements IAction
Constructor and Description |
---|
UndeletePage() |
Modifier and Type | Method and Description |
---|---|
String |
getActionGroupName()
the group name of the action
|
String |
getInfo(ContentContext ctx) |
String |
getName() |
String |
getRenderer()
get the renderer for interactive macro (return null if macro is'nt interactive)
|
boolean |
haveRight(ContentContext ctx,
String action) |
boolean |
isAdmin()
macro for admin >> return true macro for contributor >> retrun false
|
boolean |
isPreview()
is this macro can be execute in preview mode.
|
String |
perform(ContentContext ctx,
Map<String,Object> params) |
static String |
performAction(RequestService rs,
EditContext editCtx,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
static String |
performDeleteAll(RequestService rs,
EditContext editCtx,
ContentContext ctx,
MessageRepository messageRepository,
I18nAccess i18nAccess) |
String |
prepare(ContentContext ctx) |
protected Collection<String> |
searchPageMirrorReference(MenuElement page) |
isAdd, isInterative
public boolean isAdmin()
IMacro
isAdmin
in interface IMacro
isAdmin
in class AbstractInteractiveMacro
public String getActionGroupName()
IAction
getActionGroupName
in interface IAction
public String getRenderer()
IInteractiveMacro
getRenderer
in interface IInteractiveMacro
public String getInfo(ContentContext ctx)
public String prepare(ContentContext ctx)
prepare
in interface IInteractiveMacro
protected Collection<String> searchPageMirrorReference(MenuElement page)
public static String performDeleteAll(RequestService rs, EditContext editCtx, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public static String performAction(RequestService rs, EditContext editCtx, ContentContext ctx, MessageRepository messageRepository, I18nAccess i18nAccess) throws Exception
Exception
public boolean isPreview()
IMacro
isPreview
in interface IMacro
isPreview
in class AbstractInteractiveMacro
public boolean haveRight(ContentContext ctx, String action)
Copyright © 2012-2018. All Rights Reserved.