|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CatalogClient
Provides access to Catalog functionality in vCloud
Method Summary | |
---|---|
CatalogItem |
addVAppTemplateOrMediaImageToCatalogAndNameItem(URI entity,
URI catalog,
String name,
CatalogItemOptions... options)
A catalog can contain references to vApp templates and media images that have been uploaded to any vDC in an organization. |
void |
deleteCatalogItem(URI href)
|
Catalog |
findCatalogInOrgNamed(String orgName,
String catalogName)
returns the catalog in the organization associated with the specified name. |
CatalogItem |
findCatalogItemInOrgCatalogNamed(String orgName,
String catalogName,
String itemName)
returns the catalog item in the catalog associated with the specified name. |
Catalog |
getCatalog(URI catalogId)
|
CatalogItem |
getCatalogItem(URI catalogItem)
|
Method Detail |
---|
Catalog getCatalog(URI catalogId)
Catalog findCatalogInOrgNamed(@Nullable String orgName, @Nullable String catalogName)
orgName
- organization name, or null for the defaultcatalogName
- catalog name, or null for the default
NoSuchElementException
- if you specified an org or catalog name that isn't presentCatalogItem getCatalogItem(URI catalogItem)
CatalogItem findCatalogItemInOrgCatalogNamed(@Nullable String orgName, @Nullable String catalogName, String itemName)
orgName
- organization name, or null for the defaultcatalogName
- catalog name, or null for the defaultitemName
- item you wish to lookup
NoSuchElementException
- if you specified an org, catalog, or catalog item name that isn't presentCatalogItem addVAppTemplateOrMediaImageToCatalogAndNameItem(URI entity, URI catalog, String name, CatalogItemOptions... options)
entity
- the reference to the vApp templates and media imagecatalog
- URI of the catalog to add the resourceEntity fromname
- name of the entry in the catalogoptions
- options such as description or properties
void deleteCatalogItem(URI href)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |