postgresql7.1
select acs_permission__grant_permission (
:cal_item_id,
:party_id,
'cal_item_read'
)
select acs_permission__grant_permission (
:cal_item_id,
:party_id,
:permission
)
select acs_permission__revoke_permission (
:cal_item_id,
:party_id,
:permission
)
select acs_activity__new (
null,
:name,
:description,
'f',
null,
'acs_activity',
now(),
:creation_user,
:creation_ip,
null
)
select timespan__new (
:start_date::timestamp,
:end_date::timestamp
)
select cal_item__new (
null,
:on_which_calendar,
null,
null,
null,
null,
:timespan_id,
:activity_id,
null,
'cal_item',
:on_which_calendar,
now(),
:creation_user,
:creation_ip
)
select acs_permission__grant_permission (
:cal_item_id,
:grantee_id,
:privilege
)
select time_interval__edit (
:interval_id,
:start_date::timestamp,
:end_date::timestamp
)
select cal_item__delete (
:cal_item_id
)
select cal_item__delete_all (
:recurrence_id
)
select
acs_event__recurrence_timespan_edit (
:event_id,
:start_date,
:end_date
)