Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::acs_group
Methods (to be applied on the object)
check_representation (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_group__check_representation(CAST(:group_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_group__delete(CAST(:group_id AS integer))}]
return [ns_set value $s 0]
}
member_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_group__member_p(CAST(:party_id AS integer),CAST(:group_id AS integer),:cascade_membership)}]
return [ns_set value $s 0]
}
name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_group__name(CAST(:group_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_group__new(CAST(:group_id AS integer),:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,:email,:url,:group_name,:join_policy,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}