Skip navigation links


oracle.iam.catalog.api
Interface MetaDataDefinitionManager


public interface MetaDataDefinitionManager

For handling all the information specific to metadata definition will be exposed

Since:
11.1.2.0.0

Method Summary
 Result addMetadata(MetaDataDefinition metadatasDataDefinition)
          Add metadata definition that will be applied to all the catalog Item.
 Result deleteMetadata(MetaDataDefinition metadatasDataDefinition)
          Delete metadataDefinition, this will dlete value from the CATALOG_EMTADAT_DATA first and then will dlete data from catalog_metadata
 java.util.Map getCollectionOfSortingColumnForCatalog()
          This will give the list of all the columns on which sorting can be applied for catalog search.
 java.util.List getMetadataForCatalogItem()
          To get what all metadata has been associated with Catalog items.
 Result updateMetadata(MetaDataDefinition metaDatasDataDefinitions)
          Update metadta fileds that will be applied to all the catalog items, irrespective of the Entity type.

 

Method Detail

updateMetadata

Result updateMetadata(MetaDataDefinition metaDatasDataDefinitions)
                      throws CatalogException
Update metadta fileds that will be applied to all the catalog items, irrespective of the Entity type.
Parameters:
metaDatasDataDefinitions - MetaDataDefinintion that needs to be updated.
Returns:
True as statusFlag value of result Attribute if the metadta has been successfully updated or false if not and then Message will contain the reason and Throwable will contain the real exception message
Throws:
CatalogException

addMetadata

Result addMetadata(MetaDataDefinition metadatasDataDefinition)
                   throws CatalogException
Add metadata definition that will be applied to all the catalog Item.
Parameters:
metadatasDataDefinitions - metadata Definition that has to be added and applied to all the Catalog Items
Returns:
List of result object if the metadata definition got added successfully id will be returned and successful flag will have value as true other wise successful flag will have value as false and Throwable will contain the actual exception.
Throws:
CatalogException

deleteMetadata

Result deleteMetadata(MetaDataDefinition metadatasDataDefinition)
                      throws CatalogException
Delete metadataDefinition, this will dlete value from the CATALOG_EMTADAT_DATA first and then will dlete data from catalog_metadata
Parameters:
metadatasDataDefinitions - metaDataDefinition that needs to be deleted.
Returns:
Result object will have true value for statusFlag if the deletion was successfull and false if the deleting is a failure and Throwable will contain the real exception
Throws:
CatalogException

getMetadataForCatalogItem

java.util.List getMetadataForCatalogItem()
                                         throws CatalogException
To get what all metadata has been associated with Catalog items. This will have OOTB Metadat as well as UDF metadata
Returns:
List of MetaDataDefinition object.
Throws:
CatalogException

getCollectionOfSortingColumnForCatalog

java.util.Map getCollectionOfSortingColumnForCatalog()
                                                     throws CatalogException
This will give the list of all the columns on which sorting can be applied for catalog search.
Returns:
Map where key is the backend column name and value is the display name of the column that can be displayed as LOV
Throws:
CatalogException

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.