Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::content_extlink
Methods (to be applied on the object)
copy (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_extlink__copy(CAST(:extlink_id AS integer),CAST(:target_folder_id AS integer),CAST(:creation_user AS integer),:creation_ip,:name)}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_extlink__delete(CAST(:extlink_id AS integer))}]
return [ns_set value $s 0]
}
is_extlink (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_extlink__is_extlink(CAST(:item_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 content_extlink__new(:name,:url,:label,:description,CAST(:parent_id AS integer),CAST(:extlink_id AS integer),:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:package_id AS integer))}]
return [ns_set value $s 0]
}