|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CatalogApi
Provides synchronous access to Catalog objects.
CatalogAsyncApi| Method Summary | |
|---|---|
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)
|
| Method Detail |
|---|
Catalog get(String catalogUrn)
GET /catalog/{id}
catalogUri - the reference for the catalog
Catalog get(URI catalogHref)
CatalogItem addItem(String catalogUrn,
CatalogItem item)
POST /catalog/{id}/catalogItems
catalogUri - the URI of the catalogitem - the catalog item to add
CatalogItem addItem(URI catalogHref,
CatalogItem item)
CatalogItem getItem(String catalogItemUrn)
GET /catalogItem/{id}
catalogItemRef - the reference for the catalog item
CatalogItem getItem(URI catalogItemHref)
CatalogItem editItem(String catalogItemUrn,
CatalogItem catalogItem)
PUT /catalogItem/{id}
catalogItemRef - the reference for the catalog itemcatalogItem - the catalog item
CatalogItem editItem(URI catalogItemHref,
CatalogItem catalogItem)
void removeItem(String catalogItemUrn)
DELETE /catalogItem/{id}
catalogItemRef - the reference for the catalog itemvoid removeItem(URI catalogItemHref)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||