public interface CatalogApi
Catalog objects.CatalogAsyncApi| Modifier and Type | Method and Description |
|---|---|
CatalogItem |
addItem(String catalogUrn,
CatalogItem item)
Creates a catalog item in a catalog.
|
CatalogItem |
addItem(URI catalogHref,
CatalogItem item) |
CatalogItem |
editItem(String catalogItemUrn,
CatalogItem catalogItem)
Modifies a catalog item.
|
CatalogItem |
editItem(URI catalogItemHref,
CatalogItem catalogItem) |
Catalog |
get(String catalogUrn)
Retrieves a catalog.
|
Catalog |
get(URI catalogHref) |
CatalogItem |
getItem(String catalogItemUrn)
Retrieves a catalog item.
|
CatalogItem |
getItem(URI catalogItemHref) |
void |
removeItem(String catalogItemUrn)
Deletes a catalog item.
|
void |
removeItem(URI catalogItemHref) |
Catalog get(String catalogUrn)
GET /catalog/{id}
catalogUri - the reference for the catalogCatalogItem addItem(String catalogUrn, CatalogItem item)
POST /catalog/{id}/catalogItems
catalogUri - the URI of the catalogitem - the catalog item to addCatalogItem addItem(URI catalogHref, CatalogItem item)
CatalogItem getItem(String catalogItemUrn)
GET /catalogItem/{id}
catalogItemRef - the reference for the catalog itemCatalogItem getItem(URI catalogItemHref)
CatalogItem editItem(String catalogItemUrn, CatalogItem catalogItem)
PUT /catalogItem/{id}
catalogItemRef - the reference for the catalog itemcatalogItem - the catalog itemCatalogItem editItem(URI catalogItemHref, CatalogItem catalogItem)
void removeItem(String catalogItemUrn)
DELETE /catalogItem/{id}
catalogItemRef - the reference for the catalog itemvoid removeItem(URI catalogItemHref)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.