public abstract class AbstractBackendStorageDomainContentsResource<C extends BaseResources,R extends BaseResource,Q extends IVdcQueryable> extends AbstractBackendCollectionResource<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected Guid |
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 |
---|
AbstractBackendStorageDomainContentsResource(Guid storageDomainId,
Class<R> modelType,
Class<Q> entityType) |
Modifier and Type | Method and Description |
---|---|
List<R> |
getCollection() |
List<R> |
getCollection(StorageDomainType storageDomainType) |
protected Guid |
getDataCenterId(Action action) |
Guid |
getDataCenterId(Guid storageDomainId) |
protected abstract Collection<Q> |
getEntitiesFromDataDomain() |
protected abstract Collection<Q> |
getEntitiesFromExportDomain() |
storage_domains |
getStorageDomain() |
Guid |
getStorageDomainId() |
StorageDomain |
getStorageDomainModel() |
StorageDomainType |
getStorageDomainType() |
Guid |
getStoragePoolId(Action action) |
protected Guid |
lookupStorageDomainIdByName(String name) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, performRemove, remove, resolveCreated
addLinks, addLinks, addLinks, addLinks, addOrUpdateLink, addParents, 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
protected Guid storageDomainId
public Guid getStorageDomainId()
public storage_domains getStorageDomain()
public StorageDomainType getStorageDomainType()
public StorageDomain getStorageDomainModel()
public List<R> getCollection(StorageDomainType storageDomainType)
protected abstract Collection<Q> getEntitiesFromDataDomain()
protected abstract Collection<Q> getEntitiesFromExportDomain()
Copyright © 2012. All Rights Reserved.