public class BackendStorageDomainVmResource extends AbstractBackendStorageDomainContentResource<VMs,VM,VM> implements StorageDomainContentResource<VM>
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
parent
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendStorageDomainVmResource(BackendStorageDomainVmsResource parent,
String vmId) |
Modifier and Type | Method and Description |
---|---|
protected VM |
addParents(VM vm)
Add any parent resource references needed for constructing links.
|
javax.ws.rs.core.Response |
doImport(Action action) |
ActionResource |
getActionSubresource(String action,
String ids) |
protected VM |
getEntity() |
protected VM |
getFromDataDomain() |
get, getClusterId, getDestStorageDomainId, getFromExportDomain, getParent, lookupClusterById, lookupClusterByName, lookupClusterIdByName
actionAsync, actionFailure, actionStatus, actionSuccess, awaitGrace, doAction, expectBlocking, getHostId, getHostId, handleError
getEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdate
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
get
public BackendStorageDomainVmResource(BackendStorageDomainVmsResource parent, String vmId)
protected VM getFromDataDomain()
getFromDataDomain
in class AbstractBackendStorageDomainContentResource<VMs,VM,VM>
public javax.ws.rs.core.Response doImport(Action action)
doImport
in interface StorageDomainContentResource<VM>
public ActionResource getActionSubresource(String action, String ids)
getActionSubresource
in interface StorageDomainContentResource<VM>
getActionSubresource
in class AbstractBackendActionableResource<VM,VM>
protected VM addParents(VM vm)
AbstractBackendResource
addParents
in class AbstractBackendResource<VM,VM>
protected VM getEntity()
Copyright © 2012. All Rights Reserved.