Class ComponentService


  • public class ComponentService
    extends Object
    ComponentService
    • 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