/TradePortal/src/java/com/ams/tradeportal/busobj/NotificationRuleBean_Base.java

https://gitlab.com/jaswanth.maddineni/Portal · Java · 463 lines · 362 code · 52 blank · 49 comment · 0 complexity · 4511f86e2833d0f883de92273f5c657f MD5 · raw file

  1. package com.ams.tradeportal.busobj;
  2. import com.amsinc.ecsg.frame.*;
  3. import com.amsinc.ecsg.util.*;
  4. import java.rmi.*;
  5. import java.util.*;
  6. import java.math.*;
  7. import javax.ejb.*;
  8. import com.ams.tradeportal.common.*;
  9. /*
  10. * Defines a rule which determines if a Corporate Customer will receive notification
  11. * messages and emails after a transaction has been authorized.
  12. *
  13. * A Notification Rule can be established by Client Banks and Bank Group level
  14. * users. The Notification Rule can then be assigned to a specific Corporate
  15. * Customer.
  16. *
  17. * Copyright © 2003
  18. * American Management Systems, Incorporated
  19. * All rights reserved
  20. */
  21. public class NotificationRuleBean_Base extends ReferenceDataBean
  22. {
  23. /*
  24. * Register the attributes and associations of the business object
  25. */
  26. protected void registerAttributes() throws AmsException
  27. {
  28. /* Register attributes defined in the Ancestor class */
  29. super.registerAttributes();
  30. /* notification_rule_oid - Unique identifier */
  31. attributeMgr.registerAttribute("notification_rule_oid", "notification_rule_oid", "ObjectIDAttribute");
  32. /* description - Description of the rule */
  33. attributeMgr.registerAttribute("description", "description");
  34. attributeMgr.requiredAttribute("description");
  35. attributeMgr.registerAlias("description", getResourceManager().getText("NotificationRuleBeanAlias.description", TradePortalConstants.TEXT_BUNDLE));
  36. /* email_frequency - Determines whether notification emails will be received for each transaction
  37. or daily. */
  38. attributeMgr.registerReferenceAttribute("email_frequency", "email_frequency", "NOTIF_RULE_EMAIL_FREQ");
  39. attributeMgr.requiredAttribute("email_frequency");
  40. attributeMgr.registerAlias("email_frequency", getResourceManager().getText("NotificationRuleBeanAlias.email_frequency", TradePortalConstants.TEXT_BUNDLE));
  41. /* email_for_message - Indicates if an email will be sent for mail messages. */
  42. /*
  43. attributeMgr.registerReferenceAttribute("email_for_message", "email_for_message", "NOTIF_RULE_SETTING");
  44. attributeMgr.requiredAttribute("email_for_message");
  45. attributeMgr.registerAlias("email_for_message", getResourceManager().getText("NotificationRuleBeanAlias.email_for_message", TradePortalConstants.TEXT_BUNDLE));
  46. */
  47. /* email_for_discrepancy - Indicates if an email will be sent for discrepancy messages. */
  48. /* attributeMgr.registerReferenceAttribute("email_for_discrepancy", "email_for_discrepancy", "NOTIF_RULE_SETTING");
  49. attributeMgr.requiredAttribute("email_for_discrepancy");
  50. attributeMgr.registerAlias("email_for_discrepancy", getResourceManager().getText("NotificationRuleBeanAlias.email_for_discrepancy", TradePortalConstants.TEXT_BUNDLE));
  51. */
  52. /* part_to_validate - This is a local attribute, meaning that it is not stored in the database.
  53. It stores the tab that the user is editing on the PO Upload Definition detail
  54. page. Based on what tab is being edited, different validations occur. */
  55. // attributeMgr.registerAttribute("part_to_validate", "part_to_validate", "LocalAttribute");
  56. /* email_for_ar_match_notice - Whether an email will be sent when AR Match Notice is received. */
  57. // attributeMgr.registerReferenceAttribute("email_for_ar_match_notice", "email_for_ar_match_notice", "NOTIF_RULE_SETTING");
  58. //IAZ CM 10/20/08 Start: make this attribute required
  59. // attributeMgr.requiredAttribute("email_for_ar_match_notice");
  60. //IAZ CM 10/20/08 End
  61. // attributeMgr.registerAlias("email_for_ar_match_notice", getResourceManager().getText("NotificationRuleBeanAlias.email_for_ar_match_notice", TradePortalConstants.TEXT_BUNDLE));
  62. /* Pointer to the parent ReferenceDataOwner */
  63. attributeMgr.registerAttribute("owner_org_oid", "p_owner_org_oid", "ParentIDAttribute");
  64. //SSikhakolli - Rel-9.4 CR-818 - adding new attribute
  65. // attributeMgr.registerReferenceAttribute("email_for_settle_instr", "email_for_settle_instr", "NOTIF_RULE_SETTING");
  66. attributeMgr.registerAttribute("template_ind", "template_ind", "IndicatorAttribute");
  67. attributeMgr.registerAttribute("source_template_notif_oid", "source_template_notif_oid","NumberAttribute");
  68. attributeMgr.registerAttribute("save_as_flag", "save_as_flag", "LocalAttribute");
  69. attributeMgr.registerAttribute("default_apply_to_all_grp", "default_apply_to_all_grp", "LocalAttribute");
  70. attributeMgr.registerAttribute("default_clear_to_all_grp", "default_clear_to_all_grp", "LocalAttribute");
  71. attributeMgr.registerAttribute("default_update_recipients_only", "default_update_recipients_only", "LocalAttribute");
  72. attributeMgr.registerAttribute("default_update_emails_only", "default_update_emails_only", "LocalAttribute");
  73. attributeMgr.registerAttribute("default_notify_setting", "default_notify_setting", "LocalAttribute");
  74. attributeMgr.registerAttribute("default_email_setting", "default_email_setting", "LocalAttribute");
  75. attributeMgr.registerAttribute("default_addl_email_addr", "default_addl_email_addr", "LocalAttribute");
  76. attributeMgr.registerAttribute("default_notification_user_ids", "default_notification_user_ids", "LocalAttribute");
  77. attributeMgr.registerAttribute("change_count", "change_count", "LocalAttribute");
  78. attributeMgr.registerAttribute("col_type", "col_type", "LocalAttribute");
  79. attributeMgr.registerAttribute("instrument_type0", "instrument_type0", "LocalAttribute");
  80. attributeMgr.registerAttribute("instrument_type1", "instrument_type1", "LocalAttribute");
  81. attributeMgr.registerAttribute("instrument_type2", "instrument_type2", "LocalAttribute");
  82. attributeMgr.registerAttribute("instrument_type3", "instrument_type3", "LocalAttribute");
  83. attributeMgr.registerAttribute("instrument_type4", "instrument_type4", "LocalAttribute");
  84. attributeMgr.registerAttribute("instrument_type5", "instrument_type5", "LocalAttribute");
  85. attributeMgr.registerAttribute("instrument_type6", "instrument_type6", "LocalAttribute");
  86. attributeMgr.registerAttribute("instrument_type7", "instrument_type7", "LocalAttribute");
  87. attributeMgr.registerAttribute("instrument_type8", "instrument_type8", "LocalAttribute");
  88. attributeMgr.registerAttribute("instrument_type9", "instrument_type9", "LocalAttribute");
  89. attributeMgr.registerAttribute("instrument_type10", "instrument_type10", "LocalAttribute");
  90. attributeMgr.registerAttribute("instrument_type11", "instrument_type11", "LocalAttribute");
  91. attributeMgr.registerAttribute("instrument_type12", "instrument_type12", "LocalAttribute");
  92. attributeMgr.registerAttribute("instrument_type13", "instrument_type13", "LocalAttribute");
  93. attributeMgr.registerAttribute("instrument_type14", "instrument_type14", "LocalAttribute");
  94. attributeMgr.registerAttribute("instrument_type15", "instrument_type15", "LocalAttribute");
  95. attributeMgr.registerAttribute("instrument_type16", "instrument_type16", "LocalAttribute");
  96. attributeMgr.registerAttribute("instrument_type17", "instrument_type17", "LocalAttribute");
  97. attributeMgr.registerAttribute("instrument_type18", "instrument_type18", "LocalAttribute");
  98. attributeMgr.registerAttribute("instrument_type19", "instrument_type19", "LocalAttribute");
  99. attributeMgr.registerAttribute("instrument_type20", "instrument_type20", "LocalAttribute");
  100. attributeMgr.registerAttribute("instrument_type21", "instrument_type21", "LocalAttribute");
  101. attributeMgr.registerAttribute("instrument_type22", "instrument_type22", "LocalAttribute");
  102. attributeMgr.registerAttribute("instrument_type23", "instrument_type23", "LocalAttribute");
  103. attributeMgr.registerAttribute("instrument_type24", "instrument_type24", "LocalAttribute");
  104. attributeMgr.registerAttribute("instrument_type25", "instrument_type25", "LocalAttribute");
  105. attributeMgr.registerAttribute("instrument_type26", "instrument_type26", "LocalAttribute");
  106. attributeMgr.registerAttribute("instrument_type27", "instrument_type27", "LocalAttribute");
  107. attributeMgr.registerAttribute("instrument_type28", "instrument_type28", "LocalAttribute");
  108. attributeMgr.registerAttribute("instrument_type29", "instrument_type29", "LocalAttribute");
  109. attributeMgr.registerAttribute("instrument_type30", "instrument_type30", "LocalAttribute");
  110. attributeMgr.registerAttribute("instrument_type31", "instrument_type31", "LocalAttribute");
  111. attributeMgr.registerAttribute("instrument_type32", "instrument_type32", "LocalAttribute");
  112. attributeMgr.registerAttribute("instrument_type33", "instrument_type32", "LocalAttribute");
  113. attributeMgr.registerAttribute("instrument_type34", "instrument_type34", "LocalAttribute");
  114. attributeMgr.registerAttribute("apply_to_all_tran0", "apply_to_all_tran0", "LocalAttribute");
  115. attributeMgr.registerAttribute("apply_to_all_tran1", "apply_to_all_tran1", "LocalAttribute");
  116. attributeMgr.registerAttribute("apply_to_all_tran2", "apply_to_all_tran2", "LocalAttribute");
  117. attributeMgr.registerAttribute("apply_to_all_tran3", "apply_to_all_tran3", "LocalAttribute");
  118. attributeMgr.registerAttribute("apply_to_all_tran4", "apply_to_all_tran4", "LocalAttribute");
  119. attributeMgr.registerAttribute("apply_to_all_tran5", "apply_to_all_tran5", "LocalAttribute");
  120. attributeMgr.registerAttribute("apply_to_all_tran6", "apply_to_all_tran6", "LocalAttribute");
  121. attributeMgr.registerAttribute("apply_to_all_tran7", "apply_to_all_tran7", "LocalAttribute");
  122. attributeMgr.registerAttribute("apply_to_all_tran8", "apply_to_all_tran8", "LocalAttribute");
  123. attributeMgr.registerAttribute("apply_to_all_tran9", "apply_to_all_tran9", "LocalAttribute");
  124. attributeMgr.registerAttribute("apply_to_all_tran10", "apply_to_all_tran10", "LocalAttribute");
  125. attributeMgr.registerAttribute("apply_to_all_tran11", "apply_to_all_tran11", "LocalAttribute");
  126. attributeMgr.registerAttribute("apply_to_all_tran12", "apply_to_all_tran12", "LocalAttribute");
  127. attributeMgr.registerAttribute("apply_to_all_tran13", "apply_to_all_tran13", "LocalAttribute");
  128. attributeMgr.registerAttribute("apply_to_all_tran14", "apply_to_all_tran14", "LocalAttribute");
  129. attributeMgr.registerAttribute("apply_to_all_tran15", "apply_to_all_tran15", "LocalAttribute");
  130. attributeMgr.registerAttribute("apply_to_all_tran16", "apply_to_all_tran16", "LocalAttribute");
  131. attributeMgr.registerAttribute("apply_to_all_tran17", "apply_to_all_tran17", "LocalAttribute");
  132. attributeMgr.registerAttribute("apply_to_all_tran18", "apply_to_all_tran18", "LocalAttribute");
  133. attributeMgr.registerAttribute("apply_to_all_tran19", "apply_to_all_tran19", "LocalAttribute");
  134. attributeMgr.registerAttribute("apply_to_all_tran20", "apply_to_all_tran20", "LocalAttribute");
  135. attributeMgr.registerAttribute("apply_to_all_tran21", "apply_to_all_tran21", "LocalAttribute");
  136. attributeMgr.registerAttribute("apply_to_all_tran22", "apply_to_all_tran22", "LocalAttribute");
  137. attributeMgr.registerAttribute("apply_to_all_tran23", "apply_to_all_tran23", "LocalAttribute");
  138. attributeMgr.registerAttribute("apply_to_all_tran24", "apply_to_all_tran24", "LocalAttribute");
  139. attributeMgr.registerAttribute("apply_to_all_tran25", "apply_to_all_tran25", "LocalAttribute");
  140. attributeMgr.registerAttribute("apply_to_all_tran26", "apply_to_all_tran26", "LocalAttribute");
  141. attributeMgr.registerAttribute("apply_to_all_tran27", "apply_to_all_tran27", "LocalAttribute");
  142. attributeMgr.registerAttribute("apply_to_all_tran28", "apply_to_all_tran28", "LocalAttribute");
  143. attributeMgr.registerAttribute("apply_to_all_tran29", "apply_to_all_tran29", "LocalAttribute");
  144. attributeMgr.registerAttribute("apply_to_all_tran30", "apply_to_all_tran30", "LocalAttribute");
  145. attributeMgr.registerAttribute("apply_to_all_tran31", "apply_to_all_tran31", "LocalAttribute");
  146. attributeMgr.registerAttribute("apply_to_all_tran32", "apply_to_all_tran32", "LocalAttribute");
  147. attributeMgr.registerAttribute("apply_to_all_tran33", "apply_to_all_tran33", "LocalAttribute");
  148. attributeMgr.registerAttribute("apply_to_all_tran34", "apply_to_all_tran34", "LocalAttribute");
  149. attributeMgr.registerAttribute("clear_to_all_tran0", "clear_to_all_tran0", "LocalAttribute");
  150. attributeMgr.registerAttribute("clear_to_all_tran1", "clear_to_all_tran1", "LocalAttribute");
  151. attributeMgr.registerAttribute("clear_to_all_tran2", "clear_to_all_tran2", "LocalAttribute");
  152. attributeMgr.registerAttribute("clear_to_all_tran3", "clear_to_all_tran3", "LocalAttribute");
  153. attributeMgr.registerAttribute("clear_to_all_tran4", "clear_to_all_tran4", "LocalAttribute");
  154. attributeMgr.registerAttribute("clear_to_all_tran5", "clear_to_all_tran5", "LocalAttribute");
  155. attributeMgr.registerAttribute("clear_to_all_tran6", "clear_to_all_tran6", "LocalAttribute");
  156. attributeMgr.registerAttribute("clear_to_all_tran7", "clear_to_all_tran7", "LocalAttribute");
  157. attributeMgr.registerAttribute("clear_to_all_tran8", "clear_to_all_tran8", "LocalAttribute");
  158. attributeMgr.registerAttribute("clear_to_all_tran9", "clear_to_all_tran9", "LocalAttribute");
  159. attributeMgr.registerAttribute("clear_to_all_tran10", "clear_to_all_tran10", "LocalAttribute");
  160. attributeMgr.registerAttribute("clear_to_all_tran10", "clear_to_all_tran10", "LocalAttribute");
  161. attributeMgr.registerAttribute("clear_to_all_tran11", "clear_to_all_tran11", "LocalAttribute");
  162. attributeMgr.registerAttribute("clear_to_all_tran12", "clear_to_all_tran12", "LocalAttribute");
  163. attributeMgr.registerAttribute("clear_to_all_tran13", "clear_to_all_tran13", "LocalAttribute");
  164. attributeMgr.registerAttribute("clear_to_all_tran14", "clear_to_all_tran14", "LocalAttribute");
  165. attributeMgr.registerAttribute("clear_to_all_tran15", "clear_to_all_tran15", "LocalAttribute");
  166. attributeMgr.registerAttribute("clear_to_all_tran16", "clear_to_all_tran16", "LocalAttribute");
  167. attributeMgr.registerAttribute("clear_to_all_tran17", "clear_to_all_tran17", "LocalAttribute");
  168. attributeMgr.registerAttribute("clear_to_all_tran18", "clear_to_all_tran18", "LocalAttribute");
  169. attributeMgr.registerAttribute("clear_to_all_tran19", "clear_to_all_tran19", "LocalAttribute");
  170. attributeMgr.registerAttribute("clear_to_all_tran20", "clear_to_all_tran20", "LocalAttribute");
  171. attributeMgr.registerAttribute("clear_to_all_tran21", "clear_to_all_tran21", "LocalAttribute");
  172. attributeMgr.registerAttribute("clear_to_all_tran22", "clear_to_all_tran22", "LocalAttribute");
  173. attributeMgr.registerAttribute("clear_to_all_tran23", "clear_to_all_tran23", "LocalAttribute");
  174. attributeMgr.registerAttribute("clear_to_all_tran24", "clear_to_all_tran24", "LocalAttribute");
  175. attributeMgr.registerAttribute("clear_to_all_tran25", "clear_to_all_tran25", "LocalAttribute");
  176. attributeMgr.registerAttribute("clear_to_all_tran26", "clear_to_all_tran26", "LocalAttribute");
  177. attributeMgr.registerAttribute("clear_to_all_tran27", "clear_to_all_tran27", "LocalAttribute");
  178. attributeMgr.registerAttribute("clear_to_all_tran28", "clear_to_all_tran28", "LocalAttribute");
  179. attributeMgr.registerAttribute("clear_to_all_tran29", "clear_to_all_tran29", "LocalAttribute");
  180. attributeMgr.registerAttribute("clear_to_all_tran30", "clear_to_all_tran30", "LocalAttribute");
  181. attributeMgr.registerAttribute("clear_to_all_tran31", "clear_to_all_tran31", "LocalAttribute");
  182. attributeMgr.registerAttribute("clear_to_all_tran32", "clear_to_all_tran32", "LocalAttribute");
  183. attributeMgr.registerAttribute("clear_to_all_tran33", "clear_to_all_tran33", "LocalAttribute");
  184. attributeMgr.registerAttribute("clear_to_all_tran34", "clear_to_all_tran34", "LocalAttribute");
  185. attributeMgr.registerAttribute("send_notif_setting0", "send_notif_setting0", "LocalAttribute");
  186. attributeMgr.registerAttribute("send_notif_setting1", "send_notif_setting1", "LocalAttribute");
  187. attributeMgr.registerAttribute("send_notif_setting2", "send_notif_setting2", "LocalAttribute");
  188. attributeMgr.registerAttribute("send_notif_setting3", "send_notif_setting3", "LocalAttribute");
  189. attributeMgr.registerAttribute("send_notif_setting4", "send_notif_setting4", "LocalAttribute");
  190. attributeMgr.registerAttribute("send_notif_setting5", "send_notif_setting5", "LocalAttribute");
  191. attributeMgr.registerAttribute("send_notif_setting6", "send_notif_setting6", "LocalAttribute");
  192. attributeMgr.registerAttribute("send_notif_setting7", "send_notif_setting7", "LocalAttribute");
  193. attributeMgr.registerAttribute("send_notif_setting8", "send_notif_setting8", "LocalAttribute");
  194. attributeMgr.registerAttribute("send_notif_setting9", "send_notif_setting9", "LocalAttribute");
  195. attributeMgr.registerAttribute("send_notif_setting10", "send_notif_setting10", "LocalAttribute");
  196. attributeMgr.registerAttribute("send_notif_setting11", "send_notif_setting11", "LocalAttribute");
  197. attributeMgr.registerAttribute("send_notif_setting12", "send_notif_setting12", "LocalAttribute");
  198. attributeMgr.registerAttribute("send_notif_setting13", "send_notif_setting13", "LocalAttribute");
  199. attributeMgr.registerAttribute("send_notif_setting14", "send_notif_setting14", "LocalAttribute");
  200. attributeMgr.registerAttribute("send_notif_setting15", "send_notif_setting15", "LocalAttribute");
  201. attributeMgr.registerAttribute("send_notif_setting16", "send_notif_setting16", "LocalAttribute");
  202. attributeMgr.registerAttribute("send_notif_setting17", "send_notif_setting17", "LocalAttribute");
  203. attributeMgr.registerAttribute("send_notif_setting18", "send_notif_setting18", "LocalAttribute");
  204. attributeMgr.registerAttribute("send_notif_setting19", "send_notif_setting19", "LocalAttribute");
  205. attributeMgr.registerAttribute("send_notif_setting20", "send_notif_setting20", "LocalAttribute");
  206. attributeMgr.registerAttribute("send_notif_setting21", "send_notif_setting21", "LocalAttribute");
  207. attributeMgr.registerAttribute("send_notif_setting22", "send_notif_setting22", "LocalAttribute");
  208. attributeMgr.registerAttribute("send_notif_setting23", "send_notif_setting23", "LocalAttribute");
  209. attributeMgr.registerAttribute("send_notif_setting24", "send_notif_setting24", "LocalAttribute");
  210. attributeMgr.registerAttribute("send_notif_setting25", "send_notif_setting25", "LocalAttribute");
  211. attributeMgr.registerAttribute("send_notif_setting26", "send_notif_setting26", "LocalAttribute");
  212. attributeMgr.registerAttribute("send_notif_setting27", "send_notif_setting27", "LocalAttribute");
  213. attributeMgr.registerAttribute("send_notif_setting28", "send_notif_setting28", "LocalAttribute");
  214. attributeMgr.registerAttribute("send_notif_setting29", "send_notif_setting29", "LocalAttribute");
  215. attributeMgr.registerAttribute("send_notif_setting30", "send_notif_setting30", "LocalAttribute");
  216. attributeMgr.registerAttribute("send_notif_setting31", "send_notif_setting31", "LocalAttribute");
  217. attributeMgr.registerAttribute("send_notif_setting32", "send_notif_setting32", "LocalAttribute");
  218. attributeMgr.registerAttribute("send_notif_setting33", "send_notif_setting33", "LocalAttribute");
  219. attributeMgr.registerAttribute("send_notif_setting34", "send_notif_setting34", "LocalAttribute");
  220. attributeMgr.registerAttribute("send_email_setting0", "send_email_setting0", "LocalAttribute");
  221. attributeMgr.registerAttribute("send_email_setting1", "send_email_setting1", "LocalAttribute");
  222. attributeMgr.registerAttribute("send_email_setting2", "send_email_setting2", "LocalAttribute");
  223. attributeMgr.registerAttribute("send_email_setting3", "send_email_setting3", "LocalAttribute");
  224. attributeMgr.registerAttribute("send_email_setting4", "send_email_setting4", "LocalAttribute");
  225. attributeMgr.registerAttribute("send_email_setting5", "send_email_setting5", "LocalAttribute");
  226. attributeMgr.registerAttribute("send_email_setting6", "send_email_setting6", "LocalAttribute");
  227. attributeMgr.registerAttribute("send_email_setting7", "send_email_setting7", "LocalAttribute");
  228. attributeMgr.registerAttribute("send_email_setting8", "send_email_setting8", "LocalAttribute");
  229. attributeMgr.registerAttribute("send_email_setting9", "send_email_setting9", "LocalAttribute");
  230. attributeMgr.registerAttribute("send_email_setting10", "send_email_setting10", "LocalAttribute");
  231. attributeMgr.registerAttribute("send_email_setting10", "send_email_setting10", "LocalAttribute");
  232. attributeMgr.registerAttribute("send_email_setting11", "send_email_setting11", "LocalAttribute");
  233. attributeMgr.registerAttribute("send_email_setting12", "send_email_setting12", "LocalAttribute");
  234. attributeMgr.registerAttribute("send_email_setting13", "send_email_setting13", "LocalAttribute");
  235. attributeMgr.registerAttribute("send_email_setting14", "send_email_setting14", "LocalAttribute");
  236. attributeMgr.registerAttribute("send_email_setting15", "send_email_setting15", "LocalAttribute");
  237. attributeMgr.registerAttribute("send_email_setting16", "send_email_setting16", "LocalAttribute");
  238. attributeMgr.registerAttribute("send_email_setting17", "send_email_setting17", "LocalAttribute");
  239. attributeMgr.registerAttribute("send_email_setting18", "send_email_setting18", "LocalAttribute");
  240. attributeMgr.registerAttribute("send_email_setting19", "send_email_setting19", "LocalAttribute");
  241. attributeMgr.registerAttribute("send_email_setting20", "send_email_setting20", "LocalAttribute");
  242. attributeMgr.registerAttribute("send_email_setting21", "send_email_setting21", "LocalAttribute");
  243. attributeMgr.registerAttribute("send_email_setting22", "send_email_setting22", "LocalAttribute");
  244. attributeMgr.registerAttribute("send_email_setting23", "send_email_setting23", "LocalAttribute");
  245. attributeMgr.registerAttribute("send_email_setting24", "send_email_setting24", "LocalAttribute");
  246. attributeMgr.registerAttribute("send_email_setting25", "send_email_setting25", "LocalAttribute");
  247. attributeMgr.registerAttribute("send_email_setting26", "send_email_setting26", "LocalAttribute");
  248. attributeMgr.registerAttribute("send_email_setting27", "send_email_setting27", "LocalAttribute");
  249. attributeMgr.registerAttribute("send_email_setting28", "send_email_setting28", "LocalAttribute");
  250. attributeMgr.registerAttribute("send_email_setting29", "send_email_setting29", "LocalAttribute");
  251. attributeMgr.registerAttribute("send_email_setting30", "send_email_setting30", "LocalAttribute");
  252. attributeMgr.registerAttribute("send_email_setting31", "send_email_setting31", "LocalAttribute");
  253. attributeMgr.registerAttribute("send_email_setting32", "send_email_setting32", "LocalAttribute");
  254. attributeMgr.registerAttribute("send_email_setting33", "send_email_setting33", "LocalAttribute");
  255. attributeMgr.registerAttribute("send_email_setting34", "send_email_setting34", "LocalAttribute");
  256. attributeMgr.registerAttribute("additional_email_addr0", "additional_email_addr0", "LocalAttribute");
  257. attributeMgr.registerAttribute("additional_email_addr1", "additional_email_addr1", "LocalAttribute");
  258. attributeMgr.registerAttribute("additional_email_addr2", "additional_email_addr2", "LocalAttribute");
  259. attributeMgr.registerAttribute("additional_email_addr3", "additional_email_addr3", "LocalAttribute");
  260. attributeMgr.registerAttribute("additional_email_addr4", "additional_email_addr4", "LocalAttribute");
  261. attributeMgr.registerAttribute("additional_email_addr5", "additional_email_addr5", "LocalAttribute");
  262. attributeMgr.registerAttribute("additional_email_addr6", "additional_email_addr6", "LocalAttribute");
  263. attributeMgr.registerAttribute("additional_email_addr7", "additional_email_addr7", "LocalAttribute");
  264. attributeMgr.registerAttribute("additional_email_addr8", "additional_email_addr8", "LocalAttribute");
  265. attributeMgr.registerAttribute("additional_email_addr9", "additional_email_addr9", "LocalAttribute");
  266. attributeMgr.registerAttribute("additional_email_addr10", "additional_email_addr10", "LocalAttribute");
  267. attributeMgr.registerAttribute("additional_email_addr11", "additional_email_addr11", "LocalAttribute");
  268. attributeMgr.registerAttribute("additional_email_addr12", "additional_email_addr12", "LocalAttribute");
  269. attributeMgr.registerAttribute("additional_email_addr13", "additional_email_addr13", "LocalAttribute");
  270. attributeMgr.registerAttribute("additional_email_addr14", "additional_email_addr14", "LocalAttribute");
  271. attributeMgr.registerAttribute("additional_email_addr15", "additional_email_addr15", "LocalAttribute");
  272. attributeMgr.registerAttribute("additional_email_addr16", "additional_email_addr16", "LocalAttribute");
  273. attributeMgr.registerAttribute("additional_email_addr17", "additional_email_addr17", "LocalAttribute");
  274. attributeMgr.registerAttribute("additional_email_addr18", "additional_email_addr18", "LocalAttribute");
  275. attributeMgr.registerAttribute("additional_email_addr19", "additional_email_addr19", "LocalAttribute");
  276. attributeMgr.registerAttribute("additional_email_addr20", "additional_email_addr20", "LocalAttribute");
  277. attributeMgr.registerAttribute("additional_email_addr21", "additional_email_addr21", "LocalAttribute");
  278. attributeMgr.registerAttribute("additional_email_addr22", "additional_email_addr22", "LocalAttribute");
  279. attributeMgr.registerAttribute("additional_email_addr23", "additional_email_addr23", "LocalAttribute");
  280. attributeMgr.registerAttribute("additional_email_addr24", "additional_email_addr24", "LocalAttribute");
  281. attributeMgr.registerAttribute("additional_email_addr25", "additional_email_addr25", "LocalAttribute");
  282. attributeMgr.registerAttribute("additional_email_addr26", "additional_email_addr26", "LocalAttribute");
  283. attributeMgr.registerAttribute("additional_email_addr27", "additional_email_addr27", "LocalAttribute");
  284. attributeMgr.registerAttribute("additional_email_addr28", "additional_email_addr28", "LocalAttribute");
  285. attributeMgr.registerAttribute("additional_email_addr29", "additional_email_addr29", "LocalAttribute");
  286. attributeMgr.registerAttribute("additional_email_addr30", "additional_email_addr30", "LocalAttribute");
  287. attributeMgr.registerAttribute("additional_email_addr31", "additional_email_addr31", "LocalAttribute");
  288. attributeMgr.registerAttribute("additional_email_addr32", "additional_email_addr32", "LocalAttribute");
  289. attributeMgr.registerAttribute("additional_email_addr33", "additional_email_addr33", "LocalAttribute");
  290. attributeMgr.registerAttribute("additional_email_addr34", "additional_email_addr34", "LocalAttribute");
  291. attributeMgr.registerAttribute("notification_user_ids0", "notification_user_ids0", "LocalAttribute");
  292. attributeMgr.registerAttribute("notification_user_ids1", "notification_user_ids1", "LocalAttribute");
  293. attributeMgr.registerAttribute("notification_user_ids2", "notification_user_ids2", "LocalAttribute");
  294. attributeMgr.registerAttribute("notification_user_ids3", "notification_user_ids3", "LocalAttribute");
  295. attributeMgr.registerAttribute("notification_user_ids4", "notification_user_ids4", "LocalAttribute");
  296. attributeMgr.registerAttribute("notification_user_ids5", "notification_user_ids5", "LocalAttribute");
  297. attributeMgr.registerAttribute("notification_user_ids6", "notification_user_ids6", "LocalAttribute");
  298. attributeMgr.registerAttribute("notification_user_ids7", "notification_user_ids7", "LocalAttribute");
  299. attributeMgr.registerAttribute("notification_user_ids8", "notification_user_ids8", "LocalAttribute");
  300. attributeMgr.registerAttribute("notification_user_ids9", "notification_user_ids9", "LocalAttribute");
  301. attributeMgr.registerAttribute("notification_user_ids10", "notification_user_ids10", "LocalAttribute");
  302. attributeMgr.registerAttribute("notification_user_ids11", "notification_user_ids11", "LocalAttribute");
  303. attributeMgr.registerAttribute("notification_user_ids12", "notification_user_ids12", "LocalAttribute");
  304. attributeMgr.registerAttribute("notification_user_ids13", "notification_user_ids13", "LocalAttribute");
  305. attributeMgr.registerAttribute("notification_user_ids14", "notification_user_ids14", "LocalAttribute");
  306. attributeMgr.registerAttribute("notification_user_ids15", "notification_user_ids15", "LocalAttribute");
  307. attributeMgr.registerAttribute("notification_user_ids16", "notification_user_ids16", "LocalAttribute");
  308. attributeMgr.registerAttribute("notification_user_ids17", "notification_user_ids17", "LocalAttribute");
  309. attributeMgr.registerAttribute("notification_user_ids18", "notification_user_ids18", "LocalAttribute");
  310. attributeMgr.registerAttribute("notification_user_ids19", "notification_user_ids19", "LocalAttribute");
  311. attributeMgr.registerAttribute("notification_user_ids20", "notification_user_ids20", "LocalAttribute");
  312. attributeMgr.registerAttribute("notification_user_ids21", "notification_user_ids21", "LocalAttribute");
  313. attributeMgr.registerAttribute("notification_user_ids22", "notification_user_ids22", "LocalAttribute");
  314. attributeMgr.registerAttribute("notification_user_ids23", "notification_user_ids23", "LocalAttribute");
  315. attributeMgr.registerAttribute("notification_user_ids24", "notification_user_ids24", "LocalAttribute");
  316. attributeMgr.registerAttribute("notification_user_ids25", "notification_user_ids25", "LocalAttribute");
  317. attributeMgr.registerAttribute("notification_user_ids26", "notification_user_ids26", "LocalAttribute");
  318. attributeMgr.registerAttribute("notification_user_ids27", "notification_user_ids27", "LocalAttribute");
  319. attributeMgr.registerAttribute("notification_user_ids28", "notification_user_ids28", "LocalAttribute");
  320. attributeMgr.registerAttribute("notification_user_ids29", "notification_user_ids29", "LocalAttribute");
  321. attributeMgr.registerAttribute("notification_user_ids30", "notification_user_ids30", "LocalAttribute");
  322. attributeMgr.registerAttribute("notification_user_ids31", "notification_user_ids31", "LocalAttribute");
  323. attributeMgr.registerAttribute("notification_user_ids32", "notification_user_ids32", "LocalAttribute");
  324. attributeMgr.registerAttribute("notification_user_ids33", "notification_user_ids33", "LocalAttribute");
  325. attributeMgr.registerAttribute("notification_user_ids34", "notification_user_ids34", "LocalAttribute");
  326. attributeMgr.registerAttribute("update_recipients_only_tran0", "update_recipients_only_tran0", "LocalAttribute");
  327. attributeMgr.registerAttribute("update_recipients_only_tran1", "update_recipients_only_tran1", "LocalAttribute");
  328. attributeMgr.registerAttribute("update_recipients_only_tran2", "update_recipients_only_tran2", "LocalAttribute");
  329. attributeMgr.registerAttribute("update_recipients_only_tran3", "update_recipients_only_tran3", "LocalAttribute");
  330. attributeMgr.registerAttribute("update_recipients_only_tran4", "update_recipients_only_tran4", "LocalAttribute");
  331. attributeMgr.registerAttribute("update_recipients_only_tran5", "update_recipients_only_tran5", "LocalAttribute");
  332. attributeMgr.registerAttribute("update_recipients_only_tran6", "update_recipients_only_tran6", "LocalAttribute");
  333. attributeMgr.registerAttribute("update_recipients_only_tran7", "update_recipients_only_tran7", "LocalAttribute");
  334. attributeMgr.registerAttribute("update_recipients_only_tran8", "update_recipients_only_tran8", "LocalAttribute");
  335. attributeMgr.registerAttribute("update_recipients_only_tran9", "update_recipients_only_tran9", "LocalAttribute");
  336. attributeMgr.registerAttribute("update_recipients_only_tran10", "update_recipients_only_tran10", "LocalAttribute");
  337. attributeMgr.registerAttribute("update_recipients_only_tran11", "update_recipients_only_tran11", "LocalAttribute");
  338. attributeMgr.registerAttribute("update_recipients_only_tran12", "update_recipients_only_tran12", "LocalAttribute");
  339. attributeMgr.registerAttribute("update_recipients_only_tran13", "update_recipients_only_tran13", "LocalAttribute");
  340. attributeMgr.registerAttribute("update_recipients_only_tran14", "update_recipients_only_tran14", "LocalAttribute");
  341. attributeMgr.registerAttribute("update_recipients_only_tran15", "update_recipients_only_tran15", "LocalAttribute");
  342. attributeMgr.registerAttribute("update_recipients_only_tran16", "update_recipients_only_tran16", "LocalAttribute");
  343. attributeMgr.registerAttribute("update_recipients_only_tran17", "update_recipients_only_tran17", "LocalAttribute");
  344. attributeMgr.registerAttribute("update_recipients_only_tran18", "update_recipients_only_tran18", "LocalAttribute");
  345. attributeMgr.registerAttribute("update_recipients_only_tran19", "update_recipients_only_tran19", "LocalAttribute");
  346. attributeMgr.registerAttribute("update_recipients_only_tran20", "update_recipients_only_tran20", "LocalAttribute");
  347. attributeMgr.registerAttribute("update_recipients_only_tran21", "update_recipients_only_tran21", "LocalAttribute");
  348. attributeMgr.registerAttribute("update_recipients_only_tran22", "update_recipients_only_tran22", "LocalAttribute");
  349. attributeMgr.registerAttribute("update_recipients_only_tran23", "update_recipients_only_tran23", "LocalAttribute");
  350. attributeMgr.registerAttribute("update_recipients_only_tran24", "update_recipients_only_tran24", "LocalAttribute");
  351. attributeMgr.registerAttribute("update_recipients_only_tran25", "update_recipients_only_tran25", "LocalAttribute");
  352. attributeMgr.registerAttribute("update_recipients_only_tran26", "update_recipients_only_tran26", "LocalAttribute");
  353. attributeMgr.registerAttribute("update_recipients_only_tran27", "update_recipients_only_tran27", "LocalAttribute");
  354. attributeMgr.registerAttribute("update_recipients_only_tran28", "update_recipients_only_tran28", "LocalAttribute");
  355. attributeMgr.registerAttribute("update_recipients_only_tran29", "update_recipients_only_tran29", "LocalAttribute");
  356. attributeMgr.registerAttribute("update_recipients_only_tran30", "update_recipients_only_tran30", "LocalAttribute");
  357. attributeMgr.registerAttribute("update_recipients_only_tran31", "update_recipients_only_tran31", "LocalAttribute");
  358. attributeMgr.registerAttribute("update_recipients_only_tran32", "update_recipients_only_tran32", "LocalAttribute");
  359. attributeMgr.registerAttribute("update_recipients_only_tran33", "update_recipients_only_tran33", "LocalAttribute");
  360. attributeMgr.registerAttribute("update_recipients_only_tran34", "update_recipients_only_tran34", "LocalAttribute");
  361. attributeMgr.registerAttribute("update_emails_only_tran0", "update_emails_only_tran0", "LocalAttribute");
  362. attributeMgr.registerAttribute("update_emails_only_tran1", "update_emails_only_tran1", "LocalAttribute");
  363. attributeMgr.registerAttribute("update_emails_only_tran2", "update_emails_only_tran2", "LocalAttribute");
  364. attributeMgr.registerAttribute("update_emails_only_tran3", "update_emails_only_tran3", "LocalAttribute");
  365. attributeMgr.registerAttribute("update_emails_only_tran4", "update_emails_only_tran4", "LocalAttribute");
  366. attributeMgr.registerAttribute("update_emails_only_tran5", "update_emails_only_tran5", "LocalAttribute");
  367. attributeMgr.registerAttribute("update_emails_only_tran6", "update_emails_only_tran6", "LocalAttribute");
  368. attributeMgr.registerAttribute("update_emails_only_tran7", "update_emails_only_tran7", "LocalAttribute");
  369. attributeMgr.registerAttribute("update_emails_only_tran8", "update_emails_only_tran8", "LocalAttribute");
  370. attributeMgr.registerAttribute("update_emails_only_tran9", "update_emails_only_tran9", "LocalAttribute");
  371. attributeMgr.registerAttribute("update_emails_only_tran10", "update_emails_only_tran10", "LocalAttribute");
  372. attributeMgr.registerAttribute("update_emails_only_tran11", "update_emails_only_tran11", "LocalAttribute");
  373. attributeMgr.registerAttribute("update_emails_only_tran12", "update_emails_only_tran12", "LocalAttribute");
  374. attributeMgr.registerAttribute("update_emails_only_tran13", "update_emails_only_tran13", "LocalAttribute");
  375. attributeMgr.registerAttribute("update_emails_only_tran14", "update_emails_only_tran14", "LocalAttribute");
  376. attributeMgr.registerAttribute("update_emails_only_tran15", "update_emails_only_tran15", "LocalAttribute");
  377. attributeMgr.registerAttribute("update_emails_only_tran16", "update_emails_only_tran16", "LocalAttribute");
  378. attributeMgr.registerAttribute("update_emails_only_tran17", "update_emails_only_tran17", "LocalAttribute");
  379. attributeMgr.registerAttribute("update_emails_only_tran18", "update_emails_only_tran18", "LocalAttribute");
  380. attributeMgr.registerAttribute("update_emails_only_tran19", "update_emails_only_tran19", "LocalAttribute");
  381. attributeMgr.registerAttribute("update_emails_only_tran20", "update_emails_only_tran20", "LocalAttribute");
  382. attributeMgr.registerAttribute("update_emails_only_tran21", "update_emails_only_tran21", "LocalAttribute");
  383. attributeMgr.registerAttribute("update_emails_only_tran22", "update_emails_only_tran22", "LocalAttribute");
  384. attributeMgr.registerAttribute("update_emails_only_tran23", "update_emails_only_tran23", "LocalAttribute");
  385. attributeMgr.registerAttribute("update_emails_only_tran24", "update_emails_only_tran24", "LocalAttribute");
  386. attributeMgr.registerAttribute("update_emails_only_tran25", "update_emails_only_tran25", "LocalAttribute");
  387. attributeMgr.registerAttribute("update_emails_only_tran26", "update_emails_only_tran26", "LocalAttribute");
  388. attributeMgr.registerAttribute("update_emails_only_tran27", "update_emails_only_tran27", "LocalAttribute");
  389. attributeMgr.registerAttribute("update_emails_only_tran28", "update_emails_only_tran28", "LocalAttribute");
  390. attributeMgr.registerAttribute("update_emails_only_tran29", "update_emails_only_tran29", "LocalAttribute");
  391. attributeMgr.registerAttribute("update_emails_only_tran30", "update_emails_only_tran30", "LocalAttribute");
  392. attributeMgr.registerAttribute("update_emails_only_tran31", "update_emails_only_tran31", "LocalAttribute");
  393. attributeMgr.registerAttribute("update_emails_only_tran32", "update_emails_only_tran32", "LocalAttribute");
  394. attributeMgr.registerAttribute("update_emails_only_tran33", "update_emails_only_tran33", "LocalAttribute");
  395. attributeMgr.registerAttribute("update_emails_only_tran34", "update_emails_only_tran34", "LocalAttribute");
  396. attributeMgr.registerAttribute("c_InvoiceCRNoteEmailNotification", "c_notif_inv_crn_oid", "NumberAttribute");
  397. attributeMgr.registerAttribute("c_SPEmailNotifications", "c_notif_spemail_oid", "NumberAttribute");
  398. }
  399. /*
  400. * Register the components of the business object
  401. */
  402. protected void registerComponents() throws RemoteException, AmsException
  403. {
  404. /* Register the components defined in the Ancestor class */
  405. super.registerComponents();
  406. /* NotifyRuleCriterionList - Each notification rule contains one to many notify criterion. */
  407. registerOneToManyComponent("NotificationRuleCriterionList","NotificationRuleCriterionList");
  408. registerOneToOneComponent("SPEmailNotifications","SPEmailNotifications", "c_SPEmailNotifications");
  409. registerOneToOneComponent("InvoiceCRNoteEmailNotification","InvoiceCRNoteEmailNotification", "c_InvoiceCRNoteEmailNotification");
  410. }
  411. }