Search Results entity_locked_by_user




Overview

APPS.CZ_SECURITY_PVT is a private PL/SQL package body that implements the security, locking, and privilege enforcement infrastructure for Oracle E-Business Suite applications built on the Common UI (CZ) framework, most notably Oracle Configurator and its associated model-centric authoring tools. Rather than exposing a public API surface, the package serves as the back-end implementation layer for security behaviors that are surfaced to end users through Configurator and related CZ-based forms. Its principal responsibilities include resolving profile-option driven default access values, evaluating whether a given user holds a specific privilege over a given entity, granting and revoking privileges, and managing entity- and model-level locks that prevent concurrent modification of development objects such as models, UI definitions, rule folders, and publication artifacts.

The package is registered under owner APPS with an API classification of PVT, indicating that it is not intended as a supported public interface and that invocations should normally originate from within the CZ framework itself or from closely coupled CZ packages. The source header (czsecurb.pls 120.4, dated 2007/09/05) confirms its long-standing role in the 11i through 12.x code line, and it is referenced by eight other packages, reflecting its position as a shared security utility within the CZ subsystem.

Key Procedures and Functions

The 71 documented routines fall into three functional clusters:

These routines are the basis for the cz_ui_def_id lookups encountered by developers, since UI definition locking and privilege checks pivot on that identifier. The package raises an extensive set of named exceptions (for example ENTITY_LOCKED_BY_USER, ENTITY_LOCKED_OTH_USER, INVALID_PRIVILEGE, HAS_NO_LOCK_PRIV) that callers translate into user-facing error messages.

Tables Accessed

The package reads and writes CZ development and publication metadata through APPS synonyms:

Usage Notes

CZ_SECURITY_PVT is invoked indirectly by CZ-based forms and concurrent programs rather than called directly by end users. Developers extending Configurator or CZ authoring screens typically reach this package through sibling CZ APIs, and it is referenced by eight other packages. Because it is classified as a private (PVT) package, direct invocation from custom code is discouraged; integrations should use supported CZ public APIs. Where direct calls are unavoidable — for example, to test IS_UI_DEF_LOCKED before programmatic modification of a UI definition — callers must supply a valid cz_ui_def_id or model identifier and must be prepared to handle the named exceptions raised on privilege or lock failures.