content::item::is_publishable (public)

 content::item::is_publishable -item_id item_id

Defined in packages/acs-content-repository/tcl/content-item-procs.tcl

Determine if the item is publishable. The item is publishable only if:

  • All child relations, as well as item relations, are satisfied (according to min_n and max_n)
  • The workflow (if any) for the item is finished

Switches:
-item_id (required)
The item_id of the content item
Returns:
't' if the item is publishable, 'f' otherwise
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 package_exec_plsql package_exec_plsql (public) content::item::is_publishable content::item::is_publishable content::item::is_publishable->package_exec_plsql

Testcases:
No testcase defined.
Source code:
    return [package_exec_plsql -var_list [list  [list item_id $item_id ]  ] content_item is_publishable]
Generic XQL file:
packages/acs-content-repository/tcl/content-item-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/content-item-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/content-item-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: