Skip to content

adm_cache_api

This document contains the API documentation for the adm_cache_api package.

Updates the subshared files cache for a specific user by running the user accessible documents query and storing the results in adm_subshared_files_cache table

Signature:

procedure update_subshared_files_cache (
p_username in varchar2 default sys_context(adm_context_api.c_ctx_namespace,
adm_context_api.c_ctx_username
);

Parameters:

NameDirectionTypeDescription
p_usernameinvarchar2 default sys_context(adm_context_api.c_ctx_namespaceThe username to update the cache for

Updates the subshared files cache for a specific user by user_id

Signature:

procedure update_subshared_files_cache_by_id (
p_user_id in adm_users.user_id%type
);

Parameters:

NameDirectionTypeDescription
p_user_idinadm_users.user_id%typeThe user_id to update the cache for

Marks the subshared files cache as outdated for a specific user

Signature:

procedure mark_subshared_files_cache_outdated (
p_username in varchar2 default sys_context(adm_context_api.c_ctx_namespace,
adm_context_api.c_ctx_username
);

Parameters:

NameDirectionTypeDescription
p_usernameinvarchar2 default sys_context(adm_context_api.c_ctx_namespaceThe username to mark cache as outdated

Marks the subshared files cache as outdated for a specific user by user_id

Signature:

procedure mark_subshared_files_cache_outdated_by_id (
p_user_id in adm_users.user_id%type
);

Parameters:

NameDirectionTypeDescription
p_user_idinadm_users.user_id%typeThe user_id to mark cache as outdated

Triggers a background cache update for a specific user using dbms_scheduler This will mark the cache as outdated and schedule a job to update it

Signature:

procedure trigger_background_cache_update (
p_username in adm_users.username%type
);

Parameters:

NameDirectionTypeDescription
p_usernameinadm_users.username%type-