public class BackendClustersResource extends AbstractBackendCollectionResource<Cluster,VDSGroup> implements ClustersResource
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultExceptionCASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOGACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, httpHeaders, messageBundle, sessionHelper, uriInfo| Constructor and Description |
|---|
BackendClustersResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(Cluster cluster) |
ClusterResource |
getClusterSubResource(String id)
Sub-resource locator method, returns individual ClusterResource on which the
remainder of the URI is dispatched.
|
Clusters |
list() |
protected VDSGroup |
map(storage_pool pool)
Map the storage pool (i.e.
|
javax.ws.rs.core.Response |
performRemove(String id) |
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreatedaddLinks, 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, populate, removeIfExist, setMappingLocator, urlEncodedoAction, doGetEntity, doNonBlockingAction, expectNonBlocking, getBackendCollection, getConfigurationValue, getEntity, getEntity, getEntity, performAction, performAction, performNonBlockingActionasCollection, 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, validateParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremovepublic Clusters list()
list in interface ClustersResourcepublic ClusterResource getClusterSubResource(String id)
ClustersResourcegetClusterSubResource in interface ClustersResourceid - the Cluster IDpublic javax.ws.rs.core.Response add(Cluster cluster)
add in interface ClustersResourcepublic javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<Cluster,VDSGroup>protected VDSGroup map(storage_pool pool)
Copyright © 2012. All Rights Reserved.