begin --image 'AdvancedQueue' insert into wmp_images (image_name, size_category, gif_file) values ( 'AdvancedQueue', 'S', 'T_AdvancedQueue.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'AdvancedQueue', 'M', 'C_AdvancedQueue.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'AdvancedQueue', 'L', 'null' ); --image 'Aggregation' insert into wmp_images (image_name, size_category, gif_file) values ( 'Aggregation', 'S', 'T_Aggregation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Aggregation', 'M', 'C_Aggregation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Aggregation', 'L', 'null' ); --image 'AttributeGroup' insert into wmp_images (image_name, size_category, gif_file) values ( 'AttributeGroup', 'S', 'T_SetOperation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'AttributeGroup', 'M', 'C_SetOperation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'AttributeGroup', 'L', 'null' ); --image 'Banner' insert into wmp_images (image_name, size_category, gif_file) values ( 'Banner', 'S', 'banner.jpg' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Banner', 'M', 'banner.jpg' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Banner', 'L', 'banner.jpg' ); --image 'CheckConstraint' insert into wmp_images (image_name, size_category, gif_file) values ( 'CheckConstraint', 'S', 'T_LevelAttribute.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'CheckConstraint', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'CheckConstraint', 'L', 'null' ); --image 'Collection' insert into wmp_images (image_name, size_category, gif_file) values ( 'Collection', 'S', 'T_Collection.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Collection', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Collection', 'L', 'null' ); --image 'Column' insert into wmp_images (image_name, size_category, gif_file) values ( 'Column', 'S', 'T_Column.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Column', 'M', 'C_Column.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Column', 'L', 'null' ); --image 'Connector' insert into wmp_images (image_name, size_category, gif_file) values ( 'Connector', 'S', 'T_Connector.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Connector', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Connector', 'L', 'null' ); --image 'Constant' insert into wmp_images (image_name, size_category, gif_file) values ( 'Constant', 'S', 'T_Constant.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Constant', 'M', 'C_Constant.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Constant', 'L', 'null' ); --image 'Cube' insert into wmp_images (image_name, size_category, gif_file) values ( 'Cube', 'S', 'T_Fact.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Cube', 'M', 'C_Fact.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Cube', 'L', 'null' ); --image 'CubeMeasure' insert into wmp_images (image_name, size_category, gif_file) values ( 'CubeMeasure', 'S', 'T_Measure.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'CubeMeasure', 'M', 'C_Measure.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'CubeMeasure', 'L', 'null' ); --image 'Cursor' insert into wmp_images (image_name, size_category, gif_file) values ( 'Cursor', 'S', 'T_RefCursorType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Cursor', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Cursor', 'L', 'null' ); --image 'DataFlow' insert into wmp_images (image_name, size_category, gif_file) values ( 'DataFlow', 'S', 'T_TableFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataFlow', 'M', 'C_TableFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataFlow', 'L', 'null' ); --image 'DataGenerator' insert into wmp_images (image_name, size_category, gif_file) values ( 'DataGenerator', 'S', 'T_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataGenerator', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataGenerator', 'L', 'null' ); --image 'DataWarehouse' insert into wmp_images (image_name, size_category, gif_file) values ( 'DataWarehouse', 'S', 'T_WarehouseModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataWarehouse', 'M', 'C_WarehouseModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'DataWarehouse', 'L', 'null' ); --image 'Dimension' insert into wmp_images (image_name, size_category, gif_file) values ( 'Dimension', 'S', 'T_Dimension.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Dimension', 'M', 'C_Dimension.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Dimension', 'L', 'null' ); --image 'Distinct' insert into wmp_images (image_name, size_category, gif_file) values ( 'Distinct', 'S', 'T_Distinct.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Distinct', 'M', 'C_Distinct.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Distinct', 'L', 'null' ); --image 'Error' insert into wmp_images (image_name, size_category, gif_file) values ( 'Error', 'S', 'T_Error.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Error', 'M', 'error.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Error', 'L', 'null' ); --image 'ExpressionTransform' insert into wmp_images (image_name, size_category, gif_file) values ( 'ExpressionTransform', 'S', 'T_Expression.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExpressionTransform', 'M', 'C_Expression.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExpressionTransform', 'L', 'null' ); --image 'ExternalColumn' insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalColumn', 'S', 'T_ExternalColumn.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalColumn', 'M', 'C_ExternalColumn.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalColumn', 'L', 'null' ); --image 'ExternalProcess' insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalProcess', 'S', 'T_BlackBox.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalProcess', 'M', 'C_BlackBox.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalProcess', 'L', 'null' ); --image 'ExternalTable' insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalTable', 'S', 'T_ExternalTable.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalTable', 'M', 'C_ExternalTable.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ExternalTable', 'L', 'null' ); --image 'FFFFFFbr' insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFbr', 'S', 'FFFFFFbr.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFbr', 'M', 'FFFFFFbr.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFbr', 'L', 'FFFFFFbr.gif' ); --image 'FFFFFFsl' insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFsl', 'S', 'FFFFFFsl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFsl', 'M', 'FFFFFFsl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FFFFFFsl', 'L', 'FFFFFFsl.gif' ); --image 'Field' insert into wmp_images (image_name, size_category, gif_file) values ( 'Field', 'S', 'T_Field.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Field', 'M', 'C_Field.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Field', 'L', 'null' ); --image 'File' insert into wmp_images (image_name, size_category, gif_file) values ( 'File', 'S', 'T_File.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'File', 'M', 'C_File.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'File', 'L', 'null' ); --image 'FileLocation' insert into wmp_images (image_name, size_category, gif_file) values ( 'FileLocation', 'S', 'T_FileLocation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FileLocation', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FileLocation', 'L', 'null' ); --image 'FileModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'FileModule', 'S', 'T_FileModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FileModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FileModule', 'L', 'null' ); --image 'Filter' insert into wmp_images (image_name, size_category, gif_file) values ( 'Filter', 'S', 'T_Filter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Filter', 'M', 'C_Filter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Filter', 'L', 'null' ); --image 'FlatFile' insert into wmp_images (image_name, size_category, gif_file) values ( 'FlatFile', 'S', 'T_File.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FlatFile', 'M', 'C_File.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FlatFile', 'L', 'null' ); --image 'ForeignKey' insert into wmp_images (image_name, size_category, gif_file) values ( 'ForeignKey', 'S', 'T_ForeignKey.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ForeignKey', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ForeignKey', 'L', 'null' ); --image 'Function' insert into wmp_images (image_name, size_category, gif_file) values ( 'Function', 'S', 'T_Function.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Function', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Function', 'L', 'null' ); --image 'FunctionImplementation' insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionImplementation', 'S', 'T_Function.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionImplementation', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionImplementation', 'L', 'null' ); --image 'FunctionLibrary' insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionLibrary', 'S', 'T_FunctionLibrary.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionLibrary', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionLibrary', 'L', 'null' ); --image 'FunctionParameter' insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionParameter', 'S', 'T_FunctionParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionParameter', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'FunctionParameter', 'L', 'null' ); --image 'GatewayLocation' insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayLocation', 'S', 'T_GatewayLocation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayLocation', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayLocation', 'L', 'null' ); --image 'GatewayModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayModule', 'S', 'T_GatewayModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'GatewayModule', 'L', 'null' ); --image 'HeaderBackground' insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderBackground', 'S', 'opbgimg.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderBackground', 'M', 'opbgimg.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderBackground', 'L', 'opbgimg.gif' ); --image 'HeaderImage' insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderImage', 'S', 'headerImage.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderImage', 'M', 'headerImage.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderImage', 'L', 'headerImage.gif' ); --image 'HeaderLeftTitle' insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderLeftTitle', 'S', 'headerLeftTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderLeftTitle', 'M', 'headerLeftTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderLeftTitle', 'L', 'headerLeftTitle.gif' ); --image 'HeaderMiddleTitle' insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderMiddleTitle', 'S', 'headerMiddleTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderMiddleTitle', 'M', 'headerMiddleTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderMiddleTitle', 'L', 'headerMiddleTitle.gif' ); --image 'HeaderRightTitle' insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderRightTitle', 'S', 'headerRightTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderRightTitle', 'M', 'headerRightTitle.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'HeaderRightTitle', 'L', 'headerRightTitle.gif' ); --image 'Helpl' insert into wmp_images (image_name, size_category, gif_file) values ( 'Helpl', 'S', 'helpl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Helpl', 'M', 'helpl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Helpl', 'L', 'helpl.gif' ); --image 'Helps' insert into wmp_images (image_name, size_category, gif_file) values ( 'Helps', 'S', 'helps.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Helps', 'M', 'helps.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Helps', 'L', 'helps.gif' ); --image 'Hierarchy' insert into wmp_images (image_name, size_category, gif_file) values ( 'Hierarchy', 'S', 'T_Hierarchy.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Hierarchy', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Hierarchy', 'L', 'null' ); --image 'Home' insert into wmp_images (image_name, size_category, gif_file) values ( 'Home', 'S', 'home.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Home', 'M', 'home.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Home', 'L', 'home.gif' ); --image 'Join' insert into wmp_images (image_name, size_category, gif_file) values ( 'Join', 'S', 'T_Join.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Join', 'M', 'C_Join.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Join', 'L', 'null' ); --image 'Key' insert into wmp_images (image_name, size_category, gif_file) values ( 'Key', 'S', 'T_Key.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Key', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Key', 'L', 'null' ); --image 'KeyLookupTable' insert into wmp_images (image_name, size_category, gif_file) values ( 'KeyLookupTable', 'S', 'T_KeyLookupTable.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'KeyLookupTable', 'M', 'C_KeyLookupTable.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'KeyLookupTable', 'L', 'null' ); --image 'Level' insert into wmp_images (image_name, size_category, gif_file) values ( 'Level', 'S', 'T_Level.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Level', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Level', 'L', 'null' ); --image 'LevelAttribute' insert into wmp_images (image_name, size_category, gif_file) values ( 'LevelAttribute', 'S', 'T_LevelAttribute.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'LevelAttribute', 'M', 'C_LevelAttribute.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'LevelAttribute', 'L', 'null' ); --image 'Location' insert into wmp_images (image_name, size_category, gif_file) values ( 'Location', 'S', 'T_Location.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Location', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Location', 'L', 'null' ); --image 'Logo' insert into wmp_images (image_name, size_category, gif_file) values ( 'Logo', 'S', 'logo.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Logo', 'M', 'logo.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Logo', 'L', 'logo.gif' ); --image 'MIVModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'MIVModule', 'S', 'T_MIVModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MIVModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MIVModule', 'L', 'null' ); --image 'MappingInputParameters' insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingInputParameters', 'S', 'T_InputParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingInputParameters', 'M', 'C_InputParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingInputParameters', 'L', 'null' ); --image 'MappingOutputParameters' insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingOutputParameters', 'S', 'T_OutputParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingOutputParameters', 'M', 'C_OutputParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingOutputParameters', 'L', 'null' ); --image 'MappingParameters' insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingParameters', 'S', 'T_MapCompParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingParameters', 'M', 'C_MapCompParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MappingParameters', 'L', 'null' ); --image 'MatchMerge' insert into wmp_images (image_name, size_category, gif_file) values ( 'MatchMerge', 'S', 'T_MatchMerge.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MatchMerge', 'M', 'C_MatchMerge.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MatchMerge', 'L', 'null' ); --image 'MaterializedView' insert into wmp_images (image_name, size_category, gif_file) values ( 'MaterializedView', 'S', 'T_MaterializedView.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MaterializedView', 'M', 'C_MaterializedView.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'MaterializedView', 'L', 'null' ); --image 'NameAddress' insert into wmp_images (image_name, size_category, gif_file) values ( 'NameAddress', 'S', 'T_NameAddress.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'NameAddress', 'M', 'C_NameAddress.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'NameAddress', 'L', 'null' ); --image 'ObjectType' insert into wmp_images (image_name, size_category, gif_file) values ( 'ObjectType', 'S', 'T_ObjectType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ObjectType', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ObjectType', 'L', 'null' ); --image 'OracleDBLocation' insert into wmp_images (image_name, size_category, gif_file) values ( 'OracleDBLocation', 'S', 'T_OracleDBLocation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'OracleDBLocation', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'OracleDBLocation', 'L', 'null' ); --image 'OrderBy' insert into wmp_images (image_name, size_category, gif_file) values ( 'OrderBy', 'S', 'T_OrderBy.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'OrderBy', 'M', 'C_OrderBy.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'OrderBy', 'L', 'null' ); --image 'PLSCollection' insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSCollection', 'S', 'T_PLSQLCollectionType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSCollection', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSCollection', 'L', 'null' ); --image 'PLSRecord' insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSRecord', 'S', 'T_RecordType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSRecord', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PLSRecord', 'L', 'null' ); --image 'Package' insert into wmp_images (image_name, size_category, gif_file) values ( 'Package', 'S', 'T_ProcessPackage.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Package', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Package', 'L', 'null' ); --image 'PackagedModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'PackagedModule', 'S', 'T_PackagedModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PackagedModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PackagedModule', 'L', 'null' ); --image 'Pivot' insert into wmp_images (image_name, size_category, gif_file) values ( 'Pivot', 'S', 'T_Pivot.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Pivot', 'M', 'C_Pivot.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Pivot', 'L', 'null' ); --image 'PostMapTrigger' insert into wmp_images (image_name, size_category, gif_file) values ( 'PostMapTrigger', 'S', 'T_PostMapProcess.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PostMapTrigger', 'M', 'C_PostMapProcess.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PostMapTrigger', 'L', 'null' ); --image 'PreDefinedModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'PreDefinedModule', 'S', 'T_PublicLibraryModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PreDefinedModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PreDefinedModule', 'L', 'null' ); --image 'PreMapTrigger' insert into wmp_images (image_name, size_category, gif_file) values ( 'PreMapTrigger', 'S', 'T_PreMapProcess.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PreMapTrigger', 'M', 'C_PreMapProcess.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PreMapTrigger', 'L', 'null' ); --image 'Procedure' insert into wmp_images (image_name, size_category, gif_file) values ( 'Procedure', 'S', 'T_Procedure.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Procedure', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Procedure', 'L', 'null' ); --image 'Process' insert into wmp_images (image_name, size_category, gif_file) values ( 'Process', 'S', 'T_Process.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Process', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Process', 'L', 'null' ); --image 'ProcessActivity' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessActivity', 'S', 'T_ProcessActivity.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessActivity', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessActivity', 'L', 'null' ); --image 'ProcessAnd' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessAnd', 'S', 'T_ProcessAnd.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessAnd', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessAnd', 'L', 'null' ); --image 'ProcessEmail' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEmail', 'S', 'T_NameAddress.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEmail', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEmail', 'L', 'null' ); --image 'ProcessEnd' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEnd', 'S', 'T_ProcessEnd.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEnd', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessEnd', 'L', 'null' ); --image 'ProcessExternal' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessExternal', 'S', 'T_ProcessUserDefined.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessExternal', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessExternal', 'L', 'null' ); --image 'ProcessFTP' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFTP', 'S', 'T_ProcessFTP.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFTP', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFTP', 'L', 'null' ); --image 'ProcessFileExists' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFileExists', 'S', 'T_ProcessFileExists.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFileExists', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFileExists', 'L', 'null' ); --image 'ProcessFork' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFork', 'S', 'T_ProcessFork.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFork', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessFork', 'L', 'null' ); --image 'ProcessLocation' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessLocation', 'S', 'T_ProcessLocation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessLocation', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessLocation', 'L', 'null' ); --image 'ProcessMap' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessMap', 'S', 'T_MappingComponent.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessMap', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessMap', 'L', 'null' ); --image 'ProcessModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessModule', 'S', 'T_ProcessModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessModule', 'L', 'null' ); --image 'ProcessOr' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessOr', 'S', 'T_ProcessOr.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessOr', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessOr', 'L', 'null' ); --image 'ProcessParameter' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessParameter', 'S', 'T_ProcessParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessParameter', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessParameter', 'L', 'null' ); --image 'ProcessStart' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessStart', 'S', 'T_ProcessStart.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessStart', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessStart', 'L', 'null' ); --image 'ProcessTransform' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransform', 'S', 'T_TransformFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransform', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransform', 'L', 'null' ); --image 'ProcessTransition' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransition', 'S', 'T_ProcessTransition.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransition', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessTransition', 'L', 'null' ); --image 'ProcessVariable' insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessVariable', 'S', 'T_ProcessVariable.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessVariable', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'ProcessVariable', 'L', 'null' ); --image 'Project' insert into wmp_images (image_name, size_category, gif_file) values ( 'Project', 'S', 'T_Project.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Project', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Project', 'L', 'null' ); --image 'PseudoColumn' insert into wmp_images (image_name, size_category, gif_file) values ( 'PseudoColumn', 'S', 'T_AutoGeneratedColumn.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PseudoColumn', 'M', 'C_AutoGeneratedColumn.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'PseudoColumn', 'L', 'null' ); --image 'Record' insert into wmp_images (image_name, size_category, gif_file) values ( 'Record', 'S', 'T_Record.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Record', 'M', 'C_Record.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Record', 'L', 'null' ); --image 'RecordField' insert into wmp_images (image_name, size_category, gif_file) values ( 'RecordField', 'S', 'T_AdvancedQueue.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RecordField', 'M', 'C_AdvancedQueue.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RecordField', 'L', 'null' ); --image 'Repository' insert into wmp_images (image_name, size_category, gif_file) values ( 'Repository', 'S', 'T_Repository.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Repository', 'M', 'C_Repository.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Repository', 'L', 'null' ); --image 'RowType' insert into wmp_images (image_name, size_category, gif_file) values ( 'RowType', 'S', 'T_PLSQLRowType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RowType', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RowType', 'L', 'null' ); --image 'RuntimeLocation' insert into wmp_images (image_name, size_category, gif_file) values ( 'RuntimeLocation', 'S', 'T_RuntimeLocation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RuntimeLocation', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'RuntimeLocation', 'L', 'null' ); --image 'SQLCollection' insert into wmp_images (image_name, size_category, gif_file) values ( 'SQLCollection', 'S', 'T_SQLCollectionType.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'SQLCollection', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'SQLCollection', 'L', 'null' ); --image 'Sequence' insert into wmp_images (image_name, size_category, gif_file) values ( 'Sequence', 'S', 'T_Sequence.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Sequence', 'M', 'C_Sequence.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Sequence', 'L', 'null' ); --image 'SetOperation' insert into wmp_images (image_name, size_category, gif_file) values ( 'SetOperation', 'S', 'T_SetOperation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'SetOperation', 'M', 'C_SetOperation.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'SetOperation', 'L', 'null' ); --image 'Splitter' insert into wmp_images (image_name, size_category, gif_file) values ( 'Splitter', 'S', 'T_Splitter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Splitter', 'M', 'C_Splitter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Splitter', 'L', 'null' ); --image 'TabLeft' insert into wmp_images (image_name, size_category, gif_file) values ( 'TabLeft', 'S', 'FFFFFFtl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabLeft', 'M', 'FFFFFFtl.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabLeft', 'L', 'FFFFFFtl.gif' ); --image 'TabRight' insert into wmp_images (image_name, size_category, gif_file) values ( 'TabRight', 'S', 'FFFFFFtr.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabRight', 'M', 'FFFFFFtr.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabRight', 'L', 'FFFFFFtr.gif' ); --image 'TabUnderline' insert into wmp_images (image_name, size_category, gif_file) values ( 'TabUnderline', 'S', 'pobtrans.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabUnderline', 'M', 'pobtrans.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TabUnderline', 'L', 'pobtrans.gif' ); --image 'Table' insert into wmp_images (image_name, size_category, gif_file) values ( 'Table', 'S', 'T_Table.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Table', 'M', 'C_Table.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Table', 'L', 'null' ); --image 'TableFunction' insert into wmp_images (image_name, size_category, gif_file) values ( 'TableFunction', 'S', 'T_TableFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TableFunction', 'M', 'C_TableFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TableFunction', 'L', 'null' ); --image 'TransformFunction' insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformFunction', 'S', 'T_TransformFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformFunction', 'M', 'C_TransformFunction.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformFunction', 'L', 'null' ); --image 'TransformMap' insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMap', 'S', 'T_Map.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMap', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMap', 'L', 'null' ); --image 'TransformMapComponent' insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponent', 'S', 'T_MappingComponent.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponent', 'M', 'C_MappingComponent.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponent', 'L', 'null' ); --image 'TransformMapComponentParameter' insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentParameter', 'S', 'T_MapCompParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentParameter', 'M', 'C_MapCompParameter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentParameter', 'L', 'null' ); --image 'TransformMapComponentProperty' insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentProperty', 'S', 'T_MapComponentProp.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentProperty', 'M', 'null' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'TransformMapComponentProperty', 'L', 'null' ); --image 'Trigger' insert into wmp_images (image_name, size_category, gif_file) values ( 'Trigger', 'S', 'T_Trigger.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Trigger', 'M', 'C_Trigger.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Trigger', 'L', 'null' ); --image 'Unpivot' insert into wmp_images (image_name, size_category, gif_file) values ( 'Unpivot', 'S', 'T_Unpivot.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Unpivot', 'M', 'C_Unpivot.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Unpivot', 'L', 'null' ); --image 'Variables' insert into wmp_images (image_name, size_category, gif_file) values ( 'Variables', 'S', 'T_Constant.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Variables', 'M', 'C_Constant.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'Variables', 'L', 'null' ); --image 'View' insert into wmp_images (image_name, size_category, gif_file) values ( 'View', 'S', 'T_View.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'View', 'M', 'C_View.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'View', 'L', 'null' ); --image 'XMLModule' insert into wmp_images (image_name, size_category, gif_file) values ( 'XMLModule', 'S', 'T_XMLModule.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'XMLModule', 'M', 'C_Unknown.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'XMLModule', 'L', 'null' ); --image 'admin_rsrc' insert into wmp_images (image_name, size_category, gif_file) values ( 'admin_rsrc', 'S', 'admin_rsrc.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'admin_rsrc', 'M', 'admin_rsrc.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'admin_rsrc', 'L', 'admin_rsrc.gif' ); --image 'connector0' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector0', 'S', 'connector0.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector0', 'M', 'connector0.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector0', 'L', 'connector0.gif' ); --image 'connector1' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector1', 'S', 'connector1.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector1', 'M', 'connector1.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector1', 'L', 'connector1.gif' ); --image 'connector2' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector2', 'S', 'connector2.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector2', 'M', 'connector2.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector2', 'L', 'connector2.gif' ); --image 'connector3' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector3', 'S', 'connector3.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector3', 'M', 'connector3.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector3', 'L', 'connector3.gif' ); --image 'connector4' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector4', 'S', 'connector4.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector4', 'M', 'connector4.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector4', 'L', 'connector4.gif' ); --image 'connector5' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector5', 'S', 'connector5.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector5', 'M', 'connector5.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector5', 'L', 'connector5.gif' ); --image 'connector6' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector6', 'S', 'connector6.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector6', 'M', 'connector6.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector6', 'L', 'connector6.gif' ); --image 'connector7' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector7', 'S', 'connector7.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector7', 'M', 'connector7.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector7', 'L', 'connector7.gif' ); --image 'connector8' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector8', 'S', 'connector8.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector8', 'M', 'connector8.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector8', 'L', 'connector8.gif' ); --image 'connector9' insert into wmp_images (image_name, size_category, gif_file) values ( 'connector9', 'S', 'connector9.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector9', 'M', 'connector9.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'connector9', 'L', 'connector9.gif' ); --image 'favorites_filter' insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_filter', 'S', 'favorites_filter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_filter', 'M', 'favorites_filter.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_filter', 'L', 'favorites_filter.gif' ); --image 'favorites_head' insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_head', 'S', 'favorites_head.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_head', 'M', 'favorites_head.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_head', 'L', 'favorites_head.gif' ); --image 'favorites_nav' insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_nav', 'S', 'favorites_nav.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_nav', 'M', 'favorites_nav.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_nav', 'L', 'favorites_nav.gif' ); --image 'favorites_rep' insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_rep', 'S', 'favorites_rep.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_rep', 'M', 'favorites_rep.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'favorites_rep', 'L', 'favorites_rep.gif' ); --image 'lia_example' insert into wmp_images (image_name, size_category, gif_file) values ( 'lia_example', 'S', 'lia_example.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'lia_example', 'M', 'lia_example.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'lia_example', 'L', 'lia_example.gif' ); --image 'nav_header' insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_header', 'S', 'nav_header.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_header', 'M', 'nav_header.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_header', 'L', 'nav_header.gif' ); --image 'nav_item_def' insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_def', 'S', 'nav_item_def.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_def', 'M', 'nav_item_def.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_def', 'L', 'nav_item_def.gif' ); --image 'nav_item_det' insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_det', 'S', 'nav_item_det.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_det', 'M', 'nav_item_det.gif' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'nav_item_det', 'L', 'nav_item_det.gif' ); --image 'w_128x52' insert into wmp_images (image_name, size_category, gif_file) values ( 'w_128x52', 'S', 'w_128x52.jpg' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'w_128x52', 'M', 'w_128x52.jpg' ); insert into wmp_images (image_name, size_category, gif_file) values ( 'w_128x52', 'L', 'w_128x52.jpg' ); -- role 'wmp_developer' insert into wmp_roles (role_name, parent_role_name, display_name) values ( 'wmp_developer', null, '10205' ); insert into wmp_group_roles (group_id, role_name) values ( ~portalSchema.wwsec_api.group_id('PORTAL_DEVELOPERS'), 'wmp_developer' ); -- role 'wmp_qa_user' insert into wmp_roles (role_name, parent_role_name, display_name) values ( 'wmp_qa_user', null, '10290' ); insert into wmp_group_roles (group_id, role_name) values ( ~portalSchema.wwsec_api.group_id('PORTAL_DEVELOPERS'), 'wmp_qa_user' ); -- role 'wmp_user' insert into wmp_roles (role_name, parent_role_name, display_name) values ( 'wmp_user', null, '10320' ); insert into wmp_group_roles (group_id, role_name) values ( ~portalSchema.wwsec_api.group_id('PORTAL_DEVELOPERS'), 'wmp_user' ); --type 'AdvancedQueue' insert into wmp_types (type_name, image_name,display_name) values ( 'AdvancedQueue', null, '10432' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'AdvancedQueue', 'ADVANCED_QUEUE' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'AdvancedQueue', 'QUEUE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 157, 'AdvancedQueue', '9.2', 'NA', 'select queue_name from ALL_IV_ADVANCED_QUEUES@# where queue_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 158, 'AdvancedQueue', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_ADVANCED_QUEUES@# where queue_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 159, 'AdvancedQueue', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(q.queue_name, ''10432'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_ADVANCED_QUEUES@# q where dblink_name = ''#'' and m.project_id = p.project_i' || 'd and m.information_system_id = q.schema_id and q.queue_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 160, 'AdvancedQueue', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 161, 'AdvancedQueue', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", ''UMapping'' as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.' || 'get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id UNION select o.object_type_name as "10281", wmp_api_nls.get_string(''10432'') as "^sortHidden", wmp_api_ui.image(''ObjectType'',''S'') || '' '' || wmp_api_nls.get_string(''10479'') as "10312", wmp_db.view_element(''ObjectType'', o.object_type_id) as "10208" from ALL_IV_OBJECT_TYPES@# o, ALL_IV_ADVANCED_QUEUES@# q where q' || '.queue_id = :id and q.load_type_id = o.object_type_id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 162, 'AdvancedQueue', '9.2', 'PR', 'select queue_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", load_type_name as "10448", queue_table_name as "10449", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_ADVANCED_QUEUES@# q where q.queue_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 157, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 157, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 157, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 158, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 158, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 158, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 159, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 159, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 159, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 160, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 160, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 160, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 161, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 161, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 161, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 162, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 162, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 162, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -62, 'AdvancedQueue', '9.2', '10501', 'wmp_rh_generic_report', 'AdvancedQueue_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -63, 'AdvancedQueue', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -64, 'AdvancedQueue', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -62, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -63, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -64, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -62, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -63, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -64, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -62, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -63, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -64, 'wmp_user' ); --type 'AttributeGroup' insert into wmp_types (type_name, image_name,display_name) values ( 'AttributeGroup', null, '10612' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'AttributeGroup', 'ATTRIBUTE_GROUP' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 211, 'AttributeGroup', '9.2', 'NA', 'select attribute_group_name from ALL_IV_ATTR_GROUPS@# where attribute_group_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 212, 'AttributeGroup', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_ATTR_GROUPS@# where attribute_group_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 213, 'AttributeGroup', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(c.cube_name, ''10058'', ''Cube'', c.cube_id) as e4, wmp_db.path_end_element(g.attribute_group_name, ''10612'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, A' || 'LL_IV_CUBES@# c, ALL_IV_ATTR_GROUPS@# g where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = c.schema_id and c.cube_id = g.data_entity_id and g.attribute_group_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 214, 'AttributeGroup', '9.2', 'CO', 'select m.measure_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''CubeMeasure'',''S'') || '' '' || wmp_api_nls.get_string(''10120'') as "10312", wmp_db.view_element(''CubeMeasure'', m.measure_id) as "10208" from ALL_IV_ATTR_GROUP_ITEM_USES@# gitem, ALL_IV_CUBE_MEASURES@# m where gitem.attribute_group_id = :id AND gitem.data_item_id = m.measure_id UNION select c.column_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010' || ''') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_ATTR_GROUP_ITEM_USES@# gitem, ALL_IV_COLUMNS@# c where gitem.attribute_group_id = :id AND gitem.data_item_id = c.column_id AND gitem.data_item_type = ''COLUMN''' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 215, 'AttributeGroup', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 216, 'AttributeGroup', '9.2', 'PR', 'select attribute_group_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", attribute_group_type as "10312", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_ATTR_GROUPS@# where attribute_group_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 211, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 211, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 211, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 212, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 212, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 212, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 213, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 213, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 213, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 214, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 214, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 214, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 215, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 215, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 215, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 216, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 216, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 216, 'wmp_user' ); --type 'CheckConstraint' insert into wmp_types (type_name, image_name,display_name) values ( 'CheckConstraint', null, '10586' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'CheckConstraint', 'CHECK_CONSTRAINT' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 151, 'CheckConstraint', '9.2', 'NA', 'select constraint_name from ALL_IV_CHECK_CONSTRAINTS@# where constraint_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 152, 'CheckConstraint', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_CHECK_CONSTRAINTS@# where constraint_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 153, 'CheckConstraint', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.table_name, ''10169'', ''Table'', t.table_id) as e4, wmp_db.path_end_element(fk.constraint_name, ''10586'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, AL' || 'L_IV_TABLES@# t, ALL_IV_CHECK_CONSTRAINTS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = fk.relation_id and fk.constraint_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_' || 'db.path_element(t.table_name, ''10169'', ''Table'', t.table_id) as e4, wmp_db.path_end_element(fk.constraint_name, ''10586'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_CHECK_CONSTRAINTS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = fk.relation_id and fk.constraint_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REP' || 'OSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(c.cube_name, ''10058'', ''Cube'', c.cube_id) as e4, wmp_db.path_end_element(fk.constraint_name, ''10586'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_CUBES@# c, ALL_IV_CHECK_CONSTRAINTS@# fk where dblink_name = ''#' || ''' and m.project_id = p.project_id and m.information_system_id = c.schema_id and c.cube_id = fk.relation_id and fk.constraint_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10319'', ''View'', v.view_id) as e4, wmp' || '_db.path_end_element(fk.constraint_name, ''10586'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_VIEWS@# v, ALL_IV_CHECK_CONSTRAINTS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = fk.relation_id and fk.constraint_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.proj' || 'ect_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10114'', ''MaterializedView'', v.view_id) as e4, wmp_db.path_end_element(fk.constraint_name, ''10586'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_MATERIALIZED_VIEWS@# v, ALL_IV_CHECK_CONSTRAINTS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_i' || 'd = v.schema_id and v.view_id = fk.relation_id and fk.constraint_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 154, 'CheckConstraint', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 155, 'CheckConstraint', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 156, 'CheckConstraint', '9.2', 'PR', 'select constraint_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", constraint_text as "10568", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_CHECK_CONSTRAINTS@# where constraint_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 151, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 151, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 151, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 152, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 152, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 152, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 153, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 153, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 153, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 154, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 154, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 154, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 155, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 155, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 155, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 156, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 156, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 156, 'wmp_user' ); --type 'Collection' insert into wmp_types (type_name, image_name,display_name) values ( 'Collection', null, '10427' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Collection', 'COLLECTION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 61, 'Collection', '9.2', 'NA', 'select collection_name from ALL_IV_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 62, 'Collection', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 63, 'Collection', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(d.collection_name, ''10427'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_COLLECTIONS@# d where dblink_name = ''#'' and p.project_id=d.project_id and d.collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 64, 'Collection', '9.2', 'CO', 'select i.collection_reference_name as "10281", wmp_api_ui.image(wmp_db.n(i.collection_reference_type),''S'') || '' '' || wmp_db.l(i.collection_reference_type) as "10312", wmp_db.view_element(wmp_db.n(i.collection_reference_type), i.collection_reference_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_id = :id and i.collection_reference_type != ''FUNCTION'' and i.collection_reference_type != ''LOGICAL_LOCATION'' UNION select fn.function_name as "10281", wmp_api_ui.image_of_' || 'function(fn.function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(fn.function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn, ALL_IV_COLLECTION_REFERENCES@# i where i.collection_id = :id and i.collection_reference_id = fn.function_id UNION select l.location_name as "10281", wmp_api_ui.image_of_location(l.location_target_type,''S'') || '' '' || wmp_api_nls.get_string_of_location(l.location_target_type) as "10312", wmp_db.vie' || 'w_element(''Location'', l.location_id) as "10208" from ALL_IV_LOCATIONS@# l, ALL_IV_COLLECTION_REFERENCES@# i where i.collection_id = :id and i.collection_reference_id = l.location_id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 65, 'Collection', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 66, 'Collection', '9.2', 'PR', 'select collection_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_COLLECTIONS@# d where d.collection_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 61, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 61, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 61, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 62, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 62, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 62, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 63, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 63, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 63, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 64, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 64, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 64, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 65, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 65, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 65, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 66, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 66, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 66, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -1, 'Collection', '9.2', '10032', 'wmp_rh_generic_report', 'Collection_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -1, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -1, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -1, 'wmp_user' ); --type 'CollectionItem' insert into wmp_types (type_name, image_name,display_name) values ( 'CollectionItem', null, '10447' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'CollectionItem', 'COLLECTION_ITEM' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 67, 'CollectionItem', '9.2', 'NA', 'select collection_reference_name from ALL_IV_COLLECTION_REFERENCES@# where collection_reference_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 68, 'CollectionItem', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_COLLECTION_REFERENCES@# where collection_reference_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 69, 'CollectionItem', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(d.collection_name, ''10427'', ''Collection'', d.collection_id) as e3, wmp_db.path_end_element(i.collection_reference_name, ''10447'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_COLLECTIONS@# d, ALL_IV_COLLECTION_REFERENCES@# i where dblink_name = ''#'' and p.project_id=d.project_id and d.collecti' || 'on_id = i.collection_id and i.collection_reference_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 70, 'CollectionItem', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 71, 'CollectionItem', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 72, 'CollectionItem', '9.2', 'PR', 'select collection_reference_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_COLLECTION_REFERENCES@# d where d.collection_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 67, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 67, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 67, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 68, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 68, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 68, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 69, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 69, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 69, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 70, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 70, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 70, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 71, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 71, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 71, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 72, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 72, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 72, 'wmp_user' ); --type 'Column' insert into wmp_types (type_name, image_name,display_name) values ( 'Column', null, '10010' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Column', 'COLUMN' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 121, 'Column', '9.2', 'NA', 'select column_name from ALL_IV_COLUMNS@# where column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 122, 'Column', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_COLUMNS@# where column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 123, 'Column', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.table_name, ''10169'', ''Table'', t.table_id) as e4, wmp_db.path_end_element(c.column_name, ''10010'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_' || 'TABLES@# t, ALL_IV_COLUMNS@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = c.entity_id and c.column_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(s.sequen' || 'ce_name, ''10161'', ''Sequence'', s.sequence_id) as e4, wmp_db.path_end_element(c.column_name, ''10010'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_SEQUENCES@# s, ALL_IV_COLUMNS@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = s.schema_id and s.sequence_id = c.entity_id and c.entity_type = ''SEQUENCE'' and c.column_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_I' || 'D) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10319'', ''View'', v.view_id) as e4, wmp_db.path_end_element(c.column_name, ''10010'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_VIEWS@# v, ALL_IV_COLUMNS@# c where dblink_name = ''#'' and m.project_id = p.pr' || 'oject_id and m.information_system_id = v.schema_id and v.view_id = c.entity_id and c.entity_type = ''VIEW'' and c.column_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10114'', ''MaterializedView'', v.view_id) as ' || 'e4, wmp_db.path_end_element(c.column_name, ''10010'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_MATERIALIZED_VIEWS@# v, ALL_IV_COLUMNS@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = c.entity_id and c.entity_type = ''MATERIALIZED_VIEW'' and c.column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 124, 'Column', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 125, 'Column', '9.2', 'RE', 'select c.map_name || ''.'' || p.map_component_name || ''.'' || p.parameter_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.data_item_id = :id and p.map_component_id = c.map_component_id UNION select u.' || 'key_name as "10281", wmp_api_nls.get_string(''10098'') as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string(''10098'') as "10312", wmp_db.view_element(''Key'', u.key_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# u where u.column_id = :id AND u.key_type = ''KEY'' UNION select u.key_name as "10281", wmp_api_nls.get_string(''10073'') as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(' || '''ForeignKey'', u.key_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# u where u.column_id = :id AND u.key_type = ''FOREIGN KEY'' order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 126, 'Column', '9.2', 'PR', 'select column_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10028", length as "10102", precision as "10140", scale as "10154", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_COLUMNS@# where column_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 121, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 121, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 121, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 122, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 122, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 122, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 123, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 123, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 123, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 124, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 124, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 124, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 125, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 125, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 125, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 126, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 126, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 126, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -2, 'Column', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -3, 'Column', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -2, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -3, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -2, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -3, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -2, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -3, 'wmp_user' ); --type 'Connector' insert into wmp_types (type_name, image_name,display_name) values ( 'Connector', null, '10487' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Connector', 'LOGICAL_CONNECTOR' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 85, 'Connector', '9.2', 'NA', 'select connector_name from ALL_IV_CONNECTORS@# where connector_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 86, 'Connector', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_CONNECTORS@# where connector_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 87, 'Connector', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(d.location_name, ''10435'', ''Location'', d.location_id) as e3, wmp_db.path_end_element(c.connector_name, ''10487'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_LOCATIONS@# d, ALL_IV_CONNECTORS@# c where dblink_name = ''#'' and p.project_id=d.project_id and d.location_id = c.location_id and c.conn' || 'ector_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 88, 'Connector', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 89, 'Connector', '9.2', 'RE', 'select loc.location_name as "10281", wmp_api_nls.get_string(''10020'') as "^sortHidden", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', loc.location_id) as "10208" from ALL_IV_LOCATIONS@# loc, ALL_IV_CONNECTORS@# con where con.connector_id = :id and loc.location_id = con.referenced_location_id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 90, 'Connector', '9.2', 'PR', 'select connector_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", referenced_location_name as "10525", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_CONNECTORS@# d where d.connector_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 85, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 85, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 85, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 86, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 86, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 86, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 87, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 87, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 87, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 88, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 88, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 88, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 89, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 89, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 89, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 90, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 90, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 90, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -15, 'Connector', '9.2', '10577', 'wmp_rh_generic_report', 'Connector_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -15, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -15, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -15, 'wmp_user' ); --type 'Cube' insert into wmp_types (type_name, image_name,display_name) values ( 'Cube', null, '10020' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Cube', 'CUBE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 199, 'Cube', '9.2', 'NA', 'select cube_name from ALL_IV_CUBES@# where cube_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 200, 'Cube', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_CUBES@# where cube_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 201, 'Cube', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(c.cube_name, ''10020'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_CUBES@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.inf' || 'ormation_system_id = c.schema_id and c.cube_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 202, 'Cube', '9.2', 'CO', 'select m.measure_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''CubeMeasure'',''S'') || '' '' || wmp_api_nls.get_string(''10120'') as "10312", wmp_db.view_element(''CubeMeasure'', m.measure_id) as "10208" from ALL_IV_CUBE_MEASURES@# m where m.cube_id = :id UNION select fk.foreign_key_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', fk.foreign_key_id) as "10208' || '" from ALL_IV_FOREIGN_KEYS@# fk where fk.entity_id = :id UNION select i.attribute_group_name as "10281", ''C'' as "^sortHidden", wmp_api_ui.image(''AttributeGroup'',''S'') || '' '' || wmp_api_nls.get_string(''10612'') as "10312", wmp_db.view_element(''AttributeGroup'', i.attribute_group_id) as "10208" from ALL_IV_ATTR_GROUPS@# i where i.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 203, 'Cube', '9.2', 'RE', 'select d.dimension_name as "10281", wmp_api_nls.get_string(''10229'') as "^sortHidden", wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229'') as "10312", wmp_db.view_element(''Dimension'', d.dimension_id) as "10208" from ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_KEYS@# k, ALL_IV_DIMENSIONS@# d where fk.entity_id = :id and fk.key_id = k.key_id and k.entity_id = d.dimension_id UNION select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_ap' || 'i_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden", wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_TABLES@# t where t.ta' || 'ble_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 204, 'Cube', '9.2', 'PR', 'select cube_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_CUBES@# c where c.cube_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 199, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 199, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 199, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 200, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 200, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 200, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 201, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 201, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 201, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 202, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 202, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 202, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 203, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 203, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 203, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 204, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 204, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 204, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -6, 'Cube', '9.2', '10022', 'wmp_rh_generic_report', 'Cube_Implementation' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -7, 'Cube', '9.2', '10033', 'wmp_rh_generic_report', 'Cube_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -8, 'Cube', '9.2', '10260', 'wmp_rh_generic_report', 'Cube_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -9, 'Cube', '9.2', '10089', 'wmp_rh_generic_report', 'Cube_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -10, 'Cube', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -11, 'Cube', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -6, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -7, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -8, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -9, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -10, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -11, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -6, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -7, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -8, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -9, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -10, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -11, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -6, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -7, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -8, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -9, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -10, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -11, 'wmp_user' ); --type 'CubeMeasure' insert into wmp_types (type_name, image_name,display_name) values ( 'CubeMeasure', null, '10025' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'CubeMeasure', 'MEASURE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 205, 'CubeMeasure', '9.2', 'NA', 'select measure_name from ALL_IV_CUBE_MEASURES@# where measure_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 206, 'CubeMeasure', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_CUBE_MEASURES@# where measure_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 207, 'CubeMeasure', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(c.cube_name, ''10058'', ''Cube'', c.cube_id) as e4, wmp_db.path_end_element(m.measure_name, ''10120'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_CU' || 'BES@# c, ALL_IV_CUBE_MEASURES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = c.schema_id and c.cube_id = m.cube_id and m.measure_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 208, 'CubeMeasure', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 209, 'CubeMeasure', '9.2', 'RE', 'select c.map_name || ''.'' || p.map_component_name || ''.'' || p.parameter_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.data_item_id = :id and p.map_component_id = c.map_component_id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 210, 'CubeMeasure', '9.2', 'PR', 'select measure_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10028", length as "10102", precision as "10140", scale as "10154", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_CUBE_MEASURES@# where measure_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 205, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 205, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 205, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 206, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 206, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 206, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 207, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 207, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 207, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 208, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 208, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 208, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 209, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 209, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 209, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 210, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 210, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 210, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -12, 'CubeMeasure', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -13, 'CubeMeasure', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -12, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -13, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -12, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -13, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -12, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -13, 'wmp_user' ); --type 'Cursor' insert into wmp_types (type_name, image_name,display_name) values ( 'Cursor', null, '10473' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Cursor', 'CURSOR' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 259, 'Cursor', '9.2', 'NA', 'select cursor_name from OWB_CURSORS@# where cursor_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 260, 'Cursor', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_CURSORS@# where cursor_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 261, 'Cursor', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(cr.cursor_name, ''10473'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_' || 'IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, OWB_CURSORS@# cr where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = cr.library_id and cr.cursor_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 262, 'Cursor', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 263, 'Cursor', '9.2', 'RE', 'select pr.record_name as "10281", wmp_api_ui.image(''PLSRecord'',''S'') || '' '' || wmp_api_nls.get_string(''10475'') as "10312", wmp_db.view_element(''PLSRecord'', pr.record_id) as "10208" from OWB_PLS_RECORDS@# pr, OWB_CURSORS@# cur where cur.return_record_id = pr.record_id and cur.cursor_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 264, 'Cursor', '9.2', 'PR', 'select cursor_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", cursor_type as "10481", return_record_name as "10482", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_CURSORS@# cr where cr.cursor_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 259, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 259, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 259, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 260, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 260, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 260, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 261, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 261, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 261, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 262, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 262, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 262, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 263, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 263, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 263, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 264, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 264, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 264, 'wmp_user' ); --type 'DataWarehouse' insert into wmp_types (type_name, image_name,display_name) values ( 'DataWarehouse', null, '10466' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'DataWarehouse', 'DATAWAREHOUSE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 55, 'DataWarehouse', '9.2', 'NA', 'select information_system_name from ALL_IV_WAREHOUSE_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 56, 'DataWarehouse', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_WAREHOUSE_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 57, 'DataWarehouse', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_WAREHOUSE_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 58, 'DataWarehouse', '9.2', 'CO', 'select decode(rel.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| rel.relation_name, rel.relation_name) as "10281", ''B'' as "^sortHidden", decode(rel.relation_type, ''Cube'', wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020''), ''Dimension'', wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229''), ''MaterializedView'', wmp_api_ui.image(''MaterializedView'',''S'') || '' '' || wmp_api_nls.get_string(''10114''), ''Sequence'', wmp' || '_api_ui.image(''Sequence'',''S'') || '' '' || wmp_api_nls.get_string(''10161''), ''Table'', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169''), ''View'', wmp_api_ui.image(''View'',''S'') || '' '' || wmp_api_nls.get_string(''10319''), ''AdvancedQueue'', wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432''), ''ExternalTable'', wmp_api_ui.image(''ExternalTable'',''S'') || '' '' || wmp_api_nls.get_string(''10433''))as "10312", wmp_db.vie' || 'w_element(rel.relation_type, rel.relation_id) as "10208" from ALL_IV_RELATIONS@# rel where rel.schema_id = :id UNION select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''FunctionLibrary'', ''S'') || '' '' || wmp_api_nls.get_string(''10240'') as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_id) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl wh' || 'ere fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null and fn.schema_id = :id and function_type != ''TableF' || 'unction'' UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", wmp_api_nls.get_string(''10240'') as "^sortHidden", wmp_api_ui.image(''TableFunction'',''S'') || '' '' || wmp_api_nls.get_string(''10477'') as "10312", wmp_db.view_element(''TableFunction'', fn.function_id) as "10208" from ALL_IV_TABLE_FUNCTIONS@# fn where fn.function_library_id is null and fn.schema_id = :id UNION select decode(t.is_valid, ''N'', wmp_api_' || 'ui.image(''Error'', ''S'')||'' ''|| t.map_name, t.map_name) as "10281", wmp_api_nls.get_string(''10179'') as "^sortHidden", wmp_api_ui.image(''TransformMap'',''S'') || '' '' || wmp_api_nls.get_string(''10179'') as "10312", wmp_db.view_element(''TransformMap'', t.map_id) as "10208" from ALL_IV_XFORM_MAPS@# t where t.information_system_id = :id order by 3 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 59, 'DataWarehouse', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from ALL_IV_WAREHOUSE_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 60, 'DataWarehouse', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_WAREHOUSE_MODULES@# m where m.information_sys' || 'tem_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 55, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 55, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 55, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 56, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 56, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 56, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 57, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 57, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 57, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 58, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 58, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 58, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 59, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 59, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 59, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 60, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 60, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 60, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -33, 'DataWarehouse', '9.2', '10039', 'wmp_rh_generic_report', 'DataWarehouse_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -34, 'DataWarehouse', '9.2', '10408', 'wmp_rh_generic_report', 'FunctionLibrary_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -35, 'DataWarehouse', '9.2', '10409', 'wmp_rh_generic_report', 'TransformMap_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -36, 'DataWarehouse', '9.2', '10024', 'wmp_rh_generic_report', 'Cube_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -37, 'DataWarehouse', '9.2', '10055', 'wmp_rh_generic_report', 'Dimension_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -38, 'DataWarehouse', '9.2', '10117', 'wmp_rh_generic_report', 'MaterializedView_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -39, 'DataWarehouse', '9.2', '10163', 'wmp_rh_generic_report', 'Sequence_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -40, 'DataWarehouse', '9.2', '10172', 'wmp_rh_generic_report', 'Table_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -41, 'DataWarehouse', '9.2', '10201', 'wmp_rh_generic_report', 'View_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -42, 'DataWarehouse', '9.2', '10490', 'wmp_rh_generic_report', 'ExternalTable_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -43, 'DataWarehouse', '9.2', '10491', 'wmp_rh_generic_report', 'AdvancedQueue_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -44, 'DataWarehouse', '9.2', '10595', 'wmp_rh_generic_report', 'Function_Summary' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -45, 'DataWarehouse', '9.2', '10596', 'wmp_rh_generic_report', 'Procedure_Summary' ); insert into wmp_role_reports (report_id, role_name) values ( -33, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -34, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -35, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -36, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -37, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -38, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -39, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -40, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -41, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -42, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -43, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -44, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -45, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -33, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -34, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -35, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -36, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -37, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -38, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -39, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -40, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -41, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -42, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -43, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -44, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -45, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -33, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -34, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -35, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -36, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -37, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -38, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -39, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -40, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -41, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -42, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -43, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -44, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -45, 'wmp_user' ); --type 'Dimension' insert into wmp_types (type_name, image_name,display_name) values ( 'Dimension', null, '10229' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Dimension', 'DIMENSION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 91, 'Dimension', '9.2', 'NA', 'select dimension_name from ALL_IV_DIMENSIONS@# where dimension_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 92, 'Dimension', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_DIMENSIONS@# where dimension_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 93, 'Dimension', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(d.dimension_name, ''10229'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_DIMENSIONS@# d where dblink_name = ''#'' and m.project_id = p.project_id' || ' and m.information_system_id = d.schema_id and d.dimension_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 94, 'Dimension', '9.2', 'CO', 'select l.level_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''Level'',''S'') || '' '' || wmp_api_nls.get_string(''10103'') as "10312", wmp_db.view_element(''Level'', l.level_id) as "10208" from ALL_IV_DIM_LEVELS@# l where l.dimension_id = :id UNION select h.hierarchy_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image(''Hierarchy'',''S'') || '' '' || wmp_api_nls.get_string(''10245'') as "10312", wmp_db.view_element(''Hierarchy'', h.hierarchy_id) as "10208" from ALL_IV_DIM_HIER' || 'ARCHIES@# h where h.dimension_id = :id UNION select k.entity_name || ''.'' || k.key_name as "10281", ''C'' as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string(''10098'') as "10312", wmp_db.view_element(''Key'', k.key_id) as "10208" from ALL_IV_KEYS@# k where k.entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 95, 'Dimension', '9.2', 'RE', 'select c.cube_name as "10281", wmp_api_nls.get_string(''10020'') as "^sortHidden", wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020'') as "10312", wmp_db.view_element(''Cube'', c.cube_id) as "10208" from ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_KEYS@# k, ALL_IV_CUBES@# c where k.entity_id = :id and fk.key_id = k.key_id and fk.entity_id = c.cube_id UNION select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S' || ''') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Classification'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden", wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_TABLES@# t where t.table_id = :id UNION select' || ' c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 96, 'Dimension', '9.2', 'PR', 'select dimension_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", plural_name as "10324", dimension_prefix as "10591", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_DIMENSIONS@# d where d.dimension_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 91, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 91, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 91, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 92, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 92, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 92, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 93, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 93, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 93, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 94, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 94, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 94, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 95, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 95, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 95, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 96, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 96, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 96, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -46, 'Dimension', '9.2', '10052', 'wmp_rh_generic_report', 'Dimension_Implementation' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -47, 'Dimension', '9.2', '10034', 'wmp_rh_generic_report', 'Dimension_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -48, 'Dimension', '9.2', '10260', 'wmp_rh_generic_report', 'Dimension_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -49, 'Dimension', '9.2', '10089', 'wmp_rh_generic_report', 'Dimension_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -50, 'Dimension', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -51, 'Dimension', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -46, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -47, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -48, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -49, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -50, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -51, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -46, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -47, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -48, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -49, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -50, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -51, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -46, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -47, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -48, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -49, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -50, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -51, 'wmp_user' ); --type 'ExternalColumn' insert into wmp_types (type_name, image_name,display_name) values ( 'ExternalColumn', null, '10445' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ExternalColumn', 'EXTERNAL_COLUMN' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 133, 'ExternalColumn', '9.2', 'NA', 'select column_name from ALL_IV_EXTERNAL_COLUMNS@# where column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 134, 'ExternalColumn', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_EXTERNAL_COLUMNS@# where column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 135, 'ExternalColumn', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.table_name, ''10433'', ''ExternalTable'', t.table_id) as e4, wmp_db.path_end_element(c.column_name, ''10445'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m,' || ' ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_EXTERNAL_COLUMNS@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = c.entity_id and c.column_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 136, 'ExternalColumn', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 137, 'ExternalColumn', '9.2', 'RE', 'select c.map_name || ''.'' || p.map_component_name || ''.'' || p.parameter_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.data_item_id = :id and p.map_component_id = c.map_component_id UNION select f.' || 'field_name as "10281", wmp_api_nls.get_string(''10063'') as "^sortHidden", wmp_api_ui.image(''Field'',''S'') || '' '' || wmp_api_nls.get_string(''10063'') as "10312", wmp_db.view_element(''Field'', f.field_id) as "10208" from ALL_IV_FIELDS@# f, ALL_IV_EXTERNAL_COLUMNS@# c where c.source_field_id = f.field_id and c.column_id = :id UNION select u.key_name as "10281", wmp_api_nls.get_string(''10098'') as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string(''10098'') as' || ' "10312", wmp_db.view_element(''Key'', u.key_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# u where u.column_id = :id AND u.key_type = ''KEY'' UNION select u.key_name as "10281", wmp_api_nls.get_string(''10073'') as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', u.key_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# u where u.column_id = :id AND u.key_type = ''FOREIGN_KEY'' order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 138, 'ExternalColumn', '9.2', 'PR', 'select column_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10028", length as "10102", precision as "10140", scale as "10154", source_field_name as "10446", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_EXTERNAL_COLUMNS@# where column_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 133, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 133, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 133, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 134, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 134, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 134, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 135, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 135, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 135, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 136, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 136, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 136, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 137, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 137, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 137, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 138, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 138, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 138, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -4, 'ExternalColumn', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -5, 'ExternalColumn', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -4, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -5, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -4, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -5, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -4, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -5, 'wmp_user' ); --type 'ExternalTable' insert into wmp_types (type_name, image_name,display_name) values ( 'ExternalTable', null, '10433' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ExternalTable', 'EXTERNAL_TABLE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 127, 'ExternalTable', '9.2', 'NA', 'select table_name from ALL_IV_EXTERNAL_TABLES@# where table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 128, 'ExternalTable', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_EXTERNAL_TABLES@# where table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 129, 'ExternalTable', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(t.table_name, ''10433'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_EXTERNAL_TABLES@# t where dblink_name = ''#'' and m.project_id = p.project_i' || 'd and m.information_system_id = t.schema_id and t.table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 130, 'ExternalTable', '9.2', 'CO', 'select c.column_name as "10281", c.position || wmp_api_nls.get_string(''10010'') as "^sortHidden", wmp_api_ui.image(''ExternalColumn'',''S'') || '' '' || wmp_api_nls.get_string(''10445'') as "10312", wmp_db.view_element(''ExternalColumn'', c.column_id) as "10208" from ALL_IV_EXTERNAL_COLUMNS@# c where c.entity_id = :id UNION select k.key_name as "10281", ''Key1'' as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string_of_key(k.is_primary) as "10312", wmp_db.view_elem' || 'ent(''Key'', k.key_id) as "10208" from ALL_IV_KEYS@# k where k.entity_id = :id UNION select f.foreign_key_name as "10281", ''Key2'' as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', f.foreign_key_id) as "10208" from ALL_IV_FOREIGN_KEYS@# f where f.entity_id = :id UNION select c.constraint_name as "10281", ''Key3'' as "^sortHidden", wmp_api_ui.image(''CheckConstraint'',''S'') || '' '' || wmp_api_n' || 'ls.get_string(''10586'') as "10312", wmp_db.view_element(''CheckConstraint'', c.constraint_id) as "10208" from ALL_IV_CHECK_CONSTRAINTS@# c where c.relation_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 131, 'ExternalTable', '9.2', 'RE', 'select ''(0-1) '' || t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden", wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_KEYS@# k, ALL_IV_EXTERNAL_TABLES@# t where fk.entity_id = :id and fk.key_id = k.key_id and k.entity_id = t.table_id UNION select ''(0-*) '' || t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden"' || ', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_KEYS@# k, ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_EXTERNAL_TABLES@# t where k.entity_id = :id and fk.key_id = k.key_id and fk.entity_id = t.table_id UNION select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db' || '.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select r.record_name as "10281", wmp_api_nls.get_string(''10433'') as "^sortHidden", wmp_api_ui.image(''Record'',''S'') || '' '' || wmp_api_nls.get_string(''10144'') as "10312", wmp_db.view_element(''Record'', r.record_id) as "10208" from ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_RECORDS@# r where t.table_id = :id and t.source_record_id = r.record_id UNION select l' || '.location_name as "10281", wmp_api_nls.get_string(''10435'') as "^sortHidden", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10435'') as "10312", wmp_db.view_element(''Location'', l.location_id) as "10208" from ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_LOCATIONS@# l where t.table_id = :id and t.location_id = l.location_id UNION select c.map_name || ''.'' || c.map_component_name as "10281", ''UMapping'' as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || ''' || ' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 132, 'ExternalTable', '9.2', 'PR', 'select table_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", location_name as "10441", source_record_name as "10442", source_file_name as "10443", access_parameters as "10444", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_EXTERNAL_TABLES@# t where t.table_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 127, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 127, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 127, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 128, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 128, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 128, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 129, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 129, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 129, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 130, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 130, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 130, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 131, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 131, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 131, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 132, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 132, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 132, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -81, 'ExternalTable', '9.2', '10499', 'wmp_rh_generic_report', 'ExternalTable_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -82, 'ExternalTable', '9.2', '10260', 'wmp_rh_generic_report', 'ExternalTable_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -83, 'ExternalTable', '9.2', '10089', 'wmp_rh_generic_report', 'ExternalTable_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -84, 'ExternalTable', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -85, 'ExternalTable', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -81, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -82, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -83, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -84, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -85, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -81, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -82, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -83, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -84, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -85, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -81, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -82, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -83, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -84, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -85, 'wmp_user' ); --type 'Field' insert into wmp_types (type_name, image_name,display_name) values ( 'Field', null, '10063' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Field', 'FIELD' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 247, 'Field', '9.2', 'NA', 'select field_name from ALL_IV_FIELDS@# where field_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 248, 'Field', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FIELDS@# where field_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 249, 'Field', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''FileModule'', m.information_system_id) as e3, wmp_db.path_element(f.file_name, ''10065'', ''File'', f.file_id) as e4, wmp_db.path_element(rc.record_name, ''10144'', ''Record'', rc.record_id) as e5, wmp_db.path_end_element(fl.field_name, ''10063'') as e6 from WMP_REPOSITORI' || 'ES r, ALL_IV_PROJECTS@# p, ALL_IV_FILE_MODULES@# m, ALL_IV_FILES@# f, ALL_IV_RECORDS@# rc, ALL_IV_FIELDS@# fl where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = f.information_system_id and f.file_id = rc.file_id and rc.record_id = fl.record_id and fl.field_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 250, 'Field', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 251, 'Field', '9.2', 'RE', 'select c.map_name || ''.'' || p.map_component_name || ''.'' || p.parameter_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.data_item_id = :id and p.map_component_id = c.map_component_id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 252, 'Field', '9.2', 'PR', 'select field_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10029", mask as "10627", nullif as "10628", defaultif as "10629", length as "10102", precision as "10140", scale as "10154", sql_data_type as "10630", sql_precision as "10631", sql_length as "10633", sql_scale as "10632", start_position as "10634", created_on as "10406", updated_on as "10407", created_by as "1043' || '0", updated_by as "10431" from ALL_IV_FIELDS@# f where f.field_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 247, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 247, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 247, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 248, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 248, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 248, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 249, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 249, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 249, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 250, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 250, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 250, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 251, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 251, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 251, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 252, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 252, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 252, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -52, 'Field', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -53, 'Field', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -52, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -53, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -52, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -53, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -52, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -53, 'wmp_user' ); --type 'File' insert into wmp_types (type_name, image_name,display_name) values ( 'File', null, '10065' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'File', 'FILE' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'File', 'FlatFile' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 235, 'File', '9.2', 'NA', 'select file_name from ALL_IV_FILES@# where file_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 236, 'File', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FILES@# where file_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 237, 'File', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''FileModule'', m.information_system_id) as e3, wmp_db.path_end_element(f.file_name, ''10065'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_FILE_MODULES@# m, ALL_IV_FILES@# f where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id' || ' = f.information_system_id and f.file_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 238, 'File', '9.2', 'CO', 'select r.record_name as "10281", wmp_api_ui.image(''Record'',''S'') || '' '' || wmp_api_nls.get_string(''10144'') as "10312", wmp_db.view_element(''Record'', r.record_id) as "10208" from ALL_IV_RECORDS@# r where r.file_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 239, 'File', '9.2', 'RE', 'select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 240, 'File', '9.2', 'PR', 'select file_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", file_format as "10626", source_from as "10625", record_classifier_position as "10009", record_classifier_length as "10008", record_size as "10150", n_physical_records_in_logical as "10126", continuation_at_end as "10016", continuation_delimiter as "10017", field_delimiter as "10581", decode(record_delimiter, ''\n'', ''New Line'', '''', ''Carria' || 'ge Return'', record_delimiter) as "10147", text_start_delimiter as "10177", text_end_delimiter as "10176", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FILES@# f where f.file_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 235, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 235, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 235, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 236, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 236, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 236, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 237, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 237, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 237, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 238, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 238, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 238, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 239, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 239, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 239, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 240, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 240, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 240, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -54, 'File', '9.2', '10036', 'wmp_rh_generic_report', 'File_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -55, 'File', '9.2', '10089', 'wmp_rh_generic_report', 'File_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -56, 'File', '9.2', '10260', 'wmp_rh_generic_report', 'File_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -57, 'File', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -58, 'File', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -54, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -55, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -56, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -57, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -58, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -54, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -55, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -56, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -57, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -58, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -54, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -55, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -56, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -57, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -58, 'wmp_user' ); --type 'FileModule' insert into wmp_types (type_name, image_name,display_name) values ( 'FileModule', null, '10467' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'FileModule', 'FILE_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 13, 'FileModule', '9.2', 'NA', 'select information_system_name from ALL_IV_FILE_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 14, 'FileModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FILE_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 15, 'FileModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_FILE_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 16, 'FileModule', '9.2', 'CO', 'select decode(f.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| f.file_name, f.file_name) as "10281", wmp_api_nls.get_string(''10065'') as "^sortHidden", wmp_api_ui.image(''File'',''S'') || '' '' || wmp_api_nls.get_string(''10065'') as "10312", wmp_db.view_element(''File'', f.file_id) as "10208" from ALL_IV_FILES@# f where f.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 17, 'FileModule', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from ALL_IV_FILE_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 18, 'FileModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", directory as "10580", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FILE_MODULES@# m where ' || 'm.information_system_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 13, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 13, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 13, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 14, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 14, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 14, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 15, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 15, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 15, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 16, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 16, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 16, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 17, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 17, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 17, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 18, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 18, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 18, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -20, 'FileModule', '9.2', '10489', 'wmp_rh_generic_report', 'FileModule_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -21, 'FileModule', '9.2', '10066', 'wmp_rh_generic_report', 'File_Summary' ); insert into wmp_role_reports (report_id, role_name) values ( -20, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -21, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -20, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -21, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -20, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -21, 'wmp_user' ); --type 'ForeignKey' insert into wmp_types (type_name, image_name,display_name) values ( 'ForeignKey', null, '10073' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ForeignKey', 'FOREIGN_KEY' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 145, 'ForeignKey', '9.2', 'NA', 'select foreign_key_name from ALL_IV_FOREIGN_KEYS@# where foreign_key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 146, 'ForeignKey', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FOREIGN_KEYS@# where foreign_key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 147, 'ForeignKey', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.table_name, ''10169'', ''Table'', t.table_id) as e4, wmp_db.path_end_element(fk.foreign_key_name, ''10073'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, A' || 'LL_IV_TABLES@# t, ALL_IV_FOREIGN_KEYS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = fk.entity_id and fk.entity_type=''TABLE'' and fk.foreign_key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.informatio' || 'n_system_id) as e3, wmp_db.path_element(t.table_name, ''10169'', ''Table'', t.table_id) as e4, wmp_db.path_end_element(fk.foreign_key_name, ''10073'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_FOREIGN_KEYS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = fk.entity_id and fk.foreign_key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''' || 'Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(c.cube_name, ''10058'', ''Cube'', c.cube_id) as e4, wmp_db.path_end_element(fk.foreign_key_name, ''10073'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_CUBES@# c, ALL_IV_FOREIGN_KEYS@# fk where dbl' || 'ink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = c.schema_id and c.cube_id = fk.entity_id and fk.entity_type=''CUBE'' and fk.foreign_key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ' || '''10319'', ''View'', v.view_id) as e4, wmp_db.path_end_element(fk.foreign_key_name, ''10073'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_VIEWS@# v, ALL_IV_FOREIGN_KEYS@# fk where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = fk.entity_id and fk.entity_type = ''VIEW'' and fk.foreign_key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1,' || ' wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10114'', ''MaterializedView'', v.view_id) as e4, wmp_db.path_end_element(fk.foreign_key_name, ''10073'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_MATERIALIZED_VIEWS@# v, ALL_IV_FOREIGN_KEYS@# fk where dblink_name = ' || '''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = fk.entity_id and fk.entity_type = ''MATERIALIZED_VIEW'' and fk.foreign_key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 148, 'ForeignKey', '9.2', 'CO', 'select c.column_name as "10281", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# c where c.key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 149, 'ForeignKey', '9.2', 'RE', 'select k.entity_name || ''.'' || k.key_name as "10281", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string(''10098'') as "10312", wmp_db.view_element(''Key'', k.key_id) as "10208" from ALL_IV_KEYS@# k, ALL_IV_FOREIGN_KEYS@# fk where fk.foreign_key_id = :id and k.key_id = fk.key_id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 150, 'ForeignKey', '9.2', 'PR', 'select foreign_key_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FOREIGN_KEYS@# where foreign_key_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 145, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 145, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 145, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 146, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 146, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 146, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 147, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 147, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 147, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 148, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 148, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 148, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 149, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 149, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 149, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 150, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 150, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 150, 'wmp_user' ); --type 'Function' insert into wmp_types (type_name, image_name,display_name) values ( 'Function', null, '10239' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Function', 'FUNCTION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 283, 'Function', '9.2', 'NA', 'select function_name from ALL_IV_FUNCTIONS@# where function_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 284, 'Function', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FUNCTIONS@# where function_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 285, 'Function', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(fn.function_name, ''10239'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, AL' || 'L_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = :id and p.project_name != ''Admin Project'' and p.project_name != ''Global Shared'' UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, null as e2, wmp_db.path_element(m.information_system_n' || 'ame, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(fn.function_name, ''10239'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.funct' || 'ion_library_id = fn.function_library_id and fn.function_id = :id and (p.project_name = ''Admin Project'' or p.project_name = ''Global Shared'') UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_end_element(fn.function_name, ''10239'') a' || 's e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = :id and p.project_name != ''Admin Project'' and p.project_name != ''Global Shared'' UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, null as e2, wmp_db.path_element(m.information_system_name, ''1' || '0123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_end_element(fn.function_name, ''10239'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = :id and (p.project_name = ''Admin Project'' or p.project_name = ''Global Shared'')' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 286, 'Function', '9.2', 'CO', 'select par.parameter_type || '' : '' || par.parameter_name as "10281", ''aPar'' as "^sortHidden", wmp_api_ui.image(''FunctionParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10241'') as "10312", wmp_db.view_element(''FunctionParameter'', par.parameter_id) as "10208" from ALL_IV_FUNCTION_PARAMETERS@# par where par.function_id = :id UNION select par.collection_name as "10281", ''bcol'' as "^sortHidden", wmp_api_ui.image(''SQLCollection'',''S'') || '' '' || wmp_api_nls.get_string(''10478'') ' || 'as "10312", wmp_db.view_element(''SQLCollection'', par.collection_id) as "10208" from OWB_SQL_COLLECTIONS@# par where par.folder_id = :id UNION select par.object_type_name as "10281", ''ccol'' as "^sortHidden", wmp_api_ui.image(''ObjectType'',''S'') || '' '' || wmp_api_nls.get_string(''10479'') as "10312", wmp_db.view_element(''ObjectType'', par.object_type_id) as "10208" from ALL_IV_OBJECT_TYPES@# par where par.folder_id = :id UNION select im.function_implementation_name as "10281", ''dImpl'' a' || 's "^sortHidden", wmp_api_ui.image(''FunctionImplementation'',''S'') || '' '' || wmp_api_nls.get_string(''10074'') as "10312", wmp_db.view_element(''FunctionImplementation'', im.function_implementation_id) as "10208" from ALL_IV_FUNCTION_IMPLS@# im where im.function_id = :id order by 2 asc, 1 asc' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 287, 'Function', '9.2', 'RE', 'select c.map_name || ''.'' || c.map_component_name as "10281", ''UMapping'' as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 288, 'Function', '9.2', 'PR', 'select function_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", signature as "10166", function_type as "10327", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FUNCTIONS@# fn where fn.function_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 283, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 283, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 283, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 284, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 284, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 284, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 285, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 285, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 285, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 286, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 286, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 286, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 287, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 287, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 287, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 288, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 288, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 288, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -59, 'Function', '9.2', '10038', 'wmp_rh_generic_report', 'Function_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -59, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -59, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -59, 'wmp_user' ); --type 'FunctionImplementation' insert into wmp_types (type_name, image_name,display_name) values ( 'FunctionImplementation', null, '10079' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 313, 'FunctionImplementation', '9.2', 'NA', 'select function_implementation_name from ALL_IV_FUNCTION_IMPLS@# where function_implementation_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 314, 'FunctionImplementation', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FUNCTION_IMPLS@# where function_implementation_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 315, 'FunctionImplementation', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_eleme' || 'nt(im.function_implementation_name, ''10074'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn, ALL_IV_FUNCTION_IMPLS@# im where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = im.function_id and im.function_implementation_id = :id UNION select wmp_db.path_element(r.name, ''103' || '00'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(im.function_implementation_name, ''10074'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV' || '_FUNCTIONS@# fn, ALL_IV_FUNCTION_IMPLS@# im where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = im.function_id and im.function_implementation_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 316, 'FunctionImplementation', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 317, 'FunctionImplementation', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 318, 'FunctionImplementation', '9.2', 'PR', 'select function_implementation_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", language as "10255", script as "10158", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FUNCTION_IMPLS@# fn where fn.function_implementation_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 313, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 313, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 313, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 314, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 314, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 314, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 315, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 315, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 315, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 316, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 316, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 316, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 317, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 317, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 317, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 318, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 318, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 318, 'wmp_user' ); --type 'FunctionLibrary' insert into wmp_types (type_name, image_name,display_name) values ( 'FunctionLibrary', null, '10080' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'FunctionLibrary', 'FUNCTION_LIBRARY' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 253, 'FunctionLibrary', '9.2', 'NA', 'select function_library_name from ALL_IV_FUNCTION_LIBRARIES@# where function_library_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 254, 'FunctionLibrary', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FUNCTION_LIBRARIES@# where function_library_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 255, 'FunctionLibrary', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(fl.function_library_name, ''10080'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl where dblink_name = ''#'' and m.project_' || 'id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = :id and p.project_name != ''Admin Project'' and p.project_name != ''Global Shared'' UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, null as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(fl.function_library_name, ''10080'') as e4 from WMP_REPOSITORIES r, A' || 'LL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = :id and (p.project_name = ''Admin Project'' or p.project_name = ''Global Shared'')' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 256, 'FunctionLibrary', '9.2', 'CO', 'select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id = :id and not exists(select 1 from ALL_IV_TABLE_FUNCTIONS@# tf where tf.function_id = fn.function_id) UNION select decode(fn.is_valid' || ', ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", wmp_api_ui.image(''TableFunction'',''S'') || '' '' || wmp_api_nls.get_string(''10477'') as "10312", wmp_db.view_element(''TableFunction'', fn.function_id) as "10208" from ALL_IV_TABLE_FUNCTIONS@# fn where fn.function_library_id = :id UNION select fn.cursor_name as "10281", wmp_api_ui.image(''Cursor'',''S'') || '' '' || wmp_api_nls.get_string(''10473'') as "10312", wmp_db.view_element(''Cursor'', ' || 'fn.cursor_id) as "10208" from OWB_CURSORS@# fn where fn.library_id = :id UNION select fn.rowtype_name as "10281", wmp_api_ui.image(''RowType'',''S'') || '' '' || wmp_api_nls.get_string(''10474'') as "10312", wmp_db.view_element(''RowType'', fn.rowtype_id) as "10208" from OWB_PLS_ROWTYPES@# fn where fn.library_id = :id UNION select fn.record_name as "10281", wmp_api_ui.image(''PLSRecord'',''S'') || '' '' || wmp_api_nls.get_string(''10475'') as "10312", wmp_db.view_element(''PLSRecord'', fn.record' || '_id) as "10208" from OWB_PLS_RECORDS@# fn where fn.library_id = :id UNION select fn.collection_name as "10281", wmp_api_ui.image(''PLSCollection'',''S'') || '' '' || wmp_api_nls.get_string(''10476'') as "10312", wmp_db.view_element(''PLSCollection'', fn.collection_id) as "10208" from OWB_PLS_COLLECTIONS@# fn where fn.library_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 257, 'FunctionLibrary', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 258, 'FunctionLibrary', '9.2', 'PR', 'select function_library_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.function_library_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 253, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 253, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 253, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 254, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 254, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 254, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 255, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 255, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 255, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 256, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 256, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 256, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 257, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 257, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 257, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 258, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 258, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 258, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -61, 'FunctionLibrary', '9.2', '10037', 'wmp_rh_generic_report', 'FunctionLibrary_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -61, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -61, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -61, 'wmp_user' ); --type 'FunctionParameter' insert into wmp_types (type_name, image_name,display_name) values ( 'FunctionParameter', null, '10081' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 319, 'FunctionParameter', '9.2', 'NA', 'select parameter_name from ALL_IV_FUNCTION_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 320, 'FunctionParameter', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_FUNCTION_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 321, 'FunctionParameter', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_eleme' || 'nt(par.parameter_name, ''10279'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn, ALL_IV_FUNCTION_PARAMETERS@# par where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = par.function_id and par.parameter_id = :id and p.project_name != ''Admin Project'' and p.project_name != ''G' || 'lobal Shared'' UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, null as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(par.parameter_name, ''10279'') as e6 from WMP' || '_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn, ALL_IV_FUNCTION_PARAMETERS@# par where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = par.function_id and par.parameter_id = :id and (p.project_name = ''Admin Project'' or p.project_name = ''Global Shared'') UNION select wmp_db.path_element(r' || '.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(par.parameter_name, ''10279'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_' || 'FUNCTIONS@# fn, ALL_IV_FUNCTION_PARAMETERS@# par where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = par.function_id and par.parameter_id = :id and p.project_name != ''Admin Project'' and p.project_name != ''Global Shared'' UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2' || ', wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(par.parameter_name, ''10279'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTIONS@# fn, ALL_IV_FUNCTION_PARAMETERS@# par where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = ' || 'fn.schema_id and fn.function_library_id is null and fn.function_id = par.function_id and par.parameter_id = :id and (p.project_name = ''Admin Project'' or p.project_name = ''Global Shared'')' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 322, 'FunctionParameter', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 323, 'FunctionParameter', '9.2', 'RE', 'select p.map_name||''.''||p.map_component_name||''.''||p.parameter_type || '' : '' || p.parameter_name as "10281", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 324, 'FunctionParameter', '9.2', 'PR', 'select parameter_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10028", length as "10102", precision as "10140", scale as "10154", parameter_type as "10133", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_FUNCTION_PARAMETERS@# fn where fn.parameter_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 319, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 319, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 319, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 320, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 320, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 320, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 321, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 321, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 321, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 322, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 322, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 322, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 323, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 323, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 323, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 324, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 324, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 324, 'wmp_user' ); --type 'GatewayModule' insert into wmp_types (type_name, image_name,display_name) values ( 'GatewayModule', null, '10472' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'GatewayModule', 'GATEWAY_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 49, 'GatewayModule', '9.2', 'NA', 'select information_system_name from ALL_IV_GATEWAY_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 50, 'GatewayModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_GATEWAY_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 51, 'GatewayModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_GATEWAY_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 52, 'GatewayModule', '9.2', 'CO', 'select decode(rel.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| rel.relation_name, rel.relation_name) as "10281", ''B'' as "^sortHidden", decode(rel.relation_type, ''Cube'', wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020''), ''Dimension'', wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229''), ''MaterializedView'', wmp_api_ui.image(''MaterializedView'',''S'') || '' '' || wmp_api_nls.get_string(''10114''), ''Sequence'', wmp' || '_api_ui.image(''Sequence'',''S'') || '' '' || wmp_api_nls.get_string(''10161''), ''Table'', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169''), ''View'', wmp_api_ui.image(''View'',''S'') || '' '' || wmp_api_nls.get_string(''10319''), ''AdvancedQueue'', wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432''), ''ExternalTable'', wmp_api_ui.image(''ExternalTable'',''S'') || '' '' || wmp_api_nls.get_string(''10433''))as "10312", wmp_db.vie' || 'w_element(rel.relation_type, rel.relation_id) as "10208" from ALL_IV_RELATIONS@# rel where rel.schema_id = :id UNION select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", ''A'' as "^sortHidden", wmp_api_ui.image_of_functionlibrary(function_library_type, ''S'') || '' '' || wmp_api_nls.get_string_of_functionlibrary(function_library_type) as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_i' || 'd) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null ' || 'and fn.schema_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 53, 'GatewayModule', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from ALL_IV_GATEWAY_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 54, 'GatewayModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_GATEWAY_MODULES@# m where m.information_syste' || 'm_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 49, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 49, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 49, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 50, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 50, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 50, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 51, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 51, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 51, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 52, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 52, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 52, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 53, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 53, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 53, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 54, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 54, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 54, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -32, 'GatewayModule', '9.2', '10498', 'wmp_rh_generic_report', 'GatewayModule_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -32, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -32, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -32, 'wmp_user' ); --type 'Hierarchy' insert into wmp_types (type_name, image_name,display_name) values ( 'Hierarchy', null, '10245' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 97, 'Hierarchy', '9.2', 'NA', 'select hierarchy_name from ALL_IV_DIM_HIERARCHIES@# where hierarchy_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 98, 'Hierarchy', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_DIM_HIERARCHIES@# where hierarchy_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 99, 'Hierarchy', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(d.dimension_name, ''10229'', ''Dimension'', d.dimension_id) as e4, wmp_db.path_end_element(h.hierarchy_name, ''10245'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTE' || 'MS@# m, ALL_IV_DIMENSIONS@# d, ALL_IV_DIM_HIERARCHIES@# h where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = d.schema_id and d.dimension_id = h.dimension_id and h.hierarchy_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 100, 'Hierarchy', '9.2', 'CO', 'select l.level_name as "10281", lu.position as "^sortHidden", wmp_api_ui.image(''Level'',''S'') || '' '' || wmp_api_nls.get_string(''10103'') as "10312", wmp_db.view_element(''Level'', l.level_id) as "10208" from ALL_IV_DIM_HIERARCHY_LEVELS@# lu, ALL_IV_DIM_LEVELS@# l where lu.hierarchy_id = :id and lu.level_id = l.level_id order by 2 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 101, 'Hierarchy', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 102, 'Hierarchy', '9.2', 'PR', 'select hierarchy_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", hierarchy_prefix as "10439", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_DIM_HIERARCHIES@# h where h.hierarchy_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 97, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 97, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 97, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 98, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 98, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 98, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 99, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 99, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 99, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 100, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 100, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 100, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 101, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 101, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 101, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 102, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 102, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 102, 'wmp_user' ); --type 'Key' insert into wmp_types (type_name, image_name,display_name) values ( 'Key', null, '10098' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Key', 'KEY' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 139, 'Key', '9.2', 'NA', 'select key_name from ALL_IV_KEYS@# where key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 140, 'Key', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_KEYS@# where key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 141, 'Key', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.relation_name, ''10169'', ''Table'', t.relation_id) as e4, wmp_db.path_end_element(k.key_name, ''10098'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_' || 'IV_RELATIONS@# t, ALL_IV_KEYS@# k where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.relation_id = k.entity_id and t.relation_type = ''Table'' and k.key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) ' || 'as e3, wmp_db.path_element(t.table_name, ''10433'', ''ExternalTable'', t.table_id) as e4, wmp_db.path_end_element(k.key_name, ''10098'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_EXTERNAL_TABLES@# t, ALL_IV_KEYS@# k where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.schema_id and t.table_id = k.entity_id and k.key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as' || ' e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(d.dimension_name, ''10229'', ''Dimension'', d.dimension_id) as e4, wmp_db.path_end_element(k.key_name, ''10098'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_DIMENSIONS@# d, ALL_IV_KEYS@# k where dblink_name = ''#'' and m.project_' || 'id = p.project_id and m.information_system_id = d.schema_id and d.dimension_id = k.entity_id and k.key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10319'', ''View'', v.view_id) as e4, wmp_db.path_end_element(k.' || 'key_name, ''10098'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_VIEWS@# v, ALL_IV_KEYS@# k where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = k.entity_id and k.key_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_' || 'name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(v.view_name, ''10114'', ''MaterializedView'', v.view_id) as e4, wmp_db.path_end_element(k.key_name, ''10098'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_MATERIALIZED_VIEWS@# v, ALL_IV_KEYS@# k where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = v.schema_id and v.view_id = k.entity_id and k.key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 142, 'Key', '9.2', 'CO', 'select c.column_name as "10281", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_KEY_COLUMN_USES@# c where c.key_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 143, 'Key', '9.2', 'RE', 'select fk.entity_name || ''.'' || fk.foreign_key_name as "10281", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10073'') as "10312", wmp_db.view_element(''ForeignKey'', fk.foreign_key_id) as "10208" from ALL_IV_FOREIGN_KEYS@# fk where fk.key_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 144, 'Key', '9.2', 'PR', 'select key_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_primary as "10585", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_KEYS@# where key_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 139, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 139, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 139, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 140, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 140, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 140, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 141, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 141, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 141, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 142, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 142, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 142, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 143, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 143, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 143, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 144, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 144, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 144, 'wmp_user' ); --type 'Level' insert into wmp_types (type_name, image_name,display_name) values ( 'Level', null, '10103' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Level', 'LEVEL' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 103, 'Level', '9.2', 'NA', 'select level_name from ALL_IV_DIM_LEVELS@# where level_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 104, 'Level', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_DIM_LEVELS@# where level_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 105, 'Level', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(d.dimension_name, ''10229'', ''Dimension'', d.dimension_id) as e4, wmp_db.path_end_element(l.level_name, ''10103'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@#' || ' m, ALL_IV_DIMENSIONS@# d, ALL_IV_DIM_LEVELS@# l where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = d.schema_id and d.dimension_id = l.dimension_id and l.level_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 106, 'Level', '9.2', 'CO', 'select la.attribute_name as "10281", wmp_api_ui.image(''LevelAttribute'',''S'') || '' '' || wmp_api_nls.get_string(''10257'') as "10312", wmp_db.view_element(''LevelAttribute'', la.attribute_id) as "10208" from ALL_IV_DIM_LEVEL_ATTRIBUTES@# la where la.level_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 107, 'Level', '9.2', 'RE', 'select h.hierarchy_name as "10281", wmp_api_ui.image(''Hierarchy'',''S'') || '' '' || wmp_api_nls.get_string(''10245'') as "10312", wmp_db.view_element(''Hierarchy'', h.hierarchy_id) as "10208" from ALL_IV_DIM_HIERARCHY_LEVELS@# lu, ALL_IV_DIM_HIERARCHIES@# h where lu.level_id = :id and lu.hierarchy_id = h.hierarchy_id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 108, 'Level', '9.2', 'PR', 'select level_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", level_prefix as "10440", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_DIM_LEVELS@# l where l.level_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 103, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 103, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 103, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 104, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 104, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 104, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 105, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 105, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 105, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 106, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 106, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 106, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 107, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 107, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 107, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 108, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 108, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 108, 'wmp_user' ); --type 'LevelAttribute' insert into wmp_types (type_name, image_name,display_name) values ( 'LevelAttribute', null, '10106' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 109, 'LevelAttribute', '9.2', 'NA', 'select attribute_name from ALL_IV_DIM_LEVEL_ATTRIBUTES@# where attribute_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 110, 'LevelAttribute', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_DIM_LEVEL_ATTRIBUTES@# where attribute_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 111, 'LevelAttribute', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(d.dimension_name, ''10229'', ''Dimension'', d.dimension_id) as e4, wmp_db.path_element(l.level_name, ''10103'', ''Level'', l.level_id) as e5, wmp_db.path_end_element(a.attribute_name, ''10002'') a' || 's e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_DIMENSIONS@# d, ALL_IV_DIM_LEVELS@# l, ALL_IV_DIM_LEVEL_ATTRIBUTES@# a where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = d.schema_id and d.dimension_id = l.dimension_id and l.level_id = a.level_id and a.attribute_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 112, 'LevelAttribute', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 113, 'LevelAttribute', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 114, 'LevelAttribute', '9.2', 'PR', 'select attribute_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10028", length as "10102", precision as "10140", scale as "10154", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_DIM_LEVEL_ATTRIBUTES@# a where a.attribute_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 109, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 109, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 109, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 110, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 110, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 110, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 111, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 111, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 111, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 112, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 112, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 112, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 113, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 113, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 113, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 114, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 114, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 114, 'wmp_user' ); --type 'Location' insert into wmp_types (type_name, image_name,display_name) values ( 'Location', null, '10435' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Location', 'LOGICAL_LOCATION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 73, 'Location', '9.2', 'NA', 'select location_name from ALL_IV_LOCATIONS@# where location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 74, 'Location', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_LOCATIONS@# where location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 75, 'Location', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(d.location_name, ''10435'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_LOCATIONS@# d where dblink_name = ''#'' and p.project_id=d.project_id and d.location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 76, 'Location', '9.2', 'CO', 'select decode(con.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| con.connector_name, con.connector_name) as "10281", wmp_api_nls.get_string(''10487'') as "^sortHidden", wmp_api_ui.image(''Connector'',''S'') || '' '' || wmp_api_nls.get_string(''10487'') as "10312", wmp_db.view_element(''Connector'', con.connector_id) as "10208" from ALL_IV_CONNECTORS@# con where con.location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 77, 'Location', '9.2', 'RE', 'select m.information_system_name as "10281", decode(m.information_system_type, ''DataWarehouse'', wmp_api_ui.image(''DataWarehouse'', ''S'')||'' ''||wmp_api_nls.get_string(''10466''), ''GatewayModule'', wmp_api_ui.image(''GatewayModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10472''), ''FileModule'', wmp_api_ui.image(''FileModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10467''), ''ProcessModule'', wmp_api_ui.image(''ProcessModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10468''), ''Packa' || 'gedModule'', wmp_api_ui.image(''PackagedModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10469''), ''MIVModule'', wmp_api_ui.image(''MIVModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10470''), ''XMLModule'', wmp_api_ui.image(''XMLModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10471'')) as "10312", wmp_db.view_element(m.information_system_type, m.information_system_id) as "10208" from ALL_IV_INFORMATION_SYSTEMS@# m where m.location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 78, 'Location', '9.2', 'PR', 'select location_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", location_target_type as "10436", location_target_version as "10318", application_type as "10437", system_type as "10438", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_LOCATIONS@# d where d.location_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 73, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 73, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 73, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 74, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 74, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 74, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 75, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 75, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 75, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 76, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 76, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 76, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 77, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 77, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 77, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 78, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 78, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 78, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -14, 'Location', '9.2', '10488', 'wmp_rh_generic_report', 'Location_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -14, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -14, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -14, 'wmp_user' ); --type 'MIVModule' insert into wmp_types (type_name, image_name,display_name) values ( 'MIVModule', null, '10470' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'MIVModule', 'MIV_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 37, 'MIVModule', '9.2', 'NA', 'select information_system_name from OWB_MIV_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 38, 'MIVModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_MIV_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 39, 'MIVModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, OWB_MIV_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 40, 'MIVModule', '9.2', 'CO', 'select decode(rel.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| rel.relation_name, rel.relation_name) as "10281", ''B'' as "^sortHidden", decode(rel.relation_type, ''Cube'', wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020''), ''Dimension'', wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229''), ''MaterializedView'', wmp_api_ui.image(''MaterializedView'',''S'') || '' '' || wmp_api_nls.get_string(''10114''), ''Sequence'', wmp' || '_api_ui.image(''Sequence'',''S'') || '' '' || wmp_api_nls.get_string(''10161''), ''Table'', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169''), ''View'', wmp_api_ui.image(''View'',''S'') || '' '' || wmp_api_nls.get_string(''10319''), ''AdvancedQueue'', wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432''), ''ExternalTable'', wmp_api_ui.image(''ExternalTable'',''S'') || '' '' || wmp_api_nls.get_string(''10433''))as "10312", wmp_db.vie' || 'w_element(rel.relation_type, rel.relation_id) as "10208" from ALL_IV_RELATIONS@# rel where rel.schema_id = :id UNION select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", ''A'' as "^sortHidden", wmp_api_ui.image_of_functionlibrary(function_library_type, ''S'') || '' '' || wmp_api_nls.get_string_of_functionlibrary(function_library_type) as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_i' || 'd) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null ' || 'and fn.schema_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 41, 'MIVModule', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from OWB_MIV_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 42, 'MIVModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_MIV_MODULES@# m where m.information_system_id = ' || ':id' ); insert into wmp_role_queries (query_id, role_name) values ( 37, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 37, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 37, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 38, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 38, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 38, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 39, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 39, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 39, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 40, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 40, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 40, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 41, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 41, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 41, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 42, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 42, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 42, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -30, 'MIVModule', '9.2', '10496', 'wmp_rh_generic_report', 'MIVModule_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -30, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -30, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -30, 'wmp_user' ); --type 'MaterializedView' insert into wmp_types (type_name, image_name,display_name) values ( 'MaterializedView', null, '10119' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'MaterializedView', 'MATERIALIZED_VIEW' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 223, 'MaterializedView', '9.2', 'NA', 'select view_name from ALL_IV_MATERIALIZED_VIEWS@# where view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 224, 'MaterializedView', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_MATERIALIZED_VIEWS@# where view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 225, 'MaterializedView', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(v.view_name, ''10114'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_MATERIALIZED_VIEWS@# v where dblink_name = ''#'' and m.project_id = p.project' || '_id and m.information_system_id = v.schema_id and v.view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 226, 'MaterializedView', '9.2', 'CO', 'select c.column_name as "10281", c.position || wmp_api_nls.get_string(''10010'') as "^sortHidden", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_COLUMNS@# c where c.entity_id = :id UNION select k.key_name as "10281", ''Key1'' as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string_of_key(k.is_primary) as "10312", wmp_db.view_element(''Key'', k.key_id) as' || ' "10208" from ALL_IV_KEYS@# k where k.entity_id = :id UNION select f.foreign_key_name as "10281", ''Key2'' as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', f.foreign_key_id) as "10208" from ALL_IV_FOREIGN_KEYS@# f where f.entity_id = :id UNION select c.constraint_name as "10281", ''Key3'' as "^sortHidden", wmp_api_ui.image(''CheckConstraint'',''S'') || '' '' || wmp_api_nls.get_string(''10586'') ' || 'as "10312", wmp_db.view_element(''CheckConstraint'', c.constraint_id) as "10208" from ALL_IV_CHECK_CONSTRAINTS@# c where c.relation_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 227, 'MaterializedView', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || ' || ''' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 228, 'MaterializedView', '9.2', 'PR', 'select view_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", query_text as "10584", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_MATERIALIZED_VIEWS@# v where v.view_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 223, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 223, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 223, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 224, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 224, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 224, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 225, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 225, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 225, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 226, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 226, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 226, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 227, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 227, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 227, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 228, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 228, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 228, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -65, 'MaterializedView', '9.2', '10041', 'wmp_rh_generic_report', 'MaterializedView_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -66, 'MaterializedView', '9.2', '10260', 'wmp_rh_generic_report', 'MaterializedView_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -67, 'MaterializedView', '9.2', '10089', 'wmp_rh_generic_report', 'MaterializedView_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -68, 'MaterializedView', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -69, 'MaterializedView', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -65, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -66, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -67, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -68, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -69, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -65, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -66, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -67, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -68, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -69, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -65, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -66, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -67, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -68, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -69, 'wmp_user' ); --type 'ObjectType' insert into wmp_types (type_name, image_name,display_name) values ( 'ObjectType', null, '10479' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ObjectType', 'OBJECT_TYPE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 301, 'ObjectType', '9.2', 'NA', 'select object_type_name from ALL_IV_OBJECT_TYPES@# where object_type_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 302, 'ObjectType', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_OBJECT_TYPES@# where object_type_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 303, 'ObjectType', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, null as e5, wmp_db.path_end_element(ot.object_type_name, ''10479'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_OBJECT_TYPES@# ot where dblink_name = ''#'' a' || 'nd m.project_id = p.project_id and m.information_system_id = ot.schema_id and ot.object_type_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4,' || ' wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(ot.object_type_name, ''10479'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn, ALL_IV_OBJECT_TYPES@# ot where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = ot.fold' || 'er_id and ot.object_type_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(ot.object_type_name, ''10479'') as e6 from WMP_REPOSIT' || 'ORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTIONS@# fn, ALL_IV_OBJECT_TYPES@# ot where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = ot.folder_id and ot.object_type_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 304, 'ObjectType', '9.2', 'CO', 'select fd.recordfield_name as "10281", wmp_api_ui.image(''Field'',''S'') || '' '' || wmp_api_nls.get_string(''10582'') as "10312", wmp_db.view_element(''RecordField'', fd.recordfield_id) as "10208" from ALL_IV_RECORD_FIELDS@# fd where fd.firstclass_object_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 305, 'ObjectType', '9.2', 'RE', 'select q.queue_name as "10281", wmp_api_nls.get_string(''10065'') as "^sortHidden", wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432'') as "10312", wmp_db.view_element(''AdvancedQueue'', q.queue_id) as "10208" from ALL_IV_ADVANCED_QUEUES@# q where q.load_type_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 306, 'ObjectType', '9.2', 'PR', 'select object_type_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", type as "10480", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_OBJECT_TYPES@# ot where ot.object_type_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 301, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 301, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 301, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 302, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 302, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 302, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 303, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 303, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 303, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 304, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 304, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 304, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 305, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 305, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 305, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 306, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 306, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 306, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -17, 'ObjectType', '9.2', '10598', 'wmp_rh_generic_report', 'ObjectType_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -17, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -17, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -17, 'wmp_user' ); --type 'PLSCollection' insert into wmp_types (type_name, image_name,display_name) values ( 'PLSCollection', null, '10476' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'PLSCollection', 'PLS_COLLECTION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 277, 'PLSCollection', '9.2', 'NA', 'select collection_name from OWB_PLS_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 278, 'PLSCollection', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_PLS_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 279, 'PLSCollection', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(col.collection_name, ''10476'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p,' || ' ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, OWB_PLS_COLLECTIONS@# col where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = col.library_id and col.collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 280, 'PLSCollection', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 281, 'PLSCollection', '9.2', 'RE', 'select pr.record_name as "10281", wmp_api_ui.image(''PLSRecord'',''S'') || '' '' || wmp_api_nls.get_string(''10475'') as "10312", wmp_db.view_element(''PLSRecord'', pr.record_id) as "10208" from OWB_PLS_RECORDS@# pr, OWB_PLS_COLLECTIONS@# col where col.related_record_id = pr.record_id and col.collection_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 282, 'PLSCollection', '9.2', 'PR', 'select collection_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", collection_type as "10486", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_PLS_COLLECTIONS@# col where col.collection_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 277, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 277, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 277, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 278, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 278, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 278, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 279, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 279, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 279, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 280, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 280, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 280, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 281, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 281, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 281, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 282, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 282, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 282, 'wmp_user' ); --type 'PLSRecord' insert into wmp_types (type_name, image_name,display_name) values ( 'PLSRecord', null, '10475' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'PLSRecord', 'PLS_RECORD' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 271, 'PLSRecord', '9.2', 'NA', 'select record_name from OWB_PLS_RECORDS@# where record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 272, 'PLSRecord', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_PLS_RECORDS@# where record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 273, 'PLSRecord', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(rt.record_name, ''10475'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_' || 'IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, OWB_PLS_RECORDS@# rt where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = rt.library_id and rt.record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 274, 'PLSRecord', '9.2', 'CO', 'select fd.recordfield_name as "10281", wmp_api_ui.image(''Field'',''S'') || '' '' || wmp_api_nls.get_string(''10582'') as "10312", wmp_db.view_element(''RecordField'', fd.recordfield_id) as "10208" from ALL_IV_RECORD_FIELDS@# fd where fd.relation_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 275, 'PLSRecord', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 276, 'PLSRecord', '9.2', 'PR', 'select record_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_PLS_RECORDS@# rt where rt.record_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 271, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 271, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 271, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 272, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 272, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 272, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 273, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 273, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 273, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 274, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 274, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 274, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 275, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 275, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 275, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 276, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 276, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 276, 'wmp_user' ); --type 'PackagedModule' insert into wmp_types (type_name, image_name,display_name) values ( 'PackagedModule', null, '10469' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'PackagedModule', 'PACKAGED_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 25, 'PackagedModule', '9.2', 'NA', 'select information_system_name from ALL_IV_PACKAGED_APPS_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 26, 'PackagedModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PACKAGED_APPS_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 27, 'PackagedModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PACKAGED_APPS_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 28, 'PackagedModule', '9.2', 'CO', 'select decode(rel.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| rel.relation_name, rel.relation_name) as "10281", ''B'' as "^sortHidden", decode(rel.relation_type, ''Cube'', wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020''), ''Dimension'', wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229''), ''MaterializedView'', wmp_api_ui.image(''MaterializedView'',''S'') || '' '' || wmp_api_nls.get_string(''10114''), ''Sequence'', wmp' || '_api_ui.image(''Sequence'',''S'') || '' '' || wmp_api_nls.get_string(''10161''), ''Table'', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169''), ''View'', wmp_api_ui.image(''View'',''S'') || '' '' || wmp_api_nls.get_string(''10319''), ''AdvancedQueue'', wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432''), ''ExternalTable'', wmp_api_ui.image(''ExternalTable'',''S'') || '' '' || wmp_api_nls.get_string(''10433''))as "10312", wmp_db.vie' || 'w_element(rel.relation_type, rel.relation_id) as "10208" from ALL_IV_RELATIONS@# rel where rel.schema_id = :id UNION select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", ''A'' as "^sortHidden", wmp_api_ui.image_of_functionlibrary(function_library_type, ''S'') || '' '' || wmp_api_nls.get_string_of_functionlibrary(function_library_type) as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_i' || 'd) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null ' || 'and fn.schema_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 29, 'PackagedModule', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from ALL_IV_PACKAGED_APPS_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 30, 'PackagedModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PACKAGED_APPS_MODULES@# m where m.information' || '_system_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 25, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 25, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 25, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 26, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 26, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 26, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 27, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 27, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 27, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 28, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 28, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 28, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 29, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 29, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 29, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 30, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 30, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 30, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -24, 'PackagedModule', '9.2', '10494', 'wmp_rh_generic_report', 'PackagedModule_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -25, 'PackagedModule', '9.2', '10163', 'wmp_rh_generic_report', 'Sequence_Summary2' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -26, 'PackagedModule', '9.2', '10172', 'wmp_rh_generic_report', 'Table_Summary2' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -27, 'PackagedModule', '9.2', '10201', 'wmp_rh_generic_report', 'View_Summary2' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -28, 'PackagedModule', '9.2', '10490', 'wmp_rh_generic_report', 'ExternalTable_Summary2' ); insert into wmp_role_reports (report_id, role_name) values ( -24, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -25, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -26, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -27, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -28, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -24, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -25, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -26, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -27, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -28, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -24, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -25, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -26, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -27, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -28, 'wmp_user' ); --type 'PreDefinedModule' insert into wmp_types (type_name, image_name,display_name) values ( 'PreDefinedModule', null, '10429' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'PreDefinedModule', 'PREDEFINED_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 31, 'PreDefinedModule', '9.2', 'NA', 'select information_system_name from ALL_IV_PREDEFINED_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 32, 'PreDefinedModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PREDEFINED_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 33, 'PreDefinedModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_end_element(m.information_system_name, ''10123'') as e2 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PREDEFINED_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 34, 'PreDefinedModule', '9.2', 'CO', 'select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", wmp_api_nls.get_string(''10240'') as "^sortHidden", wmp_api_ui.image(''FunctionLibrary'',''S'') || '' '' || wmp_api_nls.get_string(''10240'') as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_id) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.imag' || 'e(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null and fn.schema_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 35, 'PreDefinedModule', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 36, 'PreDefinedModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PREDEFINED_MODULES@# m where m.information_sy' || 'stem_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 31, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 31, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 31, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 32, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 32, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 32, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 33, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 33, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 33, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 34, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 34, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 34, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 35, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 35, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 35, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 36, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 36, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 36, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -29, 'PreDefinedModule', '9.2', '10495', 'wmp_rh_generic_report', 'PreDefinedModule_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -29, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -29, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -29, 'wmp_user' ); --type 'Process' insert into wmp_types (type_name, image_name,display_name) values ( 'Process', null, '10450' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Process', 'PROCESS' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 169, 'Process', '9.2', 'NA', 'select process_name from ALL_IV_PROCESSES@# where process_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 170, 'Process', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESSES@# where process_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 171, 'Process', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_element(p.package_name, ''10434'', ''ProcessPackage'', p.package_id) as e4, wmp_db.path_end_element(pro.process_name, ''10450'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL' || '_IV_PACKAGES@# p, ALL_IV_PROCESSES@# pro where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = p.schema_id and p.package_id = pro.package_id and pro.process_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 172, 'Process', '9.2', 'CO', 'select a.activity_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image_of_activity(a.activity_type,''S'') || '' '' || wmp_api_nls.get_string_of_activity(a.activity_type) as "10312", wmp_db.view_element(''ProcessActivity'', a.activity_id) as "10208" from ALL_IV_PROCESS_ACTIVITIES@# a where a.process_id = :id UNION select v.variable_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image(''ProcessVariable'',''S'') || '' '' || wmp_api_nls.get_string(''10453'') as "10312", wmp_db.view_element' || '(''ProcessVariable'', v.variable_id) as "10208" from ALL_IV_PROCESS_VARIABLES@# v where v.process_id = :id UNION select pa.parameter_name as "10281", ''C'' as "^sortHidden", wmp_api_ui.image(''ProcessParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10454'') as "10312", wmp_db.view_element(''ProcessParameter'', pa.parameter_id) as "10208" from ALL_IV_PROCESS_PARAMETERS@# pa where pa.parameter_owner_id = :id and pa.direction = ''IN'' UNION select pt.transition_name as "10281", ''D'' as "^so' || 'rtHidden", wmp_api_ui.image(''ProcessTransition'',''S'') || '' '' || wmp_api_nls.get_string(''10455'')||'' (''||pt.source_activity_name||'' -> ''||pt.target_activity_name||'')'' as "10312", wmp_db.view_element(''ProcessTransition'', pt.transition_id) as "10208" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.process_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 173, 'Process', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 174, 'Process', '9.2', 'PR', 'select process_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", bound_object_name as "10456", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESSES@# p where p.process_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 169, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 169, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 169, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 170, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 170, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 170, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 171, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 171, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 171, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 172, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 172, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 172, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 173, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 173, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 173, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 174, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 174, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 174, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -97, 'Process', '9.2', '10503', 'wmp_rh_generic_report', 'Process_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -97, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -97, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -97, 'wmp_user' ); --type 'ProcessActivity' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessActivity', null, '10452' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessActivity', 'PROCESS_ACTIVITY' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 175, 'ProcessActivity', '9.2', 'NA', 'select activity_name from ALL_IV_PROCESS_ACTIVITIES@# where activity_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 176, 'ProcessActivity', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESS_ACTIVITIES@# where activity_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 177, 'ProcessActivity', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_element(p.package_name, ''10434'', ''ProcessPackage'', p.package_id) as e4, wmp_db.path_element(pro.process_name, ''10450'', ''Process'', pro.process_id) as e5, wmp_db.path_end_element(pa.activity_name, ''10452''' || ') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL_IV_PACKAGES@# p, ALL_IV_PROCESSES@# pro, ALL_IV_PROCESS_ACTIVITIES@# pa where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = p.schema_id and p.package_id = pro.package_id and pro.process_id = pa.process_id and pa.activity_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 178, 'ProcessActivity', '9.2', 'CO', 'select pa.parameter_name as "10281", wmp_api_ui.image(''ProcessParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10454'') as "10312", wmp_db.view_element(''ProcessParameter'', pa.parameter_id) as "10208" from ALL_IV_PROCESS_PARAMETERS@# pa where pa.parameter_owner_id = :id and pa.direction = ''IN'' order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 179, 'ProcessActivity', '9.2', 'RE', 'select i.collection_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || m.map_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image(''TransformMap'',''S'') || '' '' || wmp_api_nls.get_string(''10179'')' || ' as "10312", wmp_db.view_element(''TransformMap'', m.map_id) as "10208" from ALL_IV_PROCESS_ACTIVITIES@# a, ALL_IV_XFORM_MAPS@# m where a.activity_id = :id and a.bound_object_id = m.map_id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || f.function_name as "10281", ''C'' as "^sortHidden", wmp_api_ui.image_of_function(f.function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(f.function_type) as "10312", wmp_db.view_element(''Function'', f.function_id) as "10208" fr' || 'om ALL_IV_PROCESS_ACTIVITIES@# a, ALL_IV_FUNCTIONS@# f where a.activity_id = :id and a.bound_object_id = f.function_id UNION select ''('' || wmp_api_nls.get_string(''10457'') || '') '' || p.parent_process_name as "10281", ''D'' as "^sortHidden", wmp_api_ui.image(''Process'',''S'') || '' '' || wmp_api_nls.get_string(''10450'') as "10312", wmp_db.view_element(''Process'', p.parent_process_id) as "10208" from ALL_IV_PROCESSES@# p where p.process_id = :id and p.parent_process_id != 0 UNION select ''' || '('' || wmp_api_nls.get_string(''10623'') || '') '' || pt.transition_name as "10281", ''E'' as "^sortHidden", wmp_api_ui.image(''ProcessTransition'',''S'') || '' '' || wmp_api_nls.get_string(''10455'') as "10312", wmp_db.view_element(''ProcessTransition'', pt.transition_id) as "10208" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.target_activity_id = :id UNION select ''('' || wmp_api_nls.get_string(''10624'') || '') '' || pt.transition_name as "10281", ''F'' as "^sortHidden", wmp_api_ui.image(''P' || 'rocessTransition'',''S'') || '' '' || wmp_api_nls.get_string(''10455'') as "10312", wmp_db.view_element(''ProcessTransition'', pt.transition_id) as "10208" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.source_activity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 180, 'ProcessActivity', '9.2', 'PR', 'select activity_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", bound_object_name as "10456", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESS_ACTIVITIES@# p where p.activity_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 175, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 175, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 175, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 176, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 176, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 176, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 177, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 177, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 177, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 178, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 178, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 178, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 179, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 179, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 179, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 180, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 180, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 180, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -98, 'ProcessActivity', '9.2', '10504', 'wmp_rh_generic_report', 'ProcessActivity_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -98, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -98, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -98, 'wmp_user' ); --type 'ProcessModule' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessModule', null, '10468' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessModule', 'PROCESS_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 19, 'ProcessModule', '9.2', 'NA', 'select information_system_name from ALL_IV_PROCESS_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 20, 'ProcessModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESS_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 21, 'ProcessModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 22, 'ProcessModule', '9.2', 'CO', 'select decode(p.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| p.package_name, p.package_name) as "10281", wmp_api_ui.image(''Package'',''S'') || '' '' || wmp_api_nls.get_string(''10434'') as "10312", wmp_db.view_element(''Package'', p.package_id) as "10208" from ALL_IV_PACKAGES@# p where p.schema_id = :id order by 1 ASC, 2 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 23, 'ProcessModule', '9.2', 'RE', 'select s.location_name as "10281", wmp_api_ui.image(''Location'',''S'') || '' '' || wmp_api_nls.get_string(''10526'') as "10312", wmp_db.view_element(''Location'', s.location_id) as "10208" from ALL_IV_PROCESS_MODULES@# s where s.information_system_id = :id and s.location_id is not null' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 24, 'ProcessModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESS_MODULES@# m where m.information_syste' || 'm_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 19, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 19, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 19, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 20, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 20, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 20, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 21, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 21, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 21, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 22, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 22, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 22, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 23, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 23, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 23, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 24, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 24, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 24, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -22, 'ProcessModule', '9.2', '10492', 'wmp_rh_generic_report', 'ProcessModule_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -23, 'ProcessModule', '9.2', '10493', 'wmp_rh_generic_report', 'ProcessPackage_Summary' ); insert into wmp_role_reports (report_id, role_name) values ( -22, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -23, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -22, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -23, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -22, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -23, 'wmp_user' ); --type 'ProcessPackage' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessPackage', null, '10434' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessPackage', 'PROCESS_PACKAGE' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessPackage', 'PACKAGE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 163, 'ProcessPackage', '9.2', 'NA', 'select package_name from ALL_IV_PACKAGES@# where package_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 164, 'ProcessPackage', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PACKAGES@# where package_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 165, 'ProcessPackage', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_end_element(p.package_name, ''10434'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL_IV_PACKAGES@# p where dblink_name = ''#'' and m.project_id = p.project_id and m.informati' || 'on_system_id = p.schema_id and p.package_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 166, 'ProcessPackage', '9.2', 'CO', 'select decode(p.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| p.process_name, p.process_name) as "10281", wmp_api_ui.image(''Process'',''S'') || '' '' || wmp_api_nls.get_string(''10450'') as "10312", wmp_db.view_element(''Process'', p.process_id) as "10208" from ALL_IV_PROCESSES@# p where p.package_id = :id and p.parent_process_id = 0 order by 1 ASC, 2 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 167, 'ProcessPackage', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 168, 'ProcessPackage', '9.2', 'PR', 'select package_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PACKAGES@# p where p.package_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 163, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 163, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 163, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 164, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 164, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 164, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 165, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 165, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 165, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 166, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 166, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 166, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 167, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 167, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 167, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 168, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 168, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 168, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -96, 'ProcessPackage', '9.2', '10502', 'wmp_rh_generic_report', 'ProcessPackage_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -96, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -96, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -96, 'wmp_user' ); --type 'ProcessParameter' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessParameter', null, '10461' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessParameter', 'PROCESS_PARAMETER' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 187, 'ProcessParameter', '9.2', 'NA', 'select parameter_name from ALL_IV_PROCESS_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 188, 'ProcessParameter', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESS_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 189, 'ProcessParameter', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_element(p.package_name, ''10434'', ''ProcessPackage'', p.package_id) as e4, wmp_db.path_element(pro.process_name, ''10450'', ''Process'', pro.process_id) as e5, wmp_db.path_element(pa.activity_name, ''10452'', ''' || 'ProcessActivity'', pa.activity_id) as e6, wmp_db.path_end_element(pv.parameter_name, ''10461'') as e7 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL_IV_PACKAGES@# p, ALL_IV_PROCESSES@# pro, ALL_IV_PROCESS_ACTIVITIES@# pa, ALL_IV_PROCESS_PARAMETERS@# pv where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = p.schema_id and p.package_id = pro.package_id and pro.process_id = pa.process_id and pa.activity_id = pv.parameter_owner_id and ' || 'pv.parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 190, 'ProcessParameter', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 191, 'ProcessParameter', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 192, 'ProcessParameter', '9.2', 'PR', 'select parameter_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10458", default_value as "10196", direction as "10519", is_final as "10460", bounddata_name as "10573", bounddata_type as "10574", bounddata_value as "10575", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESS_PARAMETERS@# p where p.parameter_id = :i' || 'd' ); insert into wmp_role_queries (query_id, role_name) values ( 187, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 187, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 187, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 188, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 188, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 188, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 189, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 189, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 189, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 190, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 190, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 190, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 191, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 191, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 191, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 192, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 192, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 192, 'wmp_user' ); --type 'ProcessTransition' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessTransition', null, '10572' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessTransition', 'PROCESS_TRANSITION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 193, 'ProcessTransition', '9.2', 'NA', 'select transition_name from ALL_IV_PROCESS_TRANSITIONS@# where transition_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 194, 'ProcessTransition', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESS_TRANSITIONS@# where transition_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 195, 'ProcessTransition', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_element(p.package_name, ''10434'', ''ProcessPackage'', p.package_id) as e4, wmp_db.path_element(pro.process_name, ''10450'', ''Process'', pro.process_id) as e5, wmp_db.path_end_element(pt.transition_name, ''10572' || ''') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL_IV_PACKAGES@# p, ALL_IV_PROCESSES@# pro, ALL_IV_PROCESS_TRANSITIONS@# pt where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = p.schema_id and p.package_id = pro.package_id and pro.process_id = pt.process_id and pt.transition_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 196, 'ProcessTransition', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 197, 'ProcessTransition', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select ''('' || wmp_api_nls.get_string(''10464'') || '') '' || pt.source_activity_name as "10281", wmp_api_nls.get_string(''10572'') as "^sortHidden", wmp_api_ui.image(' || '''ProcessActivity'',''S'') || '' '' || wmp_api_nls.get_string(''10452'') as "10312", wmp_db.view_element(''ProcessActivity'', pt.source_activity_id) as "10208" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.transition_id = :id UNION select ''('' || wmp_api_nls.get_string(''10465'') || '') '' || pt.target_activity_name as "10281", wmp_api_nls.get_string(''10572'') as "^sortHidden", wmp_api_ui.image(''ProcessActivity'',''S'') || '' '' || wmp_api_nls.get_string(''10452'') as "10312", wmp_db.view_ele' || 'ment(''ProcessActivity'', pt.target_activity_id) as "10208" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.transition_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 198, 'ProcessTransition', '9.2', 'PR', 'select transition_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", condition as "10568", transition_order as "10569", source_activity_name as "10570", target_activity_name as "10571", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESS_TRANSITIONS@# pt where pt.transition_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 193, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 193, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 193, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 194, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 194, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 194, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 195, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 195, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 195, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 196, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 196, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 196, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 197, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 197, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 197, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 198, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 198, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 198, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -99, 'ProcessTransition', '9.2', '10505', 'wmp_rh_generic_report', 'ProcessTransition_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -99, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -99, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -99, 'wmp_user' ); --type 'ProcessVariable' insert into wmp_types (type_name, image_name,display_name) values ( 'ProcessVariable', null, '10453' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'ProcessVariable', 'PROCESS_VARIABLE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 181, 'ProcessVariable', '9.2', 'NA', 'select variable_name from ALL_IV_PROCESS_VARIABLES@# where variable_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 182, 'ProcessVariable', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROCESS_VARIABLES@# where variable_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 183, 'ProcessVariable', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''ProcessModule'', m.information_system_id) as e3, wmp_db.path_element(p.package_name, ''10434'', ''ProcessPackage'', p.package_id) as e4, wmp_db.path_element(pro.process_name, ''10450'', ''Process'', pro.process_id) as e5, wmp_db.path_end_element(pv.variable_name, ''10453''' || ') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_PROCESS_MODULES@# m, ALL_IV_PACKAGES@# p, ALL_IV_PROCESSES@# pro, ALL_IV_PROCESS_VARIABLES@# pv where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = p.schema_id and p.package_id = pro.package_id and pro.process_id = pv.process_id and pv.variable_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 184, 'ProcessVariable', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 185, 'ProcessVariable', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 186, 'ProcessVariable', '9.2', 'PR', 'select variable_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", position as "10139", data_type as "10458", default_value as "10459", is_final as "10460", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROCESS_VARIABLES@# p where p.variable_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 181, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 181, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 181, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 182, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 182, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 182, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 183, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 183, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 183, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 184, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 184, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 184, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 185, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 185, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 185, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 186, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 186, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 186, 'wmp_user' ); --type 'Project' insert into wmp_types (type_name, image_name,display_name) values ( 'Project', null, '10285' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 7, 'Project', '9.2', 'NA', 'select project_name from ALL_IV_PROJECTS@# where project_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 8, 'Project', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_PROJECTS@# where project_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 9, 'Project', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_end_element(p.project_name, ''10285'') as e2 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p where dblink_name = ''#'' and p.project_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 10, 'Project', '9.2', 'CO', 'select decode(m.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| m.information_system_name, m.information_system_name) as "10281", ''E'' as "^sortHidden", decode(m.information_system_name, ''Public Transformation Library'', wmp_api_ui.image(''PreDefinedModule'',''S'') || '' '' || wmp_api_nls.get_string(''10590''), ''Pre-Defined Transformation Library'', wmp_api_ui.image(''PreDefinedModule'',''S'') || '' '' || wmp_api_nls.get_string(''10589'')) as "10312", wmp_db.view_element(''PreDef' || 'inedModule'', m.information_system_id) as "10208" from ALL_IV_PREDEFINED_MODULES@# m Where m.project_id != :id UNION select decode(m.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| m.information_system_name, m.information_system_name) as "10281", ''D'' as "^sortHidden", decode(m.information_system_type, ''DataWarehouse'', wmp_api_ui.image(''DataWarehouse'', ''S'')||'' ''||wmp_api_nls.get_string(''10466''), ''GatewayModule'', wmp_api_ui.image(''GatewayModule'', ''S'')||'' ''||wmp_api' || '_nls.get_string(''10472''), ''FileModule'', wmp_api_ui.image(''FileModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10467''), ''ProcessModule'', wmp_api_ui.image(''ProcessModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10468''), ''PackagedModule'', wmp_api_ui.image(''PackagedModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10469''), ''MIVModule'', wmp_api_ui.image(''MIVModule'', ''S'')||'' ''||wmp_api_nls.get_string(''10470''), ''XMLModule'', wmp_api_ui.image(''XMLModule'', ''S'')||'' ''||wm' || 'p_api_nls.get_string(''10471'')) as "10312", wmp_db.view_element(m.information_system_type, m.information_system_id) as "10208" from ALL_IV_INFORMATION_SYSTEMS@# m where m.project_id = :id and m.information_system_type not like ''IntelligenceModule'' UNION select i.collection_name as "10281", ''A'' as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTIO' || 'NS@# i where i.project_id = :id UNION select i.location_name as "10281", ''B'' as "^sortHidden", wmp_api_ui.image_of_location(i.location_target_type,''S'') || '' '' || wmp_api_nls.get_string_of_location(i.location_target_type) as "10312", wmp_db.view_element(''Location'', i.location_id) as "10208" from ALL_IV_LOCATIONS@# i where i.project_id = :id UNION select decode(i.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| i.location_name, i.location_name) as "10281", ''C'' as "^sortHidden' || '", wmp_api_ui.image(''RuntimeLocation'',''S'') || '' '' || wmp_api_nls.get_string(''10578'') as "10312", wmp_db.view_element(''RuntimeLocation'', i.location_id) as "10208" from ALL_IV_RUNTIME_REPOSITORIES@# i where i.project_id = :id order by 2 ASC, 3 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 11, 'Project', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 12, 'Project', '9.2', 'PR', 'select project_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", ''Project'' as "10312", version_label as "10198", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_PROJECTS@# p where p.project_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 7, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 7, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 7, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 8, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 8, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 8, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 9, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 9, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 9, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 10, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 10, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 10, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 11, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 11, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 11, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 12, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 12, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 12, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -70, 'Project', '9.2', '10043', 'wmp_rh_generic_report', 'Project_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -70, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -70, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -70, 'wmp_user' ); --type 'Record' insert into wmp_types (type_name, image_name,display_name) values ( 'Record', null, '10144' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Record', 'RECORD' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 241, 'Record', '9.2', 'NA', 'select record_name from ALL_IV_RECORDS@# where record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 242, 'Record', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_RECORDS@# where record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 243, 'Record', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', ''FileModule'', m.information_system_id) as e3, wmp_db.path_element(f.file_name, ''10065'', ''File'', f.file_id) as e4, wmp_db.path_end_element(rc.record_name, ''10144'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_FILE_MODULES@# m, ALL_IV_FILES@# f, ALL_IV_RE' || 'CORDS@# rc where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = f.information_system_id and f.file_id = rc.file_id and rc.record_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 244, 'Record', '9.2', 'CO', 'select f.field_name as "10281", wmp_api_ui.image(''Field'',''S'') || '' '' || wmp_api_nls.get_string(''10063'') as "10312", wmp_db.view_element(''Field'', f.field_id) as "10208" from ALL_IV_FIELDS@# f where f.record_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 245, 'Record', '9.2', 'RE', 'select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 246, 'Record', '9.2', 'PR', 'select record_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_RECORDS@# v where v.record_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 241, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 241, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 241, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 242, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 242, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 242, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 243, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 243, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 243, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 244, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 244, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 244, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 245, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 245, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 245, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 246, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 246, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 246, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -71, 'Record', '9.2', '10044', 'wmp_rh_generic_report', 'Record_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -71, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -71, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -71, 'wmp_user' ); --type 'RecordField' insert into wmp_types (type_name, image_name,display_name) values ( 'RecordField', null, '10582' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'RecordField', 'RECORD_FIELD' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 307, 'RecordField', '9.2', 'NA', 'select recordfield_name from ALL_IV_RECORD_FIELDS@# where recordfield_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 308, 'RecordField', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_RECORD_FIELDS@# where recordfield_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 309, 'RecordField', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(ot.object_type_name, ''10479'', ''ObjectType'', ot.object_type_id) as e5, wmp_db.path_end_element(fd.recordfield_name, ''10582'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, AL' || 'L_IV_INFORMATION_SYSTEMS@# m, ALL_IV_OBJECT_TYPES@# ot, ALL_IV_RECORD_FIELDS@# fd where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = ot.folder_id and ot.object_type_id = fd.firstclass_object_id and fd.recordfield_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.informat' || 'ion_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_element(prec.record_name, ''10475'', ''PLSRecord'', prec.record_id) as e5, wmp_db.path_end_element(fd.recordfield_name, ''10582'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, OWB_PLS_RECORDS@# prec, ALL_IV_RECORD_FIELDS@# fd where dblink_name = ''#'' and m.p' || 'roject_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = prec.library_id and prec.record_id = fd.relation_id and fd.recordfield_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 310, 'RecordField', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 311, 'RecordField', '9.2', 'RE', 'select p.map_name||''.''||p.map_component_name||''.''||p.parameter_type || '' : '' || p.parameter_name as "10281", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_RECORD_FIELDS@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_ADVANCED_QUEUES@# q, ALL_IV_XFORM_MAP_COMPONENTS@# m where p.parameter_name = c.recordfield_name and p.map_compone' || 'nt_id = m.map_component_id and m.data_entity_id = q.queue_id and q.load_type_id = c.firstclass_object_id and c.recordfield_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 312, 'RecordField', '9.2', 'PR', 'select recordfield_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", datatype as "10480", position as "10139", length as "10102", precision as "10140", scale as "10154", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_RECORD_FIELDS@# where recordfield_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 307, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 307, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 307, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 308, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 308, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 308, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 309, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 309, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 309, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 310, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 310, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 310, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 311, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 311, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 311, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 312, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 312, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 312, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -18, 'RecordField', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -19, 'RecordField', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -18, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -19, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -18, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -19, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -18, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -19, 'wmp_user' ); --type 'Repository' insert into wmp_types (type_name, image_name,display_name) values ( 'Repository', null, '10300' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 1, 'Repository', '9.2', 'NA', 'select name from WMP_REPOSITORIES where dblink_name = ''#''' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 2, 'Repository', '9.2', 'DE', 'select description from WMP_REPOSITORIES where dblink_name = ''#''' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 3, 'Repository', '9.2', 'PA', 'select wmp_db.path_end_element(name, ''10300'') as e1 from WMP_REPOSITORIES where dblink_name = ''#''' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 4, 'Repository', '9.2', 'CO', 'select p.project_name as "10281", wmp_api_ui.image(''Project'',''S'') || '' '' || wmp_api_nls.get_string(''10285'') as "10312", wmp_db.view_element(''Project'', p.project_id) as "10208" from ALL_IV_PROJECTS@# p where p.project_name != ''Admin Project'' and p.project_name != ''Global Shared'' order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 5, 'Repository', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 6, 'Repository', '9.2', 'PR', 'select r.name as "10329", r.host_name as "10085", i.installation_id as "10093", i.installation_name as "10094", decode('':mls_lang'', '':base_lang'', i.business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10006", i.installed_version as "10253", i.release as "10293", i.repository_model_version as "10330", i.public_view_version as "10143", i.created_on as "10331", i.updated_on as "10407", i.created_by as "10430", i.updated_by as "10431" from ALL_IV_INSTALLATIONS@# i, WMP_REPO' || 'SITORIES r where dblink_name = ''#''' ); insert into wmp_role_queries (query_id, role_name) values ( 1, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 1, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 1, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 2, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 2, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 2, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 3, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 3, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 3, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 4, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 4, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 4, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 5, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 5, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 5, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 6, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 6, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 6, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -72, 'Repository', '9.2', '10045', 'wmp_rh_generic_report', 'Repository' ); insert into wmp_role_reports (report_id, role_name) values ( -72, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -72, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -72, 'wmp_user' ); --type 'RowType' insert into wmp_types (type_name, image_name,display_name) values ( 'RowType', null, '10474' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'RowType', 'PLS_ROWTYPE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 265, 'RowType', '9.2', 'NA', 'select rowtype_name from OWB_PLS_ROWTYPES@# where rowtype_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 266, 'RowType', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_PLS_ROWTYPES@# where rowtype_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 267, 'RowType', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(rt.rowtype_name, ''10473'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL' || '_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, OWB_PLS_ROWTYPES@# rt where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = rt.library_id and rt.rowtype_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 268, 'RowType', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 269, 'RowType', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 270, 'RowType', '9.2', 'PR', 'select rowtype_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", rowtype_type as "10483", entity_name as "10484", entity_type as "10485", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_PLS_ROWTYPES@# rt where rt.rowtype_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 265, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 265, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 265, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 266, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 266, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 266, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 267, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 267, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 267, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 268, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 268, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 268, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 269, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 269, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 269, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 270, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 270, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 270, 'wmp_user' ); --type 'RuntimeLocation' insert into wmp_types (type_name, image_name,display_name) values ( 'RuntimeLocation', null, '10578' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'RuntimeLocation', 'RUNTIME_LOCATION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 79, 'RuntimeLocation', '9.2', 'NA', 'select location_name from ALL_IV_RUNTIME_REPOSITORIES@# where location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 80, 'RuntimeLocation', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_RUNTIME_REPOSITORIES@# where location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 81, 'RuntimeLocation', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(d.location_name, ''10435'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_RUNTIME_REPOSITORIES@# d where dblink_name = ''#'' and p.project_id=d.project_id and d.location_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 82, 'RuntimeLocation', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 83, 'RuntimeLocation', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 84, 'RuntimeLocation', '9.2', 'PR', 'select location_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", location_type as "10436", application_type as "10437", system_type as "10438", host as "10251", service_name as "10226", port as "10248", username as "10317", schema as "10400", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_RUNTIME_REPOSITORIES@# d where d.location_id' || ' = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 79, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 79, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 79, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 80, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 80, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 80, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 81, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 81, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 81, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 82, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 82, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 82, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 83, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 83, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 83, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 84, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 84, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 84, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -16, 'RuntimeLocation', '9.2', '10579', 'wmp_rh_generic_report', 'RuntimeLocation_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -16, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -16, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -16, 'wmp_user' ); --type 'SQLCollection' insert into wmp_types (type_name, image_name,display_name) values ( 'SQLCollection', null, '10478' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'SQLCollection', 'SQL_COLLECTION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 295, 'SQLCollection', '9.2', 'NA', 'select collection_name from OWB_SQL_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 296, 'SQLCollection', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_SQL_COLLECTIONS@# where collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 297, 'SQLCollection', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_eleme' || 'nt(col.collection_name, ''10478'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_FUNCTIONS@# fn, OWB_SQL_COLLECTIONS@# col where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = col.folder_id and col.collection_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.RE' || 'POSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_element(fn.function_name, ''10239'', ''Function'', fn.function_id) as e5, wmp_db.path_end_element(col.collection_name, ''10478'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTIONS@# fn, OWB_SQL_COLLECTIONS@#' || ' col where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = col.folder_id and col.collection_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 298, 'SQLCollection', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 299, 'SQLCollection', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 300, 'SQLCollection', '9.2', 'PR', 'select collection_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_SQL_COLLECTIONS@# col where col.collection_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 295, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 295, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 295, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 296, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 296, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 296, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 297, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 297, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 297, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 298, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 298, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 298, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 299, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 299, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 299, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 300, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 300, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 300, 'wmp_user' ); --type 'Sequence' insert into wmp_types (type_name, image_name,display_name) values ( 'Sequence', null, '10161' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Sequence', 'SEQUENCE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 229, 'Sequence', '9.2', 'NA', 'select sequence_name from ALL_IV_SEQUENCES@# where sequence_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 230, 'Sequence', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_SEQUENCES@# where sequence_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 231, 'Sequence', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(s.sequence_name, ''10161'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_SEQUENCES@# s where dblink_name = ''#'' and m.project_id = p.project_id a' || 'nd m.information_system_id = s.schema_id and s.sequence_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 232, 'Sequence', '9.2', 'CO', 'select c.column_name as "10281", c.position as "^sortHidden", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_COLUMNS@# c where c.entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 233, 'Sequence', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || ' || ''' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 234, 'Sequence', '9.2', 'PR', 'select sequence_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_SEQUENCES@# s where s.sequence_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 229, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 229, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 229, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 230, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 230, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 230, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 231, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 231, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 231, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 232, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 232, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 232, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 233, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 233, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 233, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 234, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 234, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 234, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -73, 'Sequence', '9.2', '10046', 'wmp_rh_generic_report', 'Sequence_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -74, 'Sequence', '9.2', '10089', 'wmp_rh_generic_report', 'Sequence_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -75, 'Sequence', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -73, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -74, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -75, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -73, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -74, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -75, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -73, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -74, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -75, 'wmp_user' ); --type 'Table' insert into wmp_types (type_name, image_name,display_name) values ( 'Table', null, '10169' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'Table', 'TABLE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 115, 'Table', '9.2', 'NA', 'select table_name from ALL_IV_TABLES@# where table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 116, 'Table', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_TABLES@# where table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 117, 'Table', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(t.table_name, ''10169'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_TABLES@# t where dblink_name = ''#'' and m.project_id = p.project_id and m.i' || 'nformation_system_id = t.schema_id and t.table_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 118, 'Table', '9.2', 'CO', 'select c.column_name as "10281", c.position || wmp_api_nls.get_string(''10010'') as "^sortHidden", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_COLUMNS@# c where c.entity_id = :id UNION select k.key_name as "10281", ''Key1'' as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string_of_key(k.is_primary) as "10312", wmp_db.view_element(''Key'', k.key_id) as' || ' "10208" from ALL_IV_KEYS@# k where k.entity_id = :id UNION select f.foreign_key_name as "10281", ''Key2'' as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', f.foreign_key_id) as "10208" from ALL_IV_FOREIGN_KEYS@# f where f.entity_id = :id UNION select c.constraint_name as "10281", ''Key3'' as "^sortHidden", wmp_api_ui.image(''CheckConstraint'',''S'') || '' '' || wmp_api_nls.get_string(''10586'') ' || 'as "10312", wmp_db.view_element(''CheckConstraint'', c.constraint_id) as "10208" from ALL_IV_CHECK_CONSTRAINTS@# c where c.relation_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 119, 'Table', '9.2', 'RE', 'select ''(0-1) '' || t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden", wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_KEYS@# k, ALL_IV_TABLES@# t where fk.entity_id = :id and fk.key_id = k.key_id and k.entity_id = t.table_id UNION select ''(0-*) '' || t.table_name as "10281", wmp_api_nls.get_string(''10169'') as "^sortHidden", wmp_api' || '_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169'') as "10312", wmp_db.view_element(''Table'', t.table_id) as "10208" from ALL_IV_KEYS@# k, ALL_IV_FOREIGN_KEYS@# fk, ALL_IV_TABLES@# t where k.entity_id = :id and fk.key_id = k.key_id and fk.entity_id = t.table_id UNION select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Co' || 'llection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select d.dimension_name as "10281", wmp_api_nls.get_string(''10229'') as "^sortHidden", wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229'') as "10312", wmp_db.view_element(''Dimension'', d.dimension_id) as "10208" from ALL_IV_DIMENSIONS@# d where d.dimension_id = :id UNION select c.cube_name as "10281", wmp_api_nls.get_string(''10020'') as "^so' || 'rtHidden", wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020'') as "10312", wmp_db.view_element(''Cube'', c.cube_id) as "10208" from ALL_IV_CUBES@# c where c.cube_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", ''UMapping'' as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFOR' || 'M_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 120, 'Table', '9.2', 'PR', 'select table_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_TABLES@# t where t.table_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 115, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 115, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 115, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 116, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 116, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 116, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 117, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 117, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 117, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 118, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 118, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 118, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 119, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 119, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 119, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 120, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 120, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 120, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -76, 'Table', '9.2', '10047', 'wmp_rh_generic_report', 'Table_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -77, 'Table', '9.2', '10260', 'wmp_rh_generic_report', 'Table_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -78, 'Table', '9.2', '10089', 'wmp_rh_generic_report', 'Table_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -79, 'Table', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -80, 'Table', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -76, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -77, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -78, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -79, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -80, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -76, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -77, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -78, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -79, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -80, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -76, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -77, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -78, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -79, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -80, 'wmp_user' ); --type 'TableFunction' insert into wmp_types (type_name, image_name,display_name) values ( 'TableFunction', null, '10477' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TableFunction', 'TABLE_FUNCTION' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 289, 'TableFunction', '9.2', 'NA', 'select function_name from ALL_IV_TABLE_FUNCTIONS@# where function_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 290, 'TableFunction', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_TABLE_FUNCTIONS@# where function_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 291, 'TableFunction', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(fl.function_library_name, ''10240'', ''FunctionLibrary'', fl.function_library_id) as e4, wmp_db.path_end_element(fn.function_name, ''10239'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, AL' || 'L_IV_INFORMATION_SYSTEMS@# m, ALL_IV_FUNCTION_LIBRARIES@# fl, ALL_IV_TABLE_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fl.information_system_id and fl.function_library_id = fn.function_library_id and fn.function_id = :id UNION select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ' || '''10123'', m.information_system_type, m.information_system_id) as e3, null as e4, wmp_db.path_end_element(fn.function_name, ''10239'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_TABLE_FUNCTIONS@# fn where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = fn.schema_id and fn.function_library_id is null and fn.function_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 292, 'TableFunction', '9.2', 'CO', 'select par.parameter_type || '' : '' || par.parameter_name as "10281", ''aPar'' as "^sortHidden", wmp_api_ui.image(''FunctionParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10241'') as "10312", wmp_db.view_element(''FunctionParameter'', par.parameter_id) as "10208" from ALL_IV_FUNCTION_PARAMETERS@# par where par.function_id = :id UNION select par.collection_name as "10281", ''bcol'' as "^sortHidden", wmp_api_ui.image(''SQLCollection'',''S'') || '' '' || wmp_api_nls.get_string(''10478'') ' || 'as "10312", wmp_db.view_element(''SQLCollection'', par.collection_id) as "10208" from OWB_SQL_COLLECTIONS@# par where par.folder_id = :id UNION select par.object_type_name as "10281", ''ccol'' as "^sortHidden", wmp_api_ui.image(''ObjectType'',''S'') || '' '' || wmp_api_nls.get_string(''10479'') as "10312", wmp_db.view_element(''ObjectType'', par.object_type_id) as "10208" from ALL_IV_OBJECT_TYPES@# par where par.folder_id = :id UNION select im.function_implementation_name as "10281", ''dImpl'' a' || 's "^sortHidden", wmp_api_ui.image(''FunctionImplementation'',''S'') || '' '' || wmp_api_nls.get_string(''10074'') as "10312", wmp_db.view_element(''FunctionImplementation'', im.function_implementation_id) as "10208" from ALL_IV_FUNCTION_IMPLS@# im where im.function_id = :id order by 2 asc, 1 asc' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 293, 'TableFunction', '9.2', 'RE', 'select c.map_name || ''.'' || c.map_component_name as "10281", ''UMapping'' as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || '' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 294, 'TableFunction', '9.2', 'PR', 'select function_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", signature as "10166", function_type as "10327", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_TABLE_FUNCTIONS@# fn where fn.function_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 289, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 289, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 289, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 290, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 290, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 290, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 291, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 291, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 291, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 292, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 292, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 292, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 293, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 293, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 293, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 294, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 294, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 294, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -60, 'TableFunction', '9.2', '10500', 'wmp_rh_generic_report', 'TableFunction_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -60, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -60, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -60, 'wmp_user' ); --type 'TransformMap' insert into wmp_types (type_name, image_name,display_name) values ( 'TransformMap', null, '10185' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TransformMap', 'TRANSFORM_MAP' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 325, 'TransformMap', '9.2', 'NA', 'select map_name from ALL_IV_XFORM_MAPS@# where map_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 326, 'TransformMap', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_XFORM_MAPS@# where map_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 327, 'TransformMap', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(t.map_name, ''10179'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_XFORM_MAPS@# t where dblink_name = ''#'' and m.project_id = p.project_id and m' || '.information_system_id = t.information_system_id and t.map_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 328, 'TransformMap', '9.2', 'CO', 'select c.map_component_name as "10281", wmp_api_ui.image(c.operator_type, ''S'')||'' ''||wmp_api_nls.get_string_of_operator(c.operator_type) as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.map_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 329, 'TransformMap', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 330, 'TransformMap', '9.2', 'PR', 'select map_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_XFORM_MAPS@# t where t.map_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 325, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 325, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 325, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 326, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 326, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 326, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 327, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 327, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 327, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 328, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 328, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 328, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 329, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 329, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 329, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 330, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 330, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 330, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -86, 'TransformMap', '9.2', '10048', 'wmp_rh_generic_report', 'TransformMap_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -86, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -86, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -86, 'wmp_user' ); --type 'TransformMapComponent' insert into wmp_types (type_name, image_name,display_name) values ( 'TransformMapComponent', null, '10186' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TransformMapComponent', 'TRANSFORM_MAP_COMPONENT' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 331, 'TransformMapComponent', '9.2', 'NA', 'select map_component_name from ALL_IV_XFORM_MAP_COMPONENTS@# where map_component_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 332, 'TransformMapComponent', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_XFORM_MAP_COMPONENTS@# where map_component_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 333, 'TransformMapComponent', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.map_name, ''10179'', ''TransformMap'', t.map_id) as e4, wmp_db.path_end_element(c.map_component_name, ''10180'') as e5 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# ' || 'm, ALL_IV_XFORM_MAPS@# t, ALL_IV_XFORM_MAP_COMPONENTS@# c where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.information_system_id and t.map_id = c.map_id and c.map_component_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 334, 'TransformMapComponent', '9.2', 'CO', 'select p.parameter_type || '' : '' || p.parameter_name as "10281", wmp_api_nls.get_string(''10332'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponentParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10332'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', p.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p where p.map_component_id = :id UNION select p.property_name as "10281", wmp_api_nls.get_string(''10333'') as "^sortHidden", wmp_api_ui.image(''T' || 'ransformMapComponentProperty'',''S'') || '' '' || wmp_api_nls.get_string(''10333'') as "10312", wmp_db.view_element(''TransformMapComponentProperty'', p.property_id) as "10208" from ALL_IV_XFORM_MAP_PROPERTIES@# p where p.map_component_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 335, 'TransformMapComponent', '9.2', 'RE', 'select ''('' || wmp_api_nls.get_string(''10424'') || '') '' || c.map_component_name as "10281", ''to'' as "^sortHidden", wmp_api_ui.image(c.operator_type, ''S'')||'' ''||wmp_api_nls.get_string_of_operator(c.operator_type) as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_PARAMETERS@# ia, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.map_component_id = :id and ia.source_parameter_id = p.parameter_id and c.map' || '_component_id=ia.map_component_id UNION select ''('' || wmp_api_nls.get_string(''10345'') || '') '' || c.map_component_name as "10281", ''from'' as "^sortHidden", wmp_api_ui.image(c.operator_type, ''S'')||'' ''||wmp_api_nls.get_string_of_operator(c.operator_type) as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_PARAMETERS@# ln, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.map_component_id = :id and p.sourc' || 'e_parameter_id =ln.parameter_id and c.map_component_id=ln.map_component_id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.data_entity_name as "10281", ''is'' as "^sortHidden", wmp_api_ui.image(wmp_db.n(c.data_entity_type) ,''S'') || '' '' || wmp_db.l(c.data_entity_type) as "10312", wmp_db.view_element(wmp_db.n(c.data_entity_type), c.data_entity_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.map_component_id = :id and c.data_entity_id is not null order by 2 AS' || 'C, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 336, 'TransformMapComponent', '9.2', 'PR', 'select map_component_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", operator_type as "10130", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.map_component_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 331, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 331, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 331, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 332, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 332, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 332, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 333, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 333, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 333, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 334, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 334, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 334, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 335, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 335, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 335, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 336, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 336, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 336, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -87, 'TransformMapComponent', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -88, 'TransformMapComponent', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -87, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -88, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -87, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -88, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -87, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -88, 'wmp_user' ); --type 'TransformMapComponentParameter' insert into wmp_types (type_name, image_name,display_name) values ( 'TransformMapComponentParameter', null, '10187' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TransformMapComponentParameter', 'TRANSFORM_MAP_COMPONENT_PARAMETER' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TransformMapComponentParameter', 'ARGUMENT' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 337, 'TransformMapComponentParameter', '9.2', 'NA', 'select parameter_name from ALL_IV_XFORM_MAP_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 338, 'TransformMapComponentParameter', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_XFORM_MAP_PARAMETERS@# where parameter_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 339, 'TransformMapComponentParameter', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.map_name, ''10178'', ''TransformMap'', t.map_id) as e4, wmp_db.path_element(c.map_component_name, ''10180'', ''TransformMapComponent'',c.map_component_id) as e5, wmp_db.path_end_element(pa.param' || 'eter_name, ''10181'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_XFORM_MAPS@# t, ALL_IV_XFORM_MAP_COMPONENTS@# c, ALL_IV_XFORM_MAP_PARAMETERS@# pa where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.information_system_id and t.map_id = c.map_id and c.map_component_id =pa.map_component_id and pa.parameter_id= :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 340, 'TransformMapComponentParameter', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 341, 'TransformMapComponentParameter', '9.2', 'RE', 'select ''('' || wmp_api_nls.get_string(''10424'') || '') '' || ia.map_component_name||''.''||ia.parameter_name as "10281", wmp_api_ui.image(''TransformMapComponentParameter'', ''S'')||'' ''||wmp_api_nls.get_string(''10181'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', ia.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_PARAMETERS@# ia, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.parameter_id = :id and ia.source_parameter_id = p.parameter_id and ' || 'c.map_component_id=ia.map_component_id UNION select ''('' || wmp_api_nls.get_string(''10345'') || '') '' || ln.map_component_name||''.''||ln.parameter_name as "10281", wmp_api_ui.image(''TransformMapComponentParameter'', ''S'')||'' ''||wmp_api_nls.get_string(''10181'') as "10312", wmp_db.view_element(''TransformMapComponentParameter'', ln.parameter_id) as "10208" from ALL_IV_XFORM_MAP_PARAMETERS@# p, ALL_IV_XFORM_MAP_PARAMETERS@# ln, ALL_IV_XFORM_MAP_COMPONENTS@# c where p.parameter_id = :id and' || ' p.source_parameter_id =ln.parameter_id and c.map_component_id=ln.map_component_id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.entity_name||''.''||c.column_name as "10281", wmp_api_ui.image(''Column'', ''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_COLUMNS@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = c.column_id and c.entity_type != ''EXTERNAL_TABLE'' and p.parameter_id' || ' = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.entity_name||''.''||c.column_name as "10281", wmp_api_ui.image(''Column'', ''S'') || '' '' || wmp_api_nls.get_string(''10445'') as "10312", wmp_db.view_element(''ExternalColumn'', c.column_id) as "10208" from ALL_IV_EXTERNAL_COLUMNS@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = c.column_id and p.parameter_id = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.cube_name ||''.''|| c' || '.measure_name as "10281", wmp_api_ui.image(''CubeMeasure'',''S'') || '' '' || wmp_api_nls.get_string(''10120'') as "10312", wmp_db.view_element(''CubeMeasure'', c.measure_id) as "10208" from ALL_IV_CUBE_MEASURES@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = c.measure_id and p.parameter_id = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.level_name ||''.''|| c.attribute_name as "10281", wmp_api_ui.image(''LevelAttribute'',''S'') || '' '' || wmp_api_nls.ge' || 't_string(''10257'') as "10312", wmp_db.view_element(''LevelAttribute'', c.attribute_id) as "10208" from ALL_IV_DIM_LEVEL_ATTRIBUTES@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = c.attribute_id and p.parameter_id = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.function_name ||''.''|| c.parameter_name as "10281", wmp_api_ui.image(''FunctionParameter'',''S'') || '' '' || wmp_api_nls.get_string(''10241'') as "10312", wmp_db.view_element(''FunctionParameter' || ''', c.parameter_id) as "10208" from ALL_IV_FUNCTION_PARAMETERS@# c, ALL_IV_XFORM_MAP_PARAMETERS@# p where p.data_item_id = c.parameter_id and p.parameter_id = :id UNION select ''('' || wmp_api_nls.get_string(''10451'') || '') '' || c.relation_name ||''.''|| c.recordfield_name as "10281", wmp_api_ui.image(''Field'',''S'') || '' '' || wmp_api_nls.get_string(''10582'') as "10312", wmp_db.view_element(''RecordField'', c.recordfield_id) as "10208" from ALL_IV_RECORD_FIELDS@# c, ALL_IV_XFORM_MAP_PARAM' || 'ETERS@# p, ALL_IV_ADVANCED_QUEUES@# q, ALL_IV_XFORM_MAP_COMPONENTS@# m where p.parameter_name = c.recordfield_name and p.map_component_id = m.map_component_id and m.data_entity_id = q.queue_id and q.load_type_id = c.firstclass_object_id and p.parameter_id = :id order by 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 342, 'TransformMapComponentParameter', '9.2', 'PR', 'select parameter_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", parameter_group_name as "10244", parameter_type as "10133", data_type as "10028", position as "10139", transformation_expression as "10057", created_on as "10331", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_XFORM_MAP_PARAMETERS@# p where p.parameter_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 337, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 337, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 337, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 338, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 338, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 338, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 339, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 339, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 339, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 340, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 340, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 340, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 341, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 341, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 341, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 342, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 342, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 342, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -89, 'TransformMapComponentParameter', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -90, 'TransformMapComponentParameter', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -89, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -90, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -89, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -90, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -89, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -90, 'wmp_user' ); --type 'TransformMapComponentProperty' insert into wmp_types (type_name, image_name,display_name) values ( 'TransformMapComponentProperty', null, '10188' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'TransformMapComponentProperty', 'TRANSFORM_MAP_COMPONENT_PROPERTY' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 343, 'TransformMapComponentProperty', '9.2', 'NA', 'select property_name from ALL_IV_XFORM_MAP_PROPERTIES@# where property_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 344, 'TransformMapComponentProperty', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_XFORM_MAP_PROPERTIES@# where property_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 345, 'TransformMapComponentProperty', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_element(t.map_name, ''10178'', ''TransformMap'', t.map_id) as e4, wmp_db.path_element(c.map_component_name, ''10180'', ''TransformMapComponent'', c.map_component_id) as e5, wmp_db.path_end_element(p.prope' || 'rty_name, ''10182'') as e6 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_XFORM_MAPS@# t, ALL_IV_XFORM_MAP_COMPONENTS@# c, ALL_IV_XFORM_MAP_PROPERTIES@# p where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = t.information_system_id and t.map_id = c.map_id and c.map_component_id = p.map_component_id and p.property_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 346, 'TransformMapComponentProperty', '9.2', 'CO', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 347, 'TransformMapComponentProperty', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 348, 'TransformMapComponentProperty', '9.2', 'PR', 'select property_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", map_component_name as "10328", property_group_name as "10244", property_value as "10288" from ALL_IV_XFORM_MAP_PROPERTIES@# p where p.property_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 343, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 343, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 343, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 344, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 344, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 344, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 345, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 345, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 345, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 346, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 346, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 346, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 347, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 347, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 347, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 348, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 348, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 348, 'wmp_user' ); --type 'View' insert into wmp_types (type_name, image_name,display_name) values ( 'View', null, '10335' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'View', 'VIEW' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 217, 'View', '9.2', 'NA', 'select view_name from ALL_IV_VIEWS@# where view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 218, 'View', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from ALL_IV_VIEWS@# where view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 219, 'View', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_element(m.information_system_name, ''10123'', m.information_system_type, m.information_system_id) as e3, wmp_db.path_end_element(v.view_name, ''10319'') as e4 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, ALL_IV_INFORMATION_SYSTEMS@# m, ALL_IV_VIEWS@# v where dblink_name = ''#'' and m.project_id = p.project_id and m.inf' || 'ormation_system_id = v.schema_id and v.view_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 220, 'View', '9.2', 'CO', 'select c.column_name as "10281", c.position || wmp_api_nls.get_string(''10010'') as "^sortHidden", wmp_api_ui.image(''Column'',''S'') || '' '' || wmp_api_nls.get_string(''10010'') as "10312", wmp_db.view_element(''Column'', c.column_id) as "10208" from ALL_IV_COLUMNS@# c where c.entity_id = :id UNION select k.key_name as "10281", ''Key1'' as "^sortHidden", wmp_api_ui.image(''Key'',''S'') || '' '' || wmp_api_nls.get_string_of_key(k.is_primary) as "10312", wmp_db.view_element(''Key'', k.key_id) as' || ' "10208" from ALL_IV_KEYS@# k where k.entity_id = :id UNION select f.foreign_key_name as "10281", ''Key2'' as "^sortHidden", wmp_api_ui.image(''ForeignKey'',''S'') || '' '' || wmp_api_nls.get_string(''10069'') as "10312", wmp_db.view_element(''ForeignKey'', f.foreign_key_id) as "10208" from ALL_IV_FOREIGN_KEYS@# f where f.entity_id = :id UNION select c.constraint_name as "10281", ''Key3'' as "^sortHidden", wmp_api_ui.image(''CheckConstraint'',''S'') || '' '' || wmp_api_nls.get_string(''10586'') ' || 'as "10312", wmp_db.view_element(''CheckConstraint'', c.constraint_id) as "10208" from ALL_IV_CHECK_CONSTRAINTS@# c where c.relation_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 221, 'View', '9.2', 'RE', 'select i.collection_name as "10281", wmp_api_nls.get_string(''10427'') as "^sortHidden", wmp_api_ui.image(''Collection'',''S'') || '' '' || wmp_api_nls.get_string(''10427'') as "10312", wmp_db.view_element(''Collection'', i.collection_id) as "10208" from ALL_IV_COLLECTION_REFERENCES@# i where i.collection_reference_id = :id UNION select c.map_name || ''.'' || c.map_component_name as "10281", wmp_api_nls.get_string(''10113'') as "^sortHidden", wmp_api_ui.image(''TransformMapComponent'',''S'') || ' || ''' '' || wmp_api_nls.get_string(''10180'') as "10312", wmp_db.view_element(''TransformMapComponent'', c.map_component_id) as "10208" from ALL_IV_XFORM_MAP_COMPONENTS@# c where c.data_entity_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 222, 'View', '9.2', 'PR', 'select view_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", query_text as "10584", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from ALL_IV_VIEWS@# v where v.view_id = :id' ); insert into wmp_role_queries (query_id, role_name) values ( 217, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 217, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 217, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 218, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 218, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 218, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 219, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 219, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 219, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 220, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 220, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 220, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 221, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 221, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 221, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 222, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 222, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 222, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -91, 'View', '9.2', '10049', 'wmp_rh_generic_report', 'View_Detail' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -92, 'View', '9.2', '10260', 'wmp_rh_generic_report', 'View_Lineage' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -93, 'View', '9.2', '10089', 'wmp_rh_generic_report', 'View_Impact' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -94, 'View', '9.2', '10088', 'wmp_rh_impact_analysis', 'Impact_Diagram' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -95, 'View', '9.2', '10110', 'wmp_rh_lineage', 'Lineage_Diagram' ); insert into wmp_role_reports (report_id, role_name) values ( -91, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -92, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -93, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -94, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -95, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -91, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -92, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -93, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -94, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -95, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -91, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -92, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -93, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -94, 'wmp_user' ); insert into wmp_role_reports (report_id, role_name) values ( -95, 'wmp_user' ); --type 'XMLModule' insert into wmp_types (type_name, image_name,display_name) values ( 'XMLModule', null, '10471' ); insert into wmp_type_aliases (type_name, alias_name) values ( 'XMLModule', 'XML_MODULE' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 43, 'XMLModule', '9.2', 'NA', 'select information_system_name from OWB_XML_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 44, 'XMLModule', '9.2', 'DE', 'select decode('':mls_lang'', '':base_lang'', description, wmp_api_repository.mls_description(''#'', :id, '':mls_lang'')) as c1 from OWB_XML_MODULES@# where information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 45, 'XMLModule', '9.2', 'PA', 'select wmp_db.path_element(r.name, ''10300'', ''Repository'', r.REPOSITORY_ID) as e1, wmp_db.path_element(p.project_name, ''10285'', ''Project'', p.project_id) as e2, wmp_db.path_end_element(m.information_system_name, ''10123'') as e3 from WMP_REPOSITORIES r, ALL_IV_PROJECTS@# p, OWB_XML_MODULES@# m where dblink_name = ''#'' and m.project_id = p.project_id and m.information_system_id = :id' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 46, 'XMLModule', '9.2', 'CO', 'select decode(rel.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| rel.relation_name, rel.relation_name) as "10281", ''B'' as "^sortHidden", decode(rel.relation_type, ''Cube'', wmp_api_ui.image(''Cube'',''S'') || '' '' || wmp_api_nls.get_string(''10020''), ''Dimension'', wmp_api_ui.image(''Dimension'',''S'') || '' '' || wmp_api_nls.get_string(''10229''), ''MaterializedView'', wmp_api_ui.image(''MaterializedView'',''S'') || '' '' || wmp_api_nls.get_string(''10114''), ''Sequence'', wmp' || '_api_ui.image(''Sequence'',''S'') || '' '' || wmp_api_nls.get_string(''10161''), ''Table'', wmp_api_ui.image(''Table'',''S'') || '' '' || wmp_api_nls.get_string(''10169''), ''View'', wmp_api_ui.image(''View'',''S'') || '' '' || wmp_api_nls.get_string(''10319''), ''AdvancedQueue'', wmp_api_ui.image(''AdvancedQueue'',''S'') || '' '' || wmp_api_nls.get_string(''10432''), ''ExternalTable'', wmp_api_ui.image(''ExternalTable'',''S'') || '' '' || wmp_api_nls.get_string(''10433''))as "10312", wmp_db.vie' || 'w_element(rel.relation_type, rel.relation_id) as "10208" from ALL_IV_RELATIONS@# rel where rel.schema_id = :id UNION select decode(fl.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fl.function_library_name, fl.function_library_name) as "10281", ''A'' as "^sortHidden", wmp_api_ui.image_of_functionlibrary(function_library_type, ''S'') || '' '' || wmp_api_nls.get_string_of_functionlibrary(function_library_type) as "10312", wmp_db.view_element(''FunctionLibrary'', fl.function_library_i' || 'd) as "10208" from ALL_IV_FUNCTION_LIBRARIES@# fl where fl.information_system_id = :id UNION select decode(fn.is_valid, ''N'', wmp_api_ui.image(''Error'', ''S'')||'' ''|| fn.function_name, fn.function_name) as "10281", function_type as "^sortHidden", wmp_api_ui.image_of_function(function_type,''S'') || '' '' || wmp_api_nls.get_string_of_function(function_type) as "10312", wmp_db.view_element(''Function'', fn.function_id) as "10208" from ALL_IV_FUNCTIONS@# fn where fn.function_library_id is null ' || 'and fn.schema_id = :id order by 2 ASC, 1 ASC' ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 47, 'XMLModule', '9.2', 'RE', null ); insert into wmp_queries (query_id, type_name, repository_version, usage, query_text) values ( 48, 'XMLModule', '9.2', 'PR', 'select information_system_name as "10281", decode('':mls_lang'', '':base_lang'', business_name, wmp_api_repository.mls_name(''#'', :id, '':mls_lang'')) as "10261", product_type as "10404", system_type as "10309", version_label as "10198", vendor as "10197", database_link as "10224", integrator_name as "10405", status as "10308", is_valid as "10402", created_on as "10406", updated_on as "10407", created_by as "10430", updated_by as "10431" from OWB_XML_MODULES@# m where m.information_system_id = ' || ':id' ); insert into wmp_role_queries (query_id, role_name) values ( 43, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 43, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 43, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 44, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 44, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 44, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 45, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 45, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 45, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 46, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 46, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 46, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 47, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 47, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 47, 'wmp_user' ); insert into wmp_role_queries (query_id, role_name) values ( 48, 'wmp_developer' ); insert into wmp_role_queries (query_id, role_name) values ( 48, 'wmp_qa_user' ); insert into wmp_role_queries (query_id, role_name) values ( 48, 'wmp_user' ); insert into wmp_reports (report_id, type_name, repository_version, report_display_name, report_helper, report_category) values ( -31, 'XMLModule', '9.2', '10497', 'wmp_rh_generic_report', 'XMLModule_Detail' ); insert into wmp_role_reports (report_id, role_name) values ( -31, 'wmp_developer' ); insert into wmp_role_reports (report_id, role_name) values ( -31, 'wmp_qa_user' ); insert into wmp_role_reports (report_id, role_name) values ( -31, 'wmp_user' ); end;