Class ComponentService
- java.lang.Object
-
- fr.paris.lutece.plugins.lutecetools.service.ComponentService
-
public class ComponentService extends Object
ComponentService
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearCache()Clear cache by removing datastore datastatic fr.paris.lutece.plugins.lutecetools.business.Componentload(String strArtifactId)Load a component from the Datastorestatic voidsave(fr.paris.lutece.plugins.lutecetools.business.Component component)Save a component into the Datastore as JSON format
-
-
-
Method Detail
-
save
public static void save(fr.paris.lutece.plugins.lutecetools.business.Component component)
Save a component into the Datastore as JSON format- Parameters:
component- The component
-
load
public static fr.paris.lutece.plugins.lutecetools.business.Component load(String strArtifactId)
Load a component from the Datastore- Parameters:
strArtifactId- The Artifact ID- Returns:
- The component
-
clearCache
public static void clearCache()
Clear cache by removing datastore data
-
-