public class MergeImagesInGallery extends AbstractMacro
Constructor and Description |
---|
MergeImagesInGallery() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
protected boolean |
imageInGallery(ContentContext ctx,
MenuElement currentPage) |
boolean |
isPreview()
is this macro can be execute in preview mode.
|
String |
perform(ContentContext ctx,
Map<String,Object> params) |
protected boolean |
transformImageToGallery(ContentContext ctx,
Image img,
Multimedia gal) |
getAllComponent, getInfo, getMacroProperties, isAdd, isAdmin, isInterative, toString
public String getName()
protected boolean transformImageToGallery(ContentContext ctx, Image img, Multimedia gal) throws Exception
Exception
protected boolean imageInGallery(ContentContext ctx, MenuElement currentPage) throws Exception
Exception
public String perform(ContentContext ctx, Map<String,Object> params) throws Exception
Exception
public boolean isPreview()
IMacro
Copyright © 2012-2018. All Rights Reserved.