|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<T>
com.vmware.vcloud.sdk.VcloudEntity<com.vmware.vcloud.api.rest.schema.AdminCatalogType>
com.vmware.vcloud.sdk.admin.AdminCatalog
public class AdminCatalog
Helper class for Admin Catalog Resource in vCloud Admin API.
| Method Summary | |
|---|---|
CatalogItem |
addCatalogItem(com.vmware.vcloud.api.rest.schema.CatalogItemType catalogItemType)
Adding a catalogItem |
void |
changeOwner(com.vmware.vcloud.api.rest.schema.ReferenceType userReference)
Change Catalog owner. |
static void |
changeOwner(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef,
com.vmware.vcloud.api.rest.schema.ReferenceType userReference)
Change Catalog owner. |
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
createCatalogSelectorExtension(com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
Creates a Selector Extension for selector Catalog. |
void |
delete()
Delete Admin Catalog |
static void |
delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminCatalogRef)
Delete Admin Catalog |
void |
deleteCatalogSelectorExtensionById(String selectorExtensionId)
Deletes a Selector Extensions that is associated with this Catalog. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getAdminOrganizationReference()
Returns the Admin Organization reference. |
static AdminCatalog |
getCatalogById(VcloudClient client,
String vCloudId)
Get Admin Catalog helper using the vCloud ID |
static AdminCatalog |
getCatalogByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef)
Returns Catalog using the Catalog ReferenceType typically obtained from the Admin Organization. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getCatalogItemRefByName(String name)
Returns a catalog item reference for the given catalogitem name |
Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> |
getCatalogItemReferences()
Returns a collection of catalogItem references |
HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> |
getCatalogItemRefsByName()
Returns a hashmap of catalog item references by name |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getCatalogReference()
Returns the Catalog reference |
List<com.vmware.vcloud.api.rest.schema.SelectorExtensionType> |
getCatalogSelectorExtension()
Retrieves a list of Selector Extensions that are associated with this Catalog. |
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
getCatalogSelectorExtensionById(String selectorExtensionId)
Retrieves a Selector Extensions that is associated with this Catalog. |
com.vmware.vcloud.api.rest.schema.ReferenceType |
getOwner()
Returns the owner of the catalog. |
static com.vmware.vcloud.api.rest.schema.ReferenceType |
getOwner(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminCatalogRef)
Returns the owner of the catalog |
void |
publishCatalog(com.vmware.vcloud.api.rest.schema.PublishCatalogParamsType publishCatalogParamsType)
Publishing the Catalog |
void |
publishToExternalOrganizations(com.vmware.vcloud.api.rest.schema.PublishExternalCatalogParamsType publishExternalCatalogParams)
Publish a catalog to external organizations |
void |
subscribeToExternalCatalog(com.vmware.vcloud.api.rest.schema.ExternalCatalogSubscriptionParamsType externalCatalogSubscription)
Subscribe to an external catalog |
AdminCatalog |
updateAdminCatalog(com.vmware.vcloud.api.rest.schema.AdminCatalogType catalogType)
Updating the Admin Catalog |
com.vmware.vcloud.api.rest.schema.SelectorExtensionType |
updateCatalogSelectorExtensionById(String selectorExtensionId,
com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
Updates a Selector Extensions that is associated with this Catalog. |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudEntity |
|---|
getMetadata, getReference, getTasks |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudResource |
|---|
getResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public com.vmware.vcloud.api.rest.schema.ReferenceType getAdminOrganizationReference()
throws VCloudException
ReferenceType
VCloudException
public com.vmware.vcloud.api.rest.schema.ReferenceType getCatalogReference()
throws VCloudException
ReferenceType
VCloudException
public static AdminCatalog getCatalogByReference(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef)
throws VCloudException
client - vCloud API client VcloudClientcatalogRef - Catalog Ref ReferenceType
Catalog
VCloudException
public static AdminCatalog getCatalogById(VcloudClient client,
String vCloudId)
throws VCloudException
client - VcloudClientvCloudId - format - The vCloud ID is of the form: "urn:vcloud:type:uuid". For example:
"urn:vcloud:media:d9d976ba-e0ec-4682-a67d-380af49b54e1". String
AdminCatalog
VCloudException
public CatalogItem addCatalogItem(com.vmware.vcloud.api.rest.schema.CatalogItemType catalogItemType)
throws VCloudException
catalogItemType - CatalogItemType
VCloudException
public AdminCatalog updateAdminCatalog(com.vmware.vcloud.api.rest.schema.AdminCatalogType catalogType)
throws VCloudException
catalogType - AdminCatalogType
AdminCatalog
VCloudException
public void delete()
throws VCloudException
VCloudException
public static void delete(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminCatalogRef)
throws VCloudException
client - vCloud Client VcloudClientadminCatalogRef - Admin Catalog Ref
VCloudException
public void publishCatalog(com.vmware.vcloud.api.rest.schema.PublishCatalogParamsType publishCatalogParamsType)
throws VCloudException
publishCatalogParamsType - PublishCatalogParamsType
VCloudException
public com.vmware.vcloud.api.rest.schema.ReferenceType getOwner()
throws VCloudException
ReferenceType
VCloudException
public static com.vmware.vcloud.api.rest.schema.ReferenceType getOwner(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType adminCatalogRef)
throws VCloudException
client - - VcloudClientadminCatalogRef - - ReferenceType ReferenceType of the AdminCatalog.
ReferenceType
VCloudException
public static void changeOwner(VcloudClient client,
com.vmware.vcloud.api.rest.schema.ReferenceType catalogRef,
com.vmware.vcloud.api.rest.schema.ReferenceType userReference)
throws VCloudException
client - - VcloudClientcatalogRef - - ReferenceType Catalog ReferenceType contained in the organizationuserReference - - ReferenceType
VCloudException
public void changeOwner(com.vmware.vcloud.api.rest.schema.ReferenceType userReference)
throws VCloudException
userReference - ReferenceType
VCloudExceptionpublic HashMap<String,com.vmware.vcloud.api.rest.schema.ReferenceType> getCatalogItemRefsByName()
public com.vmware.vcloud.api.rest.schema.ReferenceType getCatalogItemRefByName(String name)
name - String
public Collection<com.vmware.vcloud.api.rest.schema.ReferenceType> getCatalogItemReferences()
public void publishToExternalOrganizations(com.vmware.vcloud.api.rest.schema.PublishExternalCatalogParamsType publishExternalCatalogParams)
throws VCloudException
publishExternalCatalogParams - PublishExternalCatalogParamsType
VCloudException
public void subscribeToExternalCatalog(com.vmware.vcloud.api.rest.schema.ExternalCatalogSubscriptionParamsType externalCatalogSubscription)
throws VCloudException
externalCatalogSubscription - ExternalCatalogSubscriptionParamsType
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType createCatalogSelectorExtension(com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
throws VCloudException
SelectorExtensionType -
SelectorExtensionType
VCloudException
public List<com.vmware.vcloud.api.rest.schema.SelectorExtensionType> getCatalogSelectorExtension()
throws VCloudException
List SelectorExtensionType
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType getCatalogSelectorExtensionById(String selectorExtensionId)
throws VCloudException
string - selectorExtensionId
SelectorExtensionType
VCloudException
public com.vmware.vcloud.api.rest.schema.SelectorExtensionType updateCatalogSelectorExtensionById(String selectorExtensionId,
com.vmware.vcloud.api.rest.schema.SelectorExtensionType selectorExtensionType)
throws VCloudException
SelectorExtensionType - SelectorExtensionTypeString - SelectorExtensionId
SelectorExtensionType
VCloudException
public void deleteCatalogSelectorExtensionById(String selectorExtensionId)
throws VCloudException
String - SelectorExtensionId
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||