public class BackendVmPoolsResource extends AbstractBackendCollectionResource<VmPool,vm_pools> implements VmPoolsResource
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 |
|---|
BackendVmPoolsResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(VmPool pool) |
protected String |
getClusterId(VmPool pool) |
VmPoolResource |
getVmPoolSubResource(String id)
Sub-resource locator method, returns individual VmPoolResource on
which the remainder of the URI is dispatched.
|
protected VmTemplate |
getVmTemplate(VmPool pool) |
VmPools |
list() |
protected VmPools |
mapCollection(List<vm_pools> entities) |
protected VM |
mapToVM(VmPool model,
VmTemplate template) |
protected boolean |
namedCluster(VmPool pool) |
protected boolean |
namedTemplate(VmPool pool) |
javax.ws.rs.core.Response |
performRemove(String id) |
VmPool |
populate(VmPool pool,
vm_pools entity) |
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, 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 VmPools list()
list in interface VmPoolsResourcepublic javax.ws.rs.core.Response add(VmPool pool)
add in interface VmPoolsResourcepublic javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<VmPool,vm_pools>public VmPoolResource getVmPoolSubResource(String id)
VmPoolsResourcegetVmPoolSubResource in interface VmPoolsResourceid - the VmPool IDpublic VmPool populate(VmPool pool, vm_pools entity)
populate in class AbstractBackendResource<VmPool,vm_pools>protected VM mapToVM(VmPool model, VmTemplate template)
protected boolean namedCluster(VmPool pool)
protected boolean namedTemplate(VmPool pool)
protected VmTemplate getVmTemplate(VmPool pool)
Copyright © 2012. All Rights Reserved.