postgresql7.1
select calendar__new(
null,
:calendar_name,
'calendar',
:owner_id,
:private_p,
:package_id,
null,
now(),
:creation_user,
:creation_ip
);
select acs__magic_object_id('the_public')
as party_id
from dual
select acs_permission__grant_permission(
:calendar_id,
:party_id,
:cal_privilege
);
select acs_permission__revoke_permission (
:calendar_id,
:party_id,
:cal_privilege
);
select acs_object__name(:private_id)
from dual
select calendar__name(:calendar_id)
from dual
select acs_permission__permission_p(
:calendar_id,
acs__magic_object_id('the_public'),
'calendar_read'
)
from dual