|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaDataDefinitionManager
For handling all the information specific to metadata definition will be exposed
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. |
java.util.List |
search(SearchCriteria searchCriteria) To get all metadata for a catalog with provided search criteria. |
Result |
updateMetadata(MetaDataDefinition metaDatasDataDefinitions) Update metadta fileds that will be applied to all the catalog items, irrespective of the Entity type. |
Method Detail |
---|
Result updateMetadata(MetaDataDefinition metaDatasDataDefinitions) throws CatalogException
metaDatasDataDefinitions
- MetaDataDefinintion that needs to be updated.CatalogException
Result addMetadata(MetaDataDefinition metadatasDataDefinition) throws CatalogException
metadatasDataDefinitions
- metadata Definition that has to be added and applied to all the Catalog ItemsCatalogException
Result deleteMetadata(MetaDataDefinition metadatasDataDefinition) throws CatalogException
metadatasDataDefinitions
- metaDataDefinition that needs to be deleted.CatalogException
java.util.List getMetadataForCatalogItem() throws CatalogException
CatalogException
java.util.Map getCollectionOfSortingColumnForCatalog() throws CatalogException
CatalogException
java.util.List search(SearchCriteria searchCriteria) throws CatalogException
SearchCriteria sc1 = new SearchCriteria("DISPLAY_NAME", "Test",SearchCriteria.Operator.EQUAL); SearchCriteria sc2 = new SearchCriteria("CERTIFIABLE", '1',SearchCriteria.Operator.EQUAL); SearchCriteria sc3 = new SearchCriteria(sc1, sc2,SearchCriteria.Operator.AND);
Sample code to get all metadata. SearchCriteria sc1 = new SearchCriteria("DISPLAY_NAME", "Test",SearchCriteria.Operator.EQUAL);
For OIM installed with Ldap based user store,now user can pass null as search criteria. At present Entity considered in this mode is Role. Only Searchable attributes of role will be returned by API. It will be OOTB column and UDF as well.searchCriteria
- Search CriteriaCatalogException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |