4.3 インポート・データの型
この項では、APEX_APPLICATION_INSTALL
パッケージで使用されるインポート・データ型を説明します。
t_file_type
t_file_type
データ型は、インストール・ファイルの種類を定義します。
subtype t_file_type is pls_integer range 1 .. 5;
c_file_type_workspace constant t_file_type := 1;
c_file_type_app constant t_file_type := 2;
c_file_type_websheet constant t_file_type := 3;
c_file_type_plugin constant t_file_type := 4;
c_file_type_css constant t_file_type := 5;
t_app_usage
t_app_usage
データ型は、アプリケーションの使用方法の種類を定義します。
subtype t_app_usage is pls_integer range 1..3;
c_app_usage_not_used constant t_app_usage := 1;
c_app_usage_current_workspace constant t_app_usage := 2;
c_app_usage_other_workspace constant t_app_usage := 3;
t_file_info
t_file_infoデータ型では、インストールの構成に使用できる、ソース・ファイル内の情報を指定します。
type t_file_info is record (
file_type t_file_type,
workspace_id number,
version varchar2(10),
app_id number,
app_name varchar2(4000),
app_alias varchar2(4000),
app_owner varchar2(4000),
build_status varchar2(4000),
has_install_script boolean,
app_id_usage t_app_usage,
app_alias_usage t_app_usage );
親トピック: APEX_APPLICATION_INSTALL