public abstract class AbstractBackendNetworksResource extends AbstractBackendCollectionResource<Network,network>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractBackendNetworksResource.DataCenterNetworkIdResolver |
protected class |
AbstractBackendNetworksResource.NetworkIdResolver |
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected VdcActionType |
addAction |
protected VdcQueryType |
queryType |
protected VdcActionType |
removeAction |
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 |
---|
AbstractBackendNetworksResource(VdcQueryType queryType,
VdcActionType addAction,
VdcActionType removeAction) |
Modifier and Type | Method and Description |
---|---|
protected abstract VdcActionParametersBase |
getActionParameters(Network network,
network entity) |
AbstractBackendResource.EntityIdResolver |
getNetworkIdResolver() |
protected abstract VdcQueryParametersBase |
getQueryParameters() |
Networks |
list() |
network |
lookupNetwork(Guid id) |
network |
lookupNetwork(Guid id,
String name) |
network |
lookupNetwork(Guid id,
String name,
String dataCenterId) |
protected Networks |
mapCollection(List<network> entities) |
javax.ws.rs.core.Response |
performRemove(String id) |
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, 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 VdcQueryType queryType
protected VdcActionType addAction
protected VdcActionType removeAction
public AbstractBackendNetworksResource(VdcQueryType queryType, VdcActionType addAction, VdcActionType removeAction)
protected abstract VdcQueryParametersBase getQueryParameters()
protected abstract VdcActionParametersBase getActionParameters(Network network, network entity)
public Networks list()
public javax.ws.rs.core.Response performRemove(String id)
performRemove
in class AbstractBackendCollectionResource<Network,network>
public AbstractBackendResource.EntityIdResolver getNetworkIdResolver()
Copyright © 2012. All Rights Reserved.