XQuery API (Publication Management)
- add_lang_version
Creates a language version resource in the database. - add_pub
Creates a publication resource in the database. - admin_home
Shows list of publications in the Manage Publications display. - admin_menu
Provides the pubs admin menu in the left pane showing publication names. - admin_pub
Provides the pubs admin menu in the right pane showing config values for pub and language version. - check_lang
Check that a language code is valid. - check_pub
Check that publication and language version exist. - clear_cache
Clears cached resources. - clean_holding
Deletes all resources for the language version from the holding area. - delete_config
Delete a pub config item. - delete_pub
If lang is provided, deletes that language version; otherwise, deletes all language versions of the pub. - delete_resource
Deletes specified resource from the holding area of the language version. - delete_unused
Deletes unused resources listed in session attribute loaded by validate function. - get_config
Get a pub config value. - get_upload_log
Remove and return an XML resource from the user's home directory in the database. - home
Initiates display of a publication. - list
Retrieve list of publications in one of multiple formats. - prepare
Function that prepares a publication for viewing. - prepare_allowed
Tests whether prepare is allowed to run. - prepare_config
Fetches the prepare_config.xml resource from the database; this lists the steps in the prepare process. - prepare_ui
Creates the Prepare Publication interface. - publist_home
Displays the Publication List. Use the user interface HTML call and request publist_home.html. - set_config
Sets a pub config value. - store_upload_log
Store XML data in the user's home directory in the database. - upload_end
Finish the publication upload. - upload_interface
Returns an HTML page allow for uploading of resources into the database through the UI. - upload_resource
Store a file provided as attachment to a POST request. - upload_start
Checks that pub and lang exist and are not locked, then locks the working area and returns. - validate
Validates consistency and completeness of language version and produces the validation report. - view_resources
Displays publication resources. - where_used
Lists publications that contain an object with a specified ID and version number.