com.sap.portal.pcm.iviewserver.cache
Interface ITemplatesCacheSrv


public interface ITemplatesCacheSrv


Field Summary
static java.lang.String KEY
           
static java.lang.String PATH_DELIMITER
           
 
Method Summary
 javax.naming.NamingEnumeration getTemplates(SLServiceKeys service, java.lang.String basePath, java.util.Locale locale, java.util.Hashtable env)
          Returns templates for specified OCLASS and user
 void refresh(SLServiceKeys service, java.lang.String basePath)
          Refreshes the templates cache
 

Field Detail

PATH_DELIMITER

public static final java.lang.String PATH_DELIMITER

KEY

public static final java.lang.String KEY
Method Detail

refresh

public void refresh(SLServiceKeys service,
                    java.lang.String basePath)
Refreshes the templates cache
Parameters:
oClass - could be one of the following OClass.IVIEW OClass.PAGE OClass.SYSTEM
basePath - specifies a base path for templates search, e.g. "portal_content", could be concatenation of multiple pathes with PATH_DELIMITER, for performance reasons empty "" is not recommended (searches for entire PCD)

getTemplates

public javax.naming.NamingEnumeration getTemplates(SLServiceKeys service,
                                                   java.lang.String basePath,
                                                   java.util.Locale locale,
                                                   java.util.Hashtable env)
                                            throws javax.naming.NamingException
Returns templates for specified OCLASS and user
Parameters:
oClass - could be one of the following OClass.IVIEW OClass.PAGE OClass.SYSTEM
basePath - specifies a base path for templates search, e.g. "portal_content", could be concatenation of multiple pathes with PATH_DELIMITER, for performance reasons empty "" is not recommended (searches for entire PCD)
user -  
locale -  
Returns:
NamingEnumeration