Package org.javlo.macro
Class FileInListMacro
- java.lang.Object
-
- org.javlo.macro.AbstractMacro
-
- org.javlo.macro.FileInListMacro
-
- All Implemented Interfaces:
IMacro
public class FileInListMacro 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 FileInListMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()booleanisAdmin()macro for admin >> return true macro for contributor >> retrun falsebooleanisPreview()is this macro can be execute in preview mode.Stringperform(ContentContext ctx, Map<String,Object> params)-
Methods inherited from class org.javlo.macro.AbstractMacro
getAllComponent, getIcon, getInfo, getMacroProperties, getPriority, getUrl, init, isActive, isAdd, isInterative, toString
-
-
-
-
Method Detail
-
getName
public String getName()
-
perform
public String perform(ContentContext ctx, Map<String,Object> params) throws Exception
- Throws:
Exception
-
isAdmin
public boolean isAdmin()
Description copied from interface:IMacromacro for admin >> return true macro for contributor >> retrun false- Specified by:
isAdminin interfaceIMacro- Overrides:
isAdminin classAbstractMacro- Returns:
-
isPreview
public boolean isPreview()
Description copied from interface:IMacrois this macro can be execute in preview mode.- Returns:
-
-