Skip to content

PL/SQL API reference

Every page in this section is generated from the package specification in the source, so it is always in step with the installed code. This page groups them by purpose, because “which package do I need” is not answerable from an alphabetical list.

New to the APIs? Start with Managing the filesystem from the database, which walks through the common operations end to end, and The security model, which explains why your session needs a context before any of this works.

PackageFor
adm_context_apiEstablishing who your session is. Nothing else works without it.
adm_access_control_apiAsking whether a user may view or change something.
adm_errorEvery error code, named exception and category.
PackageFor
adm_document_apiCreate, version, rename, move, trash, restore, delete. Retention and legal hold. Comments.
adm_folder_apiThe folder hierarchy: create, rename, move, trash, restore.
adm_zip_apiPack a document or folder tree into a zip document; expand one back out.
adm_aop_apiConvert a document to PDF.
PackageFor
adm_user_apiCreate, activate and deactivate users.
adm_group_apiGroups and their membership.
adm_shares_apiShare documents and folders with users and groups; revoke.
adm_link_shares_apiPublic link shares: publish a URL for one document, with a password and an expiry.
adm_embed_apiEmbed tokens, for rendering ADM inside another application.
adm_audit_apiThe audit log and its action types.
PackageFor
adm_search_apiFull-text and faceted document search.
adm_tag_apiKey/value tags on documents.
adm_annotations_apiKey/value annotations on documents and folders.
adm_file_metadata_apiMetadata extracted from the files themselves (file.*).
adm_cache_apiThe cached shared-files list that user-scoped search reads.
adm_mimetype_apiDeriving a trustworthy mime type from content.
PackageFor
adm_storage_apiReading content, storage policies, migration between database and object storage.
adm_storage_index_apiThe text-extraction queue behind content search.
PackageFor
adm_settings_apiReading and writing settings; object storage configuration and connectivity test.
adm_job_automations_apiThe scheduled maintenance tasks.
adm_hooks_apiHow registered hook PL/SQL is run, and the three events that trigger it.
adm_utilsShared helpers — escape_like in particular, if you write your own path queries.

Installed separately — see AI Pack. Its packages have their own reference section.

  • @private means private. Those signatures change between releases without notice. If a private procedure is the only way to do something you need, tell us instead of calling it.
  • No package commits. The transaction is yours, in every one of them.
  • Parameters default to the current context where a username is involved, so most calls take only an object id.
  • Ids are number and up to 32 decimal digits. Declare your variables number, never integer.

Packages whose only caller is the product itself are withheld deliberately, because publishing a signature invites you to call something that is free to change in any release:

  • The file browser component’s server side — the region plug-in shell, its read and command sides, and its chunked upload. The <adm-file-browser> region is driven through its plug-in attributes, not through PL/SQL.
  • Plug-in callback interfaces — the APEX Office Edit save-to-table procedures. See Editing and converting documents for what you can configure.
  • Saved search configurations, written by the search page on the user’s behalf.
  • Helpers with no public surface — cryptography, e-mail, OCI object storage access and PDF region rendering.

They are marked @private at package level in their specs, which is what keeps them out of this reference. If you find yourself needing one of them, tell us rather than calling it: that is a gap in the public API and we would rather close it than have you depend on plumbing.