com.sap.portal.pcm.iviewserver.cache
Interface ITemplatesCacheSrv
- public interface ITemplatesCacheSrv
|
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 |
PATH_DELIMITER
public static final java.lang.String PATH_DELIMITER
KEY
public static final java.lang.String KEY
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.SYSTEMbasePath - 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.SYSTEMbasePath - 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