public class DeleteSameComponent extends AbstractMacro
| Constructor and Description |
|---|
DeleteSameComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
deleteComponentInBadArea(ContentContext ctx,
MenuElement page) |
String |
getName() |
boolean |
isPreview()
is this macro can be execute in preview mode.
|
String |
perform(ContentContext ctx,
Map<String,Object> params) |
getAllComponent, getInfo, getMacroProperties, isAdd, isAdmin, isInterative, toStringpublic String getName()
protected int deleteComponentInBadArea(ContentContext ctx, MenuElement page) throws Exception
Exceptionpublic String perform(ContentContext ctx, Map<String,Object> params) throws Exception
Exceptionpublic boolean isPreview()
IMacroCopyright © 2012-2018. All Rights Reserved.