43.108 SET_APPLICATION_STATUSプロシージャ
このプロシージャは、アプリケーションのステータスを変更します。
構文
APEX_UTIL.SET_APPLICATION_STATUS(
   p_application_id IN NUMBER,
   p_application_status IN VARCHAR2,
   p_unavailable_value IN VARCHAR2,
   p_restricted_user_list IN VARCHAR2); パラメータ
表43-92 SET_APPLICATION_STATUSのパラメータ
| パラメータ | 説明 | 
|---|---|
| 
 | アプリケーションID。 | 
| 
 | 新しいアプリケーションのステータス。 値は次のとおりです。 
 | 
| 
 | アプリケーションを使用できない場合に使用される値。この値のセマンティクスは、 | 
| 
 | 
 | 
例
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'AVAILABLE' );
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'AVAILABLE_W_EDIT_LINK' );
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'DEVELOPERS_ONLY' );
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'RESTRICTED_ACCESS',
    p_restricted_user_list => 'xxx.xxx@abc.com' ); 
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'UNAVAILABLE',
    p_unavailable_value => 'Application not available, sorry' ); 
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'UNAVAILABLE_PLSQL',
    p_unavailable_value => 'sys.htp.p(''Application unavailable, sorry'');' ); 
end;
begin
apex_util.set_application_status(
    p_application_id => 117,
    p_application_status => 'UNAVAILABLE_URL',
    p_unavailable_value => 'http://www.xyz.com' ); 
end;参照:
Oracle Application Expressアプリケーション・ビルダー・ユーザーズ・ガイドの可用性
親トピック: APEX_UTIL