public class BackendDataCentersResource extends AbstractBackendCollectionResource<DataCenter,storage_pool> implements DataCentersResource
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 |
---|
BackendDataCentersResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
add(DataCenter dataCenter) |
DataCenterResource |
getDataCenterSubResource(String id)
Sub-resource locator method, returns individual DataCenterResource on which the
remainder of the URI is dispatched.
|
DataCenters |
list() |
javax.ws.rs.core.Response |
performRemove(String id) |
protected DataCenter |
populate(DataCenter model,
storage_pool entity) |
javax.ws.rs.core.Response |
remove(String id,
Action action) |
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, map, newModel, notFound, notFound, 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
public DataCenters list()
list
in interface DataCentersResource
public DataCenterResource getDataCenterSubResource(String id)
DataCentersResource
getDataCenterSubResource
in interface DataCentersResource
id
- the DataCenter IDpublic javax.ws.rs.core.Response add(DataCenter dataCenter)
add
in interface DataCentersResource
public javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<DataCenter,storage_pool>
public javax.ws.rs.core.Response remove(String id, Action action)
remove
in interface DataCentersResource
protected DataCenter populate(DataCenter model, storage_pool entity)
populate
in class AbstractBackendResource<DataCenter,storage_pool>
Copyright © 2012. All Rights Reserved.