public class AddChildMacro extends AbstractMacro
Constructor and Description |
---|
AddChildMacro() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ContentContext ctx) |
String |
getName() |
boolean |
isAdd() |
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) |
getAllComponent, getInfo, getMacroProperties, isInterative, toString
public String getName()
public void addChild(ContentContext ctx) throws Exception
Exception
public String perform(ContentContext ctx, Map<String,Object> params) throws Exception
Exception
public boolean isPreview()
IMacro
public boolean isAdmin()
IMacro
isAdmin
in interface IMacro
isAdmin
in class AbstractMacro
public boolean isAdd()
isAdd
in interface IMacro
isAdd
in class AbstractMacro
Copyright © 2012-2018. All Rights Reserved.