public class BackendHostStorageResource extends AbstractBackendCollectionResource<Storage,LUNs> implements HostStorageResource
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
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 |
---|
BackendHostStorageResource(String hostId) |
Modifier and Type | Method and Description |
---|---|
protected Storage |
addParents(Storage storage)
Add any parent resource references needed for constructing links.
|
protected List<LUNs> |
getLogicalUnits() |
StorageResource |
getStorageSubResource(String id)
Sub-resource locator method, returns individual StorageResource on which the
remainder of the URI is dispatched.
|
protected List<storage_domains> |
getVolumeGroups() |
HostStorage |
list() |
protected Storage |
lookupStorage(String id) |
protected Storage |
map(storage_domains entity) |
protected javax.ws.rs.core.Response |
performRemove(String id) |
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
public BackendHostStorageResource(String hostId)
public HostStorage list()
list
in interface HostStorageResource
public StorageResource getStorageSubResource(String id)
HostStorageResource
getStorageSubResource
in interface HostStorageResource
id
- the storage IDprotected List<storage_domains> getVolumeGroups()
protected Storage map(storage_domains entity)
protected Storage addParents(Storage storage)
AbstractBackendResource
addParents
in class AbstractBackendResource<Storage,LUNs>
protected javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<Storage,LUNs>
Copyright © 2012. All Rights Reserved.