public class BackendAttachedStorageDomainResource extends AbstractBackendActionableResource<StorageDomain,storage_domains> implements AttachedStorageDomainResource
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected Guid |
dataCenterId |
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendAttachedStorageDomainResource(String id,
Guid dataCenterId) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
activate(Action action) |
protected StorageDomain |
addParents(StorageDomain storageDomain)
Add any parent resource references needed for constructing links.
|
javax.ws.rs.core.Response |
deactivate(Action action) |
StorageDomain |
get() |
ActionResource |
getActionSubresource(String action,
String ids) |
protected StorageDomain |
map(storage_domains entity,
StorageDomain template) |
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, 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 dataCenterId
public StorageDomain get()
get
in interface AttachedStorageDomainResource
public javax.ws.rs.core.Response activate(Action action)
activate
in interface AttachedStorageDomainResource
public javax.ws.rs.core.Response deactivate(Action action)
deactivate
in interface AttachedStorageDomainResource
public ActionResource getActionSubresource(String action, String ids)
getActionSubresource
in interface AttachedStorageDomainResource
getActionSubresource
in class AbstractBackendActionableResource<StorageDomain,storage_domains>
protected StorageDomain addParents(StorageDomain storageDomain)
AbstractBackendResource
addParents
in class AbstractBackendResource<StorageDomain,storage_domains>
protected StorageDomain map(storage_domains entity, StorageDomain template)
map
in class AbstractBackendResource<StorageDomain,storage_domains>
Copyright © 2012. All Rights Reserved.