Package org.javlo.macro
Class MergeImagesInGallery
- java.lang.Object
-
- org.javlo.macro.AbstractMacro
-
- org.javlo.macro.MergeImagesInGallery
-
- All Implemented Interfaces:
IMacro
public class MergeImagesInGallery extends AbstractMacro
-
-
Field Summary
-
Fields inherited from interface org.javlo.macro.core.IMacro
DEFAULT_MAX_MODAL_SIZE, DEFAULT_PRIORITY, LARGE_MODAL_SIZE, MIDDEL_MODAL_SIZE, SMALL_MODAL_SIZE
-
-
Constructor Summary
Constructors Constructor Description MergeImagesInGallery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.javlo.macro.AbstractMacro
getAllComponent, getIcon, getInfo, getMacroProperties, getPriority, getUrl, init, isActive, isAdd, isAdmin, isInterative, toString
-
-
-
-
Method Detail
-
getName
public String getName()
-
transformImageToGallery
protected boolean transformImageToGallery(ContentContext ctx, Image img, Multimedia gal) throws Exception
- Throws:
Exception
-
imageInGallery
protected boolean imageInGallery(ContentContext ctx, MenuElement currentPage) throws Exception
- Throws:
Exception
-
perform
public String perform(ContentContext ctx, Map<String,Object> params) throws Exception
- Throws:
Exception
-
isPreview
public boolean isPreview()
Description copied from interface:IMacro
is this macro can be execute in preview mode.- Returns:
-
-