Package oracle.iam.notification.vo
Class NotificationTemplate
java.lang.Object
oracle.iam.notification.vo.NotificationTemplate
- All Implemented Interfaces:
- Serializable
This object represent a notification template
- Author:
- saggarwa
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddLocaltemplate(String locale, LocalTemplate aLocaltemplate) To add a locale template for given base notification templateGets the user who created the templateProvides Creation Date of the templateProvides Data Level of the templateProvides description for the templateProvides event name associated with the templategetId()Provides ID of the templateProvides timestamp of the last update done in the templateGets the last user who updated the templateProvides a map of all locales associated with the template and their corresponding parametersProvides a character to specify whether SNMP supported or not.Provides status of a template.Provides name of the templatebooleanReturn true if OOTB templatevoidremoveLocaltemplate(LocalTemplate aLocaltemplate) To remove a locale template for given base notification templatevoidsetCreateuser(String createuser) Sets the user who created the templatevoidsetCreationdate(Timestamp creationdate) Sets Creation Date of the templatevoidsetDatalevel(Double datalevel) Sets Data Level of the templatevoidsetDatalevel(String datalevel) Sets Data Level of the templatevoidsetDescription(String description) Set description for the templatevoidsetEventname(String eventname) Adds event name to the templatevoidSets ID of the templatevoidSets ID of the templatevoidsetLastupdated(Timestamp lastupdated) sets timestamp of the last update done in the templatevoidsetLastuser(String lastuser) Sets the last user who updated the templatevoidsetLocaltemplateCollection(Map<String, LocalTemplate> localtemplateCollection) Adds map of locales and their corresponding parameters to the templatevoidsetOOTBTemplate(boolean ootbtemplate) Sets flag for OOTB templatesvoidsetSnmpsupported(boolean flag) Specify support for SNMPvoidsetSnmpsupported(String flag) Specify support for SNMPvoidSets status of a template.voidsetTemplatename(String templatename) Sets name for the template
- 
Constructor Details- 
NotificationTemplatepublic NotificationTemplate()Default Constructor
 
- 
- 
Method Details- 
addLocaltemplateTo add a locale template for given base notification template- Parameters:
- locale- Locale name to be added to the template
- aLocaltemplate- Object- LocaleTemplate- containing parameter specific to the locale to be added
 
- 
getDescriptionProvides description for the template- Returns:
- description associated with the template
 
- 
getIdProvides ID of the template- Returns:
- ID of the template
 
- 
getLocaltemplateCollectionProvides a map of all locales associated with the template and their corresponding parameters- Returns:
- A mapof locale name toLocaleTemplatecontaining parameter specific to it
 
- 
getSnmpsupportedProvides a character to specify whether SNMP supported or not. 'y' means SNMP supported and 'n' means SNMP not supported.- Returns:
- A character to specify whether SNMP supported or not
 
- 
getTemplatenameProvides name of the template- Returns:
- name of the template
 
- 
removeLocaltemplateTo remove a locale template for given base notification template- Parameters:
- aLocaltemplate- Object- LocaleTemplate- containing parameter specific to the locale to be removed
 
- 
setDescriptionSet description for the template- Parameters:
- description- description for the template
 
- 
setIdSets ID of the template- Parameters:
- id- The value of id
 
- 
setIdSets ID of the template- Parameters:
- sid- The value of id
 
- 
getEventnameProvides event name associated with the template- Returns:
- event name
 
- 
setEventnameAdds event name to the template- Parameters:
- eventname- event name to be associated with the template
 
- 
setLocaltemplateCollectionAdds map of locales and their corresponding parameters to the template- Parameters:
- localtemplateCollection- map containing locales and their corresponding parameters
 
- 
setSnmpsupportedpublic void setSnmpsupported(boolean flag) Specify support for SNMP- Parameters:
- flag- 'true' if support is provided else 'false'
 
- 
setSnmpsupportedSpecify support for SNMP- Parameters:
- flag- custom flag to be set
 
- 
setTemplatenameSets name for the template- Parameters:
- templatename- name to be given to the template
 
- 
getDatalevelProvides Data Level of the template- Returns:
- data level of the template
 
- 
setDatalevelSets Data Level of the template- Parameters:
- datalevel- value of the data level to be set
 
- 
setDatalevelSets Data Level of the template- Parameters:
- datalevel- value of the data level to be set
 
- 
getCreationdateProvides Creation Date of the template- Returns:
- timestamp at which the template was created
 
- 
setCreationdateSets Creation Date of the template- Parameters:
- creationdate- value of timestamp to be set
 
- 
getLastupdatedProvides timestamp of the last update done in the template- Returns:
- timestamp when the template was last updated
 
- 
setLastupdatedsets timestamp of the last update done in the template- Parameters:
- lastupdated- value of the timestamp to be set
 
- 
getLastuserGets the last user who updated the template- Returns:
- username of the user who last updated the template
 
- 
setLastuserSets the last user who updated the template- Parameters:
- lastuser- username of the user
 
- 
getCreateuserGets the user who created the template- Returns:
- username of the user who created the template
 
- 
setCreateuserSets the user who created the template- Parameters:
- createuser- username of the user who created the template
 
- 
isOOTBTemplatepublic boolean isOOTBTemplate()Return true if OOTB template- Returns:
- flag value for OOTB template
 
- 
setOOTBTemplatepublic void setOOTBTemplate(boolean ootbtemplate) Sets flag for OOTB templates- Parameters:
- true- /false as per default template
 
- 
getStatusProvides status of a template. Supported values are 'Disabled' and 'Enabled'- Returns:
- status of a template
 
- 
setStatusSets status of a template. Supported values are 'Disabled' and 'Enabled'- Parameters:
- status- Status of a template
 
 
-