public class BackendAttachedStorageDomainsResource extends AbstractBackendCollectionResource<StorageDomain,storage_domains> implements AttachedStorageDomainsResource
Modifier and Type | Class and Description |
---|---|
protected class |
BackendAttachedStorageDomainsResource.StorageDomainIdResolver |
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected Guid |
dataCenterId |
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 |
---|
BackendAttachedStorageDomainsResource(String dataCenterId) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
add(StorageDomain storageDomain) |
protected StorageDomain |
addParents(StorageDomain storageDomain)
Add any parent resource references needed for constructing links.
|
AttachedStorageDomainResource |
getAttachedStorageDomainSubResource(String id) |
StorageDomains |
list() |
protected storage_domains |
lookupStorageDomainById(Guid storageDomainId) |
protected Guid |
lookupStorageDomainIdByName(String name) |
protected StorageDomain |
map(storage_domains entity,
StorageDomain template) |
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, 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
protected Guid dataCenterId
public BackendAttachedStorageDomainsResource(String dataCenterId)
public StorageDomains list()
list
in interface AttachedStorageDomainsResource
public AttachedStorageDomainResource getAttachedStorageDomainSubResource(String id)
getAttachedStorageDomainSubResource
in interface AttachedStorageDomainsResource
public javax.ws.rs.core.Response add(StorageDomain storageDomain)
add
in interface AttachedStorageDomainsResource
public javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<StorageDomain,storage_domains>
protected StorageDomain addParents(StorageDomain storageDomain)
AbstractBackendResource
addParents
in class AbstractBackendResource<StorageDomain,storage_domains>
protected storage_domains lookupStorageDomainById(Guid storageDomainId)
protected StorageDomain map(storage_domains entity, StorageDomain template)
map
in class AbstractBackendResource<StorageDomain,storage_domains>
Copyright © 2012. All Rights Reserved.