Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::content_revision
Methods (to be applied on the object)
content_copy (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__content_copy(:revision_id,:revision_id_dest)}]
return [ns_set value $s 0]
}
copy (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__copy(:revision_id,:copy_id,:target_item_id,:creation_user,:creation_ip)}]
return [ns_set value $s 0]
}
copy_attributes (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__copy_attributes(:content_type,:revision_id,:copy_id)}]
return [ns_set value $s 0]
}
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__del(:revision_id)}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__delete(:revision_id)}]
return [ns_set value $s 0]
}
get_content (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__get_content(:revision_id)}]
return [ns_set value $s 0]
}
get_number (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__get_number(:revision_id)}]
return [ns_set value $s 0]
}
is_latest (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__is_latest(:revision_id)}]
return [ns_set value $s 0]
}
is_live (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__is_live(:revision_id)}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__new(:title,:description,:publish_date,:mime_type,:nls_language,:text,:item_id,:revision_id,:creation_date,:creation_user,:creation_ip,:content_length,:package_id)}]
return [ns_set value $s 0]
}
revision_name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__revision_name(:revision_id)}]
return [ns_set value $s 0]
}
to_html (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__to_html(:revision_id)}]
return [ns_set value $s 0]
}
to_temporary_clob (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_revision__to_temporary_clob(:revision_id)}]
return [ns_set value $s 0]
}