To specify global settings for each notification type valid in your edition of Oracle Self-Service E-Billing, specify the following values under the preference bean for each notification type. Each notification type is defined as a bean under the notificationPreferenceConfig property in the NotificationPreferenceManagerTarget bean.
Notification Configuration Property |
|
sms |
The preference setting for an SMS notification of this message type:
- True. All applicable users receive the SMS notification type. Individual users cannot set a preference.
- False. The SMS notification type is not generated globally. Individual users cannot set a preference.
- notSet. No global setting is specified. Individual users can set their own preference.
|
selectedByDefault |
The preference setting for email notification of this message type:
- True. All applicable users receive the email notification type. Individual users cannot set a preference.
- False. The email notification type is not generated globally. Individual users cannot set a preference.
- notSet. No global setting is specified. Individual users can set their own preference.
|
ADAOnly |
This preference setting indicates that this notification is displayed only in the Billing and Payment application when the user is ADA enabled. |
resource |
The resource bundle of the message shown on the notification preference UI page inthe Billing and Payment application. This resource bundle is used to automatically generate the notification preference page. If a new notification without a special preference parameter, such as numDaysBeforeDueDate, is later added to the page, then the JSP does not have to change. If this property is not specified, then the preference will not appear in in the UI. |
additionalParams |
Additional parameters required by this notification template, such as numDaysBeforeDueDate in paymentDueNotification, which you can be extended. |
emailCheckBoxTitle |
To support ADA, this property adds the title of email checkboxes to the user notification configuration page in the Billing and Payment application. |
smsCheckBoxTitle |
To support ADA, this property adds the title of sms checkboxes to the user notification configuration page in the Billing and Payment application.. |
For example, the following code in the notification.cfg.xma.xml file shows where you specify the global properties for the bill-ready notification type:
bean id="NotificationPreferenceManagerTarget" class="com.edocs.common.notification.core.NotificationPreferenceManager" scope="singleton" lazy-init="default" autowire="default" dependency-check="default">
- <!-- notification preference setting, this configuration can enable/disable certain notification for all users on specified channel
-->
- <property name="notificationPreferenceConfig">
- <list merge="default">
- <bean id="BillNotificationConfigBean" class="com.edocs.common.notification.config.PreferenceBean" lazy-init="default" autowire="default" dependency-check="default">
- <!-- Notification preference name
-->
- <property name="name">
<value>newStmtAvailable</value>
</property>
- <!-- sms notification preference setting. Its value specifies enable/disable this message sending for certain channel.
-->
- <property name="sms">
<value>notSet</value>
</property>
- <!-- email notification preference setting. Its value specifies enable/disable this message sending for certain channel.
-->
- <property name="selectedByDefault">
<value>notSet</value>
</property>
- <!-- Resource bundle of message which is shown in E-Billing notification preference UI page. It is used to automatically generate notification preference page.
-->
- <property name="resource">
<value>user.message.notification.billReady</value>
</property>
- <property name="emailCheckBoxTitle">
<value>global.label.billReady</value>
</property>
- <property name="smsCheckBoxTitle">
<value>global.label.billReadySMS</value>
</property>
</bean>
Only those settings for notification types valid in your edition are recognized. For information about valid email notification types in the Business Edition, see Email Notification Template Content in the Business Edition. For information about valid email notification types in the Consumer Edition, see Email Notification Template Content in the Consumer Edition.