public class BackendStorageDomainVmsResource extends AbstractBackendStorageDomainContentsResource<VMs,VM,VM> implements RemovableStorageDomainContentsResource<VMs,VM>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
storageDomainId
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOG
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendStorageDomainVmsResource(Guid storageDomainId) |
Modifier and Type | Method and Description |
---|---|
protected VM |
addParents(VM vm)
Add any parent resource references needed for constructing links.
|
protected Collection<VM> |
getEntitiesFromDataDomain() |
protected Collection<VM> |
getEntitiesFromExportDomain() |
StorageDomainContentResource<VM> |
getStorageDomainContentSubResource(String id) |
VMs |
list() |
javax.ws.rs.core.Response |
performRemove(String id) |
getCollection, getCollection, getDataCenterId, getDataCenterId, getStorageDomain, getStorageDomainId, getStorageDomainModel, getStorageDomainType, getStoragePoolId, lookupStorageDomainIdByName
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreated
addLinks, addLinks, addLinks, addLinks, addOrUpdateLink, asCollection, asGuidOr404, asString, awaitCompletion, delay, entityNotFound, getAsynchronousStatus, getMapper, getMappingLocator, getQueryParams, incomplete, inject, injectSearchLinks, linkSubCollections, linkSubResource, map, map, map, map, newModel, notFound, notFound, populate, removeIfExist, setMappingLocator, urlEncode
doAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingAction
asCollection, asGuid, asGuid, combine, fault, getBackend, getCurrent, getEffectiveLocale, getHttpHeaders, getMessageBundle, getSessionHelper, getUriInfo, handleError, handleError, instantiate, localize, localize, localize, sessionize, sessionize, setBackend, setHttpHeaders, setMessageBundle, setSessionHelper, setUriInfo, validateEnum, validateParameters, validateParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
public BackendStorageDomainVmsResource(Guid storageDomainId)
public VMs list()
list
in interface StorageDomainContentsResource<VMs,VM>
protected VM addParents(VM vm)
AbstractBackendResource
addParents
in class AbstractBackendResource<VM,VM>
protected Collection<VM> getEntitiesFromDataDomain()
getEntitiesFromDataDomain
in class AbstractBackendStorageDomainContentsResource<VMs,VM,VM>
protected Collection<VM> getEntitiesFromExportDomain()
getEntitiesFromExportDomain
in class AbstractBackendStorageDomainContentsResource<VMs,VM,VM>
public StorageDomainContentResource<VM> getStorageDomainContentSubResource(String id)
getStorageDomainContentSubResource
in interface StorageDomainContentsResource<VMs,VM>
public javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<VM,VM>
Copyright © 2012. All Rights Reserved.