Package org.javlo.macro
Class CleanStaticInfoPersistence
- java.lang.Object
-
- org.javlo.macro.AbstractMacro
-
- org.javlo.macro.CleanStaticInfoPersistence
-
- All Implemented Interfaces:
IMacro
public class CleanStaticInfoPersistence extends AbstractMacro
clean static info storage, remove meta data if resource not found and remove reference to defaut value- Author:
- Patrick Vandermaesen
-
-
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 CleanStaticInfoPersistence()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
boolean
isPreview()
is this macro can be execute in preview mode.static void
main(String[] args)
String
perform(ContentContext inCtx, Map<String,Object> params)
-
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()
-
perform
public String perform(ContentContext inCtx, 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:
-
main
public static void main(String[] args)
-
-