xowiki::notifications-install (private)

 xowiki::notifications-install

Defined in packages/xowiki/tcl/notification-procs.tcl

Partial Call Graph (max 5 caller/called nodes):
%3 xowiki::after-install xowiki::after-install (private) xowiki::notifications-install xowiki::notifications-install xowiki::after-install->xowiki::notifications-install acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) xowiki::notifications-install->acs_sc::impl::new_from_spec notification::delivery::get_id notification::delivery::get_id (public) xowiki::notifications-install->notification::delivery::get_id notification::interval::get_id_from_name notification::interval::get_id_from_name (public) xowiki::notifications-install->notification::interval::get_id_from_name notification::type::delivery_method_enable notification::type::delivery_method_enable (public) xowiki::notifications-install->notification::type::delivery_method_enable notification::type::interval_enable notification::type::interval_enable (public) xowiki::notifications-install->notification::type::interval_enable

Testcases:
No testcase defined.
Source code:

    set impl_id [acs_sc::impl::new_from_spec -spec {
      name xowiki_notif_type
      contract_name NotificationType
      owner xowiki
      aliases {
        GetURL xowiki::notification::get_url
        ProcessReply xowiki::notification::process_reply
      }
    }]

    set type_id [notification::type::new  -sc_impl_id $impl_id  -short_name xowiki_notif  -pretty_name "XoWiki Notification"  -description "Notification of a new XoWiki page"]

    foreach delivery {email} {
      notification::type::delivery_method_enable -type_id $type_id  -delivery_method_id [notification::delivery::get_id  -short_name $delivery]
    }

    foreach interval {instant hourly daily} {
      notification::type::interval_enable -type_id $type_id  -interval_id [notification::interval::get_id_from_name  -name $interval]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: