Skip navigation links


oracle.iam.notification.vo
Class NotificationTemplate

java.lang.Object
  extended by oracle.iam.notification.vo.NotificationTemplate

All Implemented Interfaces:
java.io.Serializable

public class NotificationTemplate
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form

Constructor Summary
NotificationTemplate()
           

 

Method Summary
 void addLocaltemplate(java.lang.String locale, LocalTemplate aLocaltemplate)
           
 java.lang.String getCreateuser()
          Gets the user who created the template
 java.sql.Timestamp getCreationdate()
          Provides Creation Date of the template
 java.lang.Double getDatalevel()
          Provides Data Level of the template
 java.lang.String getDescription()
          Provides description for the template
 java.lang.String getEventname()
          Provides event name associated with the template
 java.lang.Long getId()
          Provides ID of the template
 java.sql.Timestamp getLastupdated()
          Provides timestamp of the last update done in the template
 java.lang.String getLastuser()
          Gets the last user who updated the template
 java.util.Map getLocaltemplateCollection()
          Provides a map of all locales associated with the template and their corresponding parameters
 java.lang.Character getSnmpsupported()
           
 java.lang.String getTemplatename()
          Provides name of the template
 boolean isOOTBTemplate()
          Return true if OOTB template
 void removeLocaltemplate(LocalTemplate aLocaltemplate)
           
 void setCreateuser(java.lang.String createuser)
          Sets the user who created the template
 void setCreationdate(java.sql.Timestamp creationdate)
          Sets Creation Date of the template
 void setDatalevel(java.lang.Double datalevel)
          Sets Data Level of the template
 void setDatalevel(java.lang.String datalevel)
          Sets Data Level of the template
 void setDescription(java.lang.String description)
          Set description for the template
 void setEventname(java.lang.String eventname)
          Adds event name to the template
 void setId(java.lang.Long id)
          Sets ID of the template
 void setId(java.lang.String sid)
          Sets ID of the template
 void setLastupdated(java.sql.Timestamp lastupdated)
          sets timestamp of the last update done in the template
 void setLastuser(java.lang.String lastuser)
          Sets the last user who updated the template
 void setLocaltemplateCollection(java.util.Map localtemplateCollection)
          Adds map of locales and their corresponding parameters to the template
 void setOOTBTemplate(boolean ootbtemplate)
          Sets flag for OOTB templates
 void setSnmpsupported(boolean flag)
          Specify support for SNMP
 void setSnmpsupported(java.lang.String flag)
          Specify support for SNMP
 void setTemplatename(java.lang.String templatename)
          Sets name for the template

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

NotificationTemplate

public NotificationTemplate()

Method Detail

addLocaltemplate

public void addLocaltemplate(java.lang.String locale,
                             LocalTemplate aLocaltemplate)
Parameters:
locale - Locale name to be added to the template
aLocaltemplate - Object LocaleTemplate containing parameter specific to the locale to be added

getDescription

public java.lang.String getDescription()
Provides description for the template
Returns:
description associated with the template

getId

public java.lang.Long getId()
Provides ID of the template
Returns:
ID of the template

getLocaltemplateCollection

public java.util.Map getLocaltemplateCollection()
Provides a map of all locales associated with the template and their corresponding parameters
Returns:
A map of locale name to LocaleTemplate containing parameter specific to it

getSnmpsupported

public java.lang.Character getSnmpsupported()

getTemplatename

public java.lang.String getTemplatename()
Provides name of the template
Returns:
name of the template

removeLocaltemplate

public void removeLocaltemplate(LocalTemplate aLocaltemplate)
Parameters:
aLocaltemplate - Object LocaleTemplate containing parameter specific to the locale to be removed

setDescription

public void setDescription(java.lang.String description)
Set description for the template
Parameters:
description - description for the template

setId

public void setId(java.lang.Long id)
Sets ID of the template
Parameters:
id - The value of id

setId

public void setId(java.lang.String sid)
Sets ID of the template
Parameters:
sid - The value of id

getEventname

public java.lang.String getEventname()
Provides event name associated with the template
Returns:
event name

setEventname

public void setEventname(java.lang.String eventname)
Adds event name to the template
Parameters:
eventname - event name to be associated with the template

setLocaltemplateCollection

public void setLocaltemplateCollection(java.util.Map localtemplateCollection)
Adds map of locales and their corresponding parameters to the template
Parameters:
localtemplateCollection - map containing locales and their corresponding parameters

setSnmpsupported

public void setSnmpsupported(boolean flag)
Specify support for SNMP
Parameters:
flag - 'true' if support is provided else 'false'

setSnmpsupported

public void setSnmpsupported(java.lang.String flag)
Specify support for SNMP
Parameters:
flag - custom flag to be set

setTemplatename

public void setTemplatename(java.lang.String templatename)
Sets name for the template
Parameters:
templatename - name to be given to the template

getDatalevel

public java.lang.Double getDatalevel()
Provides Data Level of the template
Returns:
data level of the template

setDatalevel

public void setDatalevel(java.lang.Double datalevel)
Sets Data Level of the template
Parameters:
datalevel - value of the data level to be set

setDatalevel

public void setDatalevel(java.lang.String datalevel)
Sets Data Level of the template
Parameters:
datalevel - value of the data level to be set

getCreationdate

public java.sql.Timestamp getCreationdate()
Provides Creation Date of the template
Returns:
timestamp at which the template was created

setCreationdate

public void setCreationdate(java.sql.Timestamp creationdate)
Sets Creation Date of the template
Parameters:
creationdate - value of timestamp to be set

getLastupdated

public java.sql.Timestamp getLastupdated()
Provides timestamp of the last update done in the template
Returns:
timestamp when the template was last updated

setLastupdated

public void setLastupdated(java.sql.Timestamp lastupdated)
sets timestamp of the last update done in the template
Parameters:
lastupdated - value of the timestamp to be set

getLastuser

public java.lang.String getLastuser()
Gets the last user who updated the template
Returns:
username of the user who last updated the template

setLastuser

public void setLastuser(java.lang.String lastuser)
Sets the last user who updated the template
Parameters:
lastuser - username of the user

getCreateuser

public java.lang.String getCreateuser()
Gets the user who created the template
Returns:
username of the user who created the template

setCreateuser

public void setCreateuser(java.lang.String createuser)
Sets the user who created the template
Parameters:
createuser - username of the user who created the template

isOOTBTemplate

public boolean isOOTBTemplate()
Return true if OOTB template
Returns:
flag value for OOTB template

setOOTBTemplate

public void setOOTBTemplate(boolean ootbtemplate)
Sets flag for OOTB templates
Parameters:
true/false - as per default template

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.