activity_set (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__activity_set(CAST(:event_id AS integer),CAST(:activity_id AS integer))}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__delete(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
delete_all (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__delete_all(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
delete_all_recurrences (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__delete_all_recurrences(CAST(:recurrence_id AS integer))}]
return [ns_set value $s 0]
}
get_description (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__get_description(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
get_html_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__get_html_p(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
get_name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__get_name(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
get_status_summary (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__get_status_summary(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
get_value (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__get_value(:parameter_name)}]
return [ns_set value $s 0]
}
insert_instances (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__insert_instances(CAST(:event_id AS integer),:cutoff_date)}]
return [ns_set value $s 0]
}
instances_exist_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__instances_exist_p(CAST(:recurrence_id AS integer))}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__new(CAST(:event_id AS integer),:name,:description,:html_p,:status_summary,CAST(:timespan_id AS integer),CAST(:activity_id AS integer),CAST(:recurrence_id AS integer),:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer),CAST(:package_id AS integer),:location,:related_link_url,:related_link_text,:redirect_to_rel_link_p)}]
return [ns_set value $s 0]
}
new_instance (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__new_instance(CAST(:event_id AS integer),:date_offset)}]
return [ns_set value $s 0]
}
party_map (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__party_map(CAST(:event_id AS integer),CAST(:party_id AS integer))}]
return [ns_set value $s 0]
}
party_unmap (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__party_unmap(CAST(:event_id AS integer),CAST(:party_id AS integer))}]
return [ns_set value $s 0]
}
recurrence_timespan_edit (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__recurrence_timespan_edit(CAST(:event_id AS integer),:start_date,:end_date,:edit_past_events_p)}]
return [ns_set value $s 0]
}
recurs_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__recurs_p(CAST(:event_id AS integer))}]
return [ns_set value $s 0]
}
shift (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__shift(CAST(:event_id AS integer),CAST(:start_offset AS integer),CAST(:end_offset AS integer))}]
return [ns_set value $s 0]
}
shift_all (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__shift_all(CAST(:event_id AS integer),CAST(:start_offset AS integer),CAST(:end_offset AS integer))}]
return [ns_set value $s 0]
}
timespan_set (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_event__timespan_set(CAST(:event_id AS integer),CAST(:timespan_id AS integer))}]
return [ns_set value $s 0]
}