| com.sun.portal.community.template.TemplateManager
All known Subclasses: com.sun.portal.community.template.impl.CommunityTemplateManagerImpl,
TemplateManager | public interface TemplateManager (Code) | | |
getAllTemplateIds | public Set getAllTemplateIds() throws TemplateException(Code) | | Get ID's of all existing templates in some logical order (the actual
ordering is determined by the implementation)
ID's of the existing templates |
getTemplate | public Template getTemplate(String templateId, Map tokenMappings) throws TemplateException(Code) | | Get the template corresponding to the template ID supplied.
Tokens are replaced by the actual value as provided in the token map.
Parameters: templateId - ID of the template that you want to retrieve Parameters: tokenMappings - a map mapping role to its corresponding token mapping. (token mapping maps the token to its value to be substituted) a template |
getTemplateDescriptor | public TemplateDescriptor getTemplateDescriptor(String templateId, Locale locale) throws TemplateException(Code) | | Get the TemplateDescriptor corresponding to the template ID
supplied.
Parameters: templateId - ID of the template that you want to retrieve Parameters: locale - a template |
init | public void init() throws TemplateException(Code) | | Initialize TemplateManager from a servlet where is only one portal
running.
Parameters: request - Parameters: response - throws: com.sun.portal.community.manager.CommunityManagerException - |
init | public void init(String portalId) throws TemplateException(Code) | | Initialize CommunityManager from non-servlet environment (i.e. cacao)
where there are more than one portal accessible.
Parameters: username - Parameters: password - Parameters: portalId - throws: com.sun.portal.community.manager.CommunityManagerException - |
|
|