public class CreateWeekHereMacro extends AbstractMacro
| Constructor and Description |
|---|
CreateWeekHereMacro() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isAdmin()
macro for admin >> return true macro for contributor >> retrun false
|
boolean |
isPreview()
is this macro can be execute in preview mode.
|
static void |
main(String[] args) |
String |
perform(ContentContext ctx,
Map<String,Object> params) |
getAllComponent, getInfo, getMacroProperties, isAdd, isInterative, toStringpublic String getName()
public String perform(ContentContext ctx, Map<String,Object> params) throws Exception
Exceptionpublic static void main(String[] args)
public boolean isAdmin()
IMacroisAdmin in interface IMacroisAdmin in class AbstractMacropublic boolean isPreview()
IMacroCopyright © 2012-2018. All Rights Reserved.