java.lang.Object
ru.gammalabs.ice.framework.RepresentativeSupport
ru.gammalabs.ice.publishing.framework.AbstractTemplateManager
ru.gammalabs.ice.publishing.framework.PageTemplateManager
- All Implemented Interfaces:
- ru.gammalabs.ice.framework.Representative, TemplateManager
- public class PageTemplateManager
- extends AbstractTemplateManager
Page Template Manager.
The class is used for handling page Templates.
- Version:
- 1.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.log4j.Category log
- For debugging.
templates
protected static java.util.Map templates
- HashMap containing all of the templates.
If there are no templates,
templates should be an empty HashMap.
If templates equals null, that means that templates haven't been
loaded yet.
PageTemplateManager
public PageTemplateManager()
getTemplates
protected java.util.Map getTemplates()
- Specified by:
getTemplates in class AbstractTemplateManager
loadTemplates
private void loadTemplates()
- Loads all of the templates.
add
public void add(Template template)
throws PageTemplateManagerException,
ru.gammalabs.ice.security.AccessDeniedException
- Specified by:
add in interface TemplateManager- Specified by:
add in class AbstractTemplateManager
update
public void update(java.lang.String name,
Template template)
throws PageTemplateManagerException,
ru.gammalabs.ice.security.AccessDeniedException
- Specified by:
update in interface TemplateManager- Specified by:
update in class AbstractTemplateManager
remove
public void remove(java.lang.String name)
throws PageTemplateManagerException,
ru.gammalabs.ice.security.AccessDeniedException
- Specified by:
remove in interface TemplateManager- Specified by:
remove in class AbstractTemplateManager
getPageTemplateManagerDAO
private ru.gammalabs.ice.publishing.framework.dao.PageTemplateManagerDAO getPageTemplateManagerDAO(java.sql.Connection connection)