public class BackendStorageDomainsResource extends AbstractBackendCollectionResource<StorageDomain,storage_domains> implements StorageDomainsResource
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 |
---|
BackendStorageDomainsResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
add(StorageDomain storageDomain) |
StorageDomainResource |
getStorageDomainSubResource(String id)
Sub-resource locator method, returns individual DataCenterResource on which the
remainder of the URI is dispatched.
|
StorageDomains |
list() |
protected LogicalUnit |
map(LUNs lun) |
protected StorageDomain |
map(storage_domains entity,
StorageDomain template) |
protected LogicalUnit |
map(storage_server_connections cnx,
LogicalUnit template) |
protected StorageType |
map(StorageType type) |
protected StorageType |
map(StorageType type) |
protected void |
mapNfsOrLocal(StorageDomain model,
storage_domains entity) |
protected storage_server_connections |
mapToCnx(StorageDomain model) |
protected storage_domain_static |
mapToStatic(StorageDomain model) |
protected void |
mapVolumeGroup(StorageDomain model,
storage_domains entity) |
protected javax.ws.rs.core.Response |
performRemove(String id) |
javax.ws.rs.core.Response |
remove(String id,
StorageDomain storageDomain) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, 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, 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 StorageDomains list()
list
in interface StorageDomainsResource
public StorageDomainResource getStorageDomainSubResource(String id)
StorageDomainsResource
getStorageDomainSubResource
in interface StorageDomainsResource
id
- the StorageDomain IDpublic javax.ws.rs.core.Response add(StorageDomain storageDomain)
add
in interface StorageDomainsResource
public javax.ws.rs.core.Response remove(String id, StorageDomain storageDomain)
remove
in interface StorageDomainsResource
protected storage_domain_static mapToStatic(StorageDomain model)
protected StorageDomain map(storage_domains entity, StorageDomain template)
map
in class AbstractBackendResource<StorageDomain,storage_domains>
protected void mapNfsOrLocal(StorageDomain model, storage_domains entity)
protected void mapVolumeGroup(StorageDomain model, storage_domains entity)
protected LogicalUnit map(LUNs lun)
protected LogicalUnit map(storage_server_connections cnx, LogicalUnit template)
protected StorageType map(StorageType type)
protected StorageType map(StorageType type)
protected storage_server_connections mapToCnx(StorageDomain model)
protected javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<StorageDomain,storage_domains>
Copyright © 2012. All Rights Reserved.