Ontimize 5.2072EN

com.ontimize.util.notice
Interface ITemplateManagement

All Known Implementing Classes:
DefaultTemplateManager

public interface ITemplateManagement


Method Summary
 java.util.Vector getAllTypes()
          Gets a list with all the configured notice types
 java.lang.String getRequestTemplate()
          Get the template to use with the request notices without know the type
 java.lang.Object getTemplate(java.lang.Object noticeType)
          Get the template associated with the specified notice type
 void setTemplate(java.lang.Object noticeType, java.lang.Object template, boolean override)
          Sets a new template for the specified notice type
 

Method Detail

getTemplate

public java.lang.Object getTemplate(java.lang.Object noticeType)
Get the template associated with the specified notice type

Parameters:
noticeType -
Returns:

setTemplate

public void setTemplate(java.lang.Object noticeType,
                        java.lang.Object template,
                        boolean override)
Sets a new template for the specified notice type

Parameters:
noticeType -
template -
override - If another template exist for this notice type and override is true then replace the previous one

getAllTypes

public java.util.Vector getAllTypes()
Gets a list with all the configured notice types

Returns:

getRequestTemplate

public java.lang.String getRequestTemplate()
Get the template to use with the request notices without know the type

Returns:

Ontimize