

package gov.va.med.cds.template;


import gov.va.med.cds.clinicaldata.TemplateMetaDataInterface;


public interface TemplateCachePersistenceInterface
{
    String TEMPLATE_RESOURCE_PATH_PREFIX = "jar:";
    String TEMPLATE_RESOURCE_PATH_SUFFIX = "!/template/*.xsd";
    String TEMPLATE_SEARCH_PATH_SUFFIX = "/**/*.meta";
    String TEMPLATE_JAR_PACKAGE = "templatecache/";


    void saveTemplateMetaDataToPersistence( TemplateMetaDataInterface templateMetaData )
        throws TemplateCacheException;


    void loadAllTemplatesIntoCache( TemplateCacheInterface aTemplateCache )
        throws TemplateCacheException;


    void loadTemplateIntoCache( TemplateCacheInterface aTemplateCache, String aSearchPath )
        throws TemplateCacheException;

}
