public interface IMacro
Modifier and Type | Method and Description |
---|---|
String |
getInfo(ContentContext ctx) |
String |
getName() |
boolean |
isAdd() |
boolean |
isAdmin()
macro for admin >> return true macro for contributor >> retrun false
|
boolean |
isInterative() |
boolean |
isPreview()
is this macro can be execute in preview mode.
|
String |
perform(ContentContext ctx,
Map<String,Object> params) |
String getName()
String perform(ContentContext ctx, Map<String,Object> params) throws Exception
Exception
boolean isAdmin()
boolean isPreview()
boolean isAdd()
boolean isInterative()
String getInfo(ContentContext ctx)
Copyright © 2012-2018. All Rights Reserved.