Page 950 for DB objects
This commit is contained in:
parent
e65fd1450b
commit
30e3d5d1a3
619
apex/f770/application/pages/page_00950.sql
Normal file
619
apex/f770/application/pages/page_00950.sql
Normal file
@ -0,0 +1,619 @@
|
||||
prompt --application/pages/page_00950
|
||||
begin
|
||||
-- Manifest
|
||||
-- PAGE: 00950
|
||||
-- Manifest End
|
||||
wwv_flow_api.component_begin (
|
||||
p_version_yyyy_mm_dd=>'2021.04.15'
|
||||
,p_release=>'21.1.6'
|
||||
,p_default_workspace_id=>9014660246496943
|
||||
,p_default_application_id=>770
|
||||
,p_default_id_offset=>0
|
||||
,p_default_owner=>'CORE'
|
||||
);
|
||||
wwv_flow_api.create_page(
|
||||
p_id=>950
|
||||
,p_user_interface_id=>wwv_flow_api.id(9169746885570061)
|
||||
,p_name=>'#fa-database'
|
||||
,p_alias=>'DATABASE'
|
||||
,p_step_title=>'Database Objects'
|
||||
,p_autocomplete_on_off=>'OFF'
|
||||
,p_group_id=>wwv_flow_api.id(9240371448352386)
|
||||
,p_step_template=>wwv_flow_api.id(9463753933679086)
|
||||
,p_page_template_options=>'#DEFAULT#'
|
||||
,p_required_role=>wwv_flow_api.id(9556407311505078)
|
||||
,p_last_updated_by=>'DEV'
|
||||
,p_last_upd_yyyymmddhh24miss=>'20220109080551'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(14218446056378932)
|
||||
,p_plug_name=>'Database Objects'
|
||||
,p_icon_css_classes=>'fa-database'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9070356145569920)
|
||||
,p_plug_display_sequence=>10
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_grid_column_span=>6
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_attribute_01=>'N'
|
||||
,p_attribute_02=>'HTML'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(14218529849378933)
|
||||
,p_plug_name=>'Invalid Objects'
|
||||
,p_icon_css_classes=>'fa-warning'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9070356145569920)
|
||||
,p_plug_display_sequence=>20
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_new_grid_row=>false
|
||||
,p_plug_grid_column_span=>6
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_attribute_01=>'N'
|
||||
,p_attribute_02=>'HTML'
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(36914517833495810)
|
||||
,p_plug_name=>'Database Objects'
|
||||
,p_region_name=>'OBJECTS'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_component_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9078290074569925)
|
||||
,p_plug_display_sequence=>30
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_grid_column_span=>6
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_query_type=>'SQL'
|
||||
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'-- USE VIEW',
|
||||
'SELECT object_type, COUNT(*) AS objects_',
|
||||
'FROM user_objects',
|
||||
'GROUP BY object_type;',
|
||||
''))
|
||||
,p_plug_source_type=>'NATIVE_IG'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_prn_content_disposition=>'ATTACHMENT'
|
||||
,p_prn_document_header=>'APEX'
|
||||
,p_prn_units=>'MILLIMETERS'
|
||||
,p_prn_paper_size=>'A4'
|
||||
,p_prn_width=>297
|
||||
,p_prn_height=>210
|
||||
,p_prn_orientation=>'HORIZONTAL'
|
||||
,p_prn_page_header=>'Database Objects'
|
||||
,p_prn_page_header_font_color=>'#000000'
|
||||
,p_prn_page_header_font_family=>'Helvetica'
|
||||
,p_prn_page_header_font_weight=>'normal'
|
||||
,p_prn_page_header_font_size=>'12'
|
||||
,p_prn_page_footer_font_color=>'#000000'
|
||||
,p_prn_page_footer_font_family=>'Helvetica'
|
||||
,p_prn_page_footer_font_weight=>'normal'
|
||||
,p_prn_page_footer_font_size=>'12'
|
||||
,p_prn_header_bg_color=>'#EEEEEE'
|
||||
,p_prn_header_font_color=>'#000000'
|
||||
,p_prn_header_font_family=>'Helvetica'
|
||||
,p_prn_header_font_weight=>'bold'
|
||||
,p_prn_header_font_size=>'10'
|
||||
,p_prn_body_bg_color=>'#FFFFFF'
|
||||
,p_prn_body_font_color=>'#000000'
|
||||
,p_prn_body_font_family=>'Helvetica'
|
||||
,p_prn_body_font_weight=>'normal'
|
||||
,p_prn_body_font_size=>'10'
|
||||
,p_prn_border_width=>.5
|
||||
,p_prn_page_header_alignment=>'CENTER'
|
||||
,p_prn_page_footer_alignment=>'CENTER'
|
||||
,p_prn_border_color=>'#666666'
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(36914924648495814)
|
||||
,p_name=>'OBJECT_TYPE'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'OBJECT_TYPE'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXT_FIELD'
|
||||
,p_heading=>'Object Type'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>10
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>23
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_exact_match=>true
|
||||
,p_filter_lov_type=>'DISTINCT'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(36915045278495815)
|
||||
,p_name=>'OBJECTS_'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'OBJECTS_'
|
||||
,p_data_type=>'NUMBER'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_LINK'
|
||||
,p_heading=>'Objects'
|
||||
,p_heading_alignment=>'RIGHT'
|
||||
,p_display_sequence=>20
|
||||
,p_value_alignment=>'RIGHT'
|
||||
,p_link_target=>'f?p=&APP_ID.:950:&SESSION.::&DEBUG.:::'
|
||||
,p_link_text=>'&OBJECTS_.'
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
,p_escape_on_http_output=>true
|
||||
);
|
||||
wwv_flow_api.create_interactive_grid(
|
||||
p_id=>wwv_flow_api.id(36914677034495811)
|
||||
,p_internal_uid=>36914677034495811
|
||||
,p_is_editable=>false
|
||||
,p_lazy_loading=>false
|
||||
,p_requires_filter=>false
|
||||
,p_select_first_row=>false
|
||||
,p_fixed_row_height=>true
|
||||
,p_pagination_type=>'SET'
|
||||
,p_show_total_row_count=>true
|
||||
,p_show_toolbar=>true
|
||||
,p_toolbar_buttons=>'SEARCH_COLUMN:SEARCH_FIELD:ACTIONS_MENU:SAVE'
|
||||
,p_enable_save_public_report=>false
|
||||
,p_enable_subscriptions=>true
|
||||
,p_enable_flashback=>true
|
||||
,p_define_chart_view=>true
|
||||
,p_enable_download=>true
|
||||
,p_download_formats=>'CSV:HTML:XLSX:PDF'
|
||||
,p_enable_mail_download=>true
|
||||
,p_fixed_header=>'PAGE'
|
||||
,p_show_icon_view=>false
|
||||
,p_show_detail_view=>false
|
||||
,p_javascript_code=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'function(config) {',
|
||||
' return unified_ig_toolbar(config);',
|
||||
'}',
|
||||
''))
|
||||
);
|
||||
wwv_flow_api.create_ig_report(
|
||||
p_id=>wwv_flow_api.id(37098751511777480)
|
||||
,p_interactive_grid_id=>wwv_flow_api.id(36914677034495811)
|
||||
,p_static_id=>'132314'
|
||||
,p_type=>'PRIMARY'
|
||||
,p_default_view=>'GRID'
|
||||
,p_show_row_number=>false
|
||||
,p_settings_area_expanded=>true
|
||||
);
|
||||
wwv_flow_api.create_ig_report_view(
|
||||
p_id=>wwv_flow_api.id(37098977477777480)
|
||||
,p_report_id=>wwv_flow_api.id(37098751511777480)
|
||||
,p_view_type=>'GRID'
|
||||
,p_stretch_columns=>true
|
||||
,p_srv_exclude_null_values=>false
|
||||
,p_srv_only_display_columns=>true
|
||||
,p_edit_mode=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(37102064475793974)
|
||||
,p_view_id=>wwv_flow_api.id(37098977477777480)
|
||||
,p_display_seq=>1
|
||||
,p_column_id=>wwv_flow_api.id(36914924648495814)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
,p_sort_order=>1
|
||||
,p_sort_direction=>'ASC'
|
||||
,p_sort_nulls=>'LAST'
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(37102900788793981)
|
||||
,p_view_id=>wwv_flow_api.id(37098977477777480)
|
||||
,p_display_seq=>3
|
||||
,p_column_id=>wwv_flow_api.id(36915045278495815)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_page_plug(
|
||||
p_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_plug_name=>'Invalid Objects'
|
||||
,p_region_name=>'OBJECTS_INVALID'
|
||||
,p_region_template_options=>'#DEFAULT#'
|
||||
,p_plug_template=>wwv_flow_api.id(9078290074569925)
|
||||
,p_plug_display_sequence=>40
|
||||
,p_include_in_reg_disp_sel_yn=>'Y'
|
||||
,p_plug_new_grid_row=>false
|
||||
,p_plug_grid_column_span=>6
|
||||
,p_plug_display_point=>'BODY'
|
||||
,p_query_type=>'SQL'
|
||||
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'SELECT',
|
||||
' o.object_type,',
|
||||
' o.object_name,',
|
||||
' o.subobject_name,',
|
||||
' o.status,',
|
||||
' o.last_ddl_time',
|
||||
'FROM user_objects o',
|
||||
'WHERE o.status != ''VALID'';',
|
||||
''))
|
||||
,p_plug_source_type=>'NATIVE_IG'
|
||||
,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
|
||||
,p_prn_units=>'MILLIMETERS'
|
||||
,p_prn_paper_size=>'A4'
|
||||
,p_prn_width=>297
|
||||
,p_prn_height=>210
|
||||
,p_prn_orientation=>'HORIZONTAL'
|
||||
,p_prn_page_header=>'Invalid Objects'
|
||||
,p_prn_page_header_font_color=>'#000000'
|
||||
,p_prn_page_header_font_family=>'Helvetica'
|
||||
,p_prn_page_header_font_weight=>'normal'
|
||||
,p_prn_page_header_font_size=>'12'
|
||||
,p_prn_page_footer_font_color=>'#000000'
|
||||
,p_prn_page_footer_font_family=>'Helvetica'
|
||||
,p_prn_page_footer_font_weight=>'normal'
|
||||
,p_prn_page_footer_font_size=>'12'
|
||||
,p_prn_header_bg_color=>'#EEEEEE'
|
||||
,p_prn_header_font_color=>'#000000'
|
||||
,p_prn_header_font_family=>'Helvetica'
|
||||
,p_prn_header_font_weight=>'bold'
|
||||
,p_prn_header_font_size=>'10'
|
||||
,p_prn_body_bg_color=>'#FFFFFF'
|
||||
,p_prn_body_font_color=>'#000000'
|
||||
,p_prn_body_font_family=>'Helvetica'
|
||||
,p_prn_body_font_weight=>'normal'
|
||||
,p_prn_body_font_size=>'10'
|
||||
,p_prn_border_width=>.5
|
||||
,p_prn_page_header_alignment=>'CENTER'
|
||||
,p_prn_page_footer_alignment=>'CENTER'
|
||||
,p_prn_border_color=>'#666666'
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(33408042758168719)
|
||||
,p_name=>'OBJECT_TYPE'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'OBJECT_TYPE'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXT_FIELD'
|
||||
,p_heading=>'Object Type'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>10
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>23
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_exact_match=>true
|
||||
,p_filter_lov_type=>'DISTINCT'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(33408090509168720)
|
||||
,p_name=>'OBJECT_NAME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'OBJECT_NAME'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXTAREA'
|
||||
,p_heading=>'Object Name'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>20
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_01=>'Y'
|
||||
,p_attribute_02=>'N'
|
||||
,p_attribute_03=>'N'
|
||||
,p_attribute_04=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>128
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>false
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(33408278921168721)
|
||||
,p_name=>'SUBOBJECT_NAME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'SUBOBJECT_NAME'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXTAREA'
|
||||
,p_heading=>'Subobject Name'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>30
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_01=>'Y'
|
||||
,p_attribute_02=>'N'
|
||||
,p_attribute_03=>'N'
|
||||
,p_attribute_04=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>128
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_lov_type=>'NONE'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>false
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(33408320446168722)
|
||||
,p_name=>'STATUS'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'STATUS'
|
||||
,p_data_type=>'VARCHAR2'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_TEXT_FIELD'
|
||||
,p_heading=>'Status'
|
||||
,p_heading_alignment=>'LEFT'
|
||||
,p_display_sequence=>40
|
||||
,p_value_alignment=>'LEFT'
|
||||
,p_attribute_05=>'BOTH'
|
||||
,p_is_required=>false
|
||||
,p_max_length=>7
|
||||
,p_enable_filter=>true
|
||||
,p_filter_operators=>'C:S:CASE_INSENSITIVE:REGEXP'
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_text_case=>'MIXED'
|
||||
,p_filter_exact_match=>true
|
||||
,p_filter_lov_type=>'DISTINCT'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_region_column(
|
||||
p_id=>wwv_flow_api.id(33408467960168723)
|
||||
,p_name=>'LAST_DDL_TIME'
|
||||
,p_source_type=>'DB_COLUMN'
|
||||
,p_source_expression=>'LAST_DDL_TIME'
|
||||
,p_data_type=>'DATE'
|
||||
,p_is_query_only=>false
|
||||
,p_item_type=>'NATIVE_DATE_PICKER'
|
||||
,p_heading=>'Last Ddl Time'
|
||||
,p_heading_alignment=>'CENTER'
|
||||
,p_display_sequence=>50
|
||||
,p_value_alignment=>'CENTER'
|
||||
,p_attribute_04=>'button'
|
||||
,p_attribute_05=>'N'
|
||||
,p_attribute_07=>'NONE'
|
||||
,p_is_required=>false
|
||||
,p_enable_filter=>true
|
||||
,p_filter_is_required=>false
|
||||
,p_filter_date_ranges=>'ALL'
|
||||
,p_filter_lov_type=>'DISTINCT'
|
||||
,p_use_as_row_header=>false
|
||||
,p_enable_sort_group=>true
|
||||
,p_enable_control_break=>true
|
||||
,p_enable_hide=>true
|
||||
,p_is_primary_key=>false
|
||||
,p_duplicate_value=>true
|
||||
,p_include_in_export=>true
|
||||
);
|
||||
wwv_flow_api.create_interactive_grid(
|
||||
p_id=>wwv_flow_api.id(33407931435168718)
|
||||
,p_internal_uid=>33407931435168718
|
||||
,p_is_editable=>false
|
||||
,p_lazy_loading=>false
|
||||
,p_requires_filter=>false
|
||||
,p_select_first_row=>true
|
||||
,p_fixed_row_height=>true
|
||||
,p_pagination_type=>'SCROLL'
|
||||
,p_show_total_row_count=>true
|
||||
,p_show_toolbar=>true
|
||||
,p_toolbar_buttons=>'SEARCH_COLUMN:SEARCH_FIELD:ACTIONS_MENU:SAVE'
|
||||
,p_enable_save_public_report=>false
|
||||
,p_enable_subscriptions=>true
|
||||
,p_enable_flashback=>true
|
||||
,p_define_chart_view=>true
|
||||
,p_enable_download=>true
|
||||
,p_download_formats=>'CSV:HTML:XLSX:PDF'
|
||||
,p_enable_mail_download=>true
|
||||
,p_fixed_header=>'PAGE'
|
||||
,p_show_icon_view=>false
|
||||
,p_show_detail_view=>false
|
||||
,p_javascript_code=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'function(config) {',
|
||||
' return unified_ig_toolbar(config);',
|
||||
'}',
|
||||
''))
|
||||
);
|
||||
wwv_flow_api.create_ig_report(
|
||||
p_id=>wwv_flow_api.id(34596886283909478)
|
||||
,p_interactive_grid_id=>wwv_flow_api.id(33407931435168718)
|
||||
,p_static_id=>'107295'
|
||||
,p_type=>'PRIMARY'
|
||||
,p_default_view=>'GRID'
|
||||
,p_show_row_number=>false
|
||||
,p_settings_area_expanded=>true
|
||||
);
|
||||
wwv_flow_api.create_ig_report_view(
|
||||
p_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_report_id=>wwv_flow_api.id(34596886283909478)
|
||||
,p_view_type=>'GRID'
|
||||
,p_srv_exclude_null_values=>false
|
||||
,p_srv_only_display_columns=>true
|
||||
,p_edit_mode=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(34597535329909485)
|
||||
,p_view_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_display_seq=>1
|
||||
,p_column_id=>wwv_flow_api.id(33408042758168719)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(34598422749909493)
|
||||
,p_view_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_display_seq=>2
|
||||
,p_column_id=>wwv_flow_api.id(33408090509168720)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(34599300149909498)
|
||||
,p_view_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_display_seq=>3
|
||||
,p_column_id=>wwv_flow_api.id(33408278921168721)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(34600213008909502)
|
||||
,p_view_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_display_seq=>4
|
||||
,p_column_id=>wwv_flow_api.id(33408320446168722)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_ig_report_column(
|
||||
p_id=>wwv_flow_api.id(34601153464909506)
|
||||
,p_view_id=>wwv_flow_api.id(34597078983909478)
|
||||
,p_display_seq=>5
|
||||
,p_column_id=>wwv_flow_api.id(33408467960168723)
|
||||
,p_is_visible=>true
|
||||
,p_is_frozen=>false
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(14425438113036849)
|
||||
,p_button_sequence=>10
|
||||
,p_button_plug_id=>wwv_flow_api.id(36914517833495810)
|
||||
,p_button_name=>'CLEAR_FILTERS'
|
||||
,p_button_action=>'REDIRECT_PAGE'
|
||||
,p_button_template_options=>'#DEFAULT#'
|
||||
,p_button_template_id=>wwv_flow_api.id(9145249029569999)
|
||||
,p_button_image_alt=>'&CLEAR_FILTERS.'
|
||||
,p_button_position=>'RIGHT_OF_TITLE'
|
||||
,p_button_redirect_url=>'f?p=&APP_ID.:950:&SESSION.::&DEBUG.:RP,:P950_RESET:Y'
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(14428813625036858)
|
||||
,p_button_sequence=>10
|
||||
,p_button_plug_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_button_name=>'RECOMPILE'
|
||||
,p_button_action=>'REDIRECT_PAGE'
|
||||
,p_button_template_options=>'#DEFAULT#'
|
||||
,p_button_template_id=>wwv_flow_api.id(9145249029569999)
|
||||
,p_button_image_alt=>'Recompile'
|
||||
,p_button_position=>'RIGHT_OF_TITLE'
|
||||
,p_button_redirect_url=>'f?p=&APP_ID.:950:&SESSION.::&DEBUG.:RP:P950_RECOMPILE:Y'
|
||||
);
|
||||
wwv_flow_api.create_page_button(
|
||||
p_id=>wwv_flow_api.id(14429259553036858)
|
||||
,p_button_sequence=>20
|
||||
,p_button_plug_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_button_name=>'RECOMPILE_FORCE'
|
||||
,p_button_action=>'REDIRECT_PAGE'
|
||||
,p_button_template_options=>'#DEFAULT#'
|
||||
,p_button_template_id=>wwv_flow_api.id(9145249029569999)
|
||||
,p_button_image_alt=>'<span class="fa fa-tank" title="Force recompilation on all objects"></span>'
|
||||
,p_button_position=>'RIGHT_OF_TITLE'
|
||||
,p_button_redirect_url=>'f?p=&APP_ID.:950:&SESSION.::&DEBUG.:RP:P950_FORCE:Y'
|
||||
);
|
||||
wwv_flow_api.create_page_item(
|
||||
p_id=>wwv_flow_api.id(14429655751036859)
|
||||
,p_name=>'P950_RESET'
|
||||
,p_item_sequence=>10
|
||||
,p_item_plug_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_use_cache_before_default=>'NO'
|
||||
,p_display_as=>'NATIVE_HIDDEN'
|
||||
,p_is_persistent=>'N'
|
||||
,p_attribute_01=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_item(
|
||||
p_id=>wwv_flow_api.id(14430018673036860)
|
||||
,p_name=>'P950_RECOMPILE'
|
||||
,p_item_sequence=>20
|
||||
,p_item_plug_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_display_as=>'NATIVE_HIDDEN'
|
||||
,p_attribute_01=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_item(
|
||||
p_id=>wwv_flow_api.id(14430476882036860)
|
||||
,p_name=>'P950_FORCE'
|
||||
,p_item_sequence=>30
|
||||
,p_item_plug_id=>wwv_flow_api.id(102497670620708980)
|
||||
,p_display_as=>'NATIVE_HIDDEN'
|
||||
,p_attribute_01=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_process(
|
||||
p_id=>wwv_flow_api.id(14431206414036864)
|
||||
,p_process_sequence=>10
|
||||
,p_process_point=>'AFTER_HEADER'
|
||||
,p_process_type=>'NATIVE_PLSQL'
|
||||
,p_process_name=>'RECOMPILE'
|
||||
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'app.log_action(''RECOMPILE'');',
|
||||
'--',
|
||||
'recompile();',
|
||||
'--',
|
||||
'app.log_success();',
|
||||
''))
|
||||
,p_process_clob_language=>'PLSQL'
|
||||
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
|
||||
,p_process_when=>'P950_RECOMPILE'
|
||||
,p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2'
|
||||
,p_process_when2=>'Y'
|
||||
);
|
||||
wwv_flow_api.create_page_process(
|
||||
p_id=>wwv_flow_api.id(14430832154036864)
|
||||
,p_process_sequence=>20
|
||||
,p_process_point=>'AFTER_HEADER'
|
||||
,p_process_type=>'NATIVE_PLSQL'
|
||||
,p_process_name=>'RECOMPILE_FORCE'
|
||||
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
|
||||
'app.log_action(''RECOMPILE_FORCE'');',
|
||||
'--',
|
||||
'recompile(); -- to reuse settings',
|
||||
'--',
|
||||
'DBMS_UTILITY.COMPILE_SCHEMA (',
|
||||
' schema => ''#OWNER#'',',
|
||||
' compile_all => TRUE',
|
||||
');',
|
||||
'--',
|
||||
'app.log_success();',
|
||||
''))
|
||||
,p_process_clob_language=>'PLSQL'
|
||||
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
|
||||
,p_process_when=>'P950_FORCE'
|
||||
,p_process_when_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2'
|
||||
,p_process_when2=>'Y'
|
||||
);
|
||||
wwv_flow_api.component_end;
|
||||
end;
|
||||
/
|
||||
@ -124,6 +124,7 @@ prompt --install
|
||||
@@application/pages/page_00922.sql
|
||||
@@application/pages/page_00925.sql
|
||||
@@application/pages/page_00940.sql
|
||||
@@application/pages/page_00950.sql
|
||||
@@application/pages/page_00970.sql
|
||||
@@application/pages/page_00990.sql
|
||||
@@application/pages/page_09999.sql
|
||||
|
||||
@ -47,7 +47,16 @@ SELECT -- running jobs
|
||||
' ' AS page_alias,
|
||||
--
|
||||
TO_CHAR(NULLIF(COUNT(*), 0)) AS badge
|
||||
FROM user_scheduler_running_jobs j;
|
||||
FROM user_scheduler_running_jobs j
|
||||
--
|
||||
UNION ALL
|
||||
SELECT -- invalid objects
|
||||
950 AS page_id,
|
||||
' ' AS page_alias,
|
||||
--
|
||||
TO_CHAR(NULLIF(COUNT(*), 0)) AS badge
|
||||
FROM user_objects o
|
||||
WHERE o.status != 'VALID';
|
||||
--
|
||||
COMMENT ON TABLE nav_badges IS 'View with current badges in top menu';
|
||||
--
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user