public abstract class BackendNicsResource extends AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface> implements DevicesResource<NIC,Nics>
AbstractBackendDevicesResource.DeviceIdResolverAbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultExceptionaddAction, removeAction, updateTypecollectionType, parentId, queryParams, queryTypeCASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOGACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, httpHeaders, messageBundle, sessionHelper, uriInfo| Constructor and Description |
|---|
BackendNicsResource(Guid parentId,
VdcQueryType queryType,
VdcQueryParametersBase queryParams,
VdcActionType addAction,
VdcActionType removeAction,
VdcActionType updateAction) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
add(NIC device) |
protected abstract Guid |
getClusterId() |
protected String[] |
getRequiredAddFields() |
protected String[] |
getRequiredUpdateFields() |
Nics |
list() |
protected network |
lookupClusterNetwork(Guid clusterId,
Guid id,
String name) |
protected network |
lookupClusterNetwork(Guid clusterId,
Guid id,
String name,
List<network> networks) |
protected boolean |
matchEntity(VmNetworkInterface entity,
Guid id) |
protected boolean |
matchEntity(VmNetworkInterface entity,
String name) |
protected abstract VmNetworkInterface |
setNetwork(NIC device,
VmNetworkInterface ni) |
protected void |
setNetworkId(NIC nic) |
getAddParameters, getDeviceSubResource, getEntityIdResolver, getRemoveParameters, getUpdateParametersProvider, performRemoveaddParents, getList, lookupEntity, mapCollection, validateasString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreatedaddLinks, addLinks, addLinks, addLinks, addOrUpdateLink, 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, waitgetDeviceSubResource, removepublic BackendNicsResource(Guid parentId, VdcQueryType queryType, VdcQueryParametersBase queryParams, VdcActionType addAction, VdcActionType removeAction, VdcActionType updateAction)
public Nics list()
list in interface ReadOnlyDevicesResource<NIC,Nics>list in class AbstractBackendReadOnlyDevicesResource<NIC,Nics,VmNetworkInterface>protected abstract Guid getClusterId()
protected boolean matchEntity(VmNetworkInterface entity, Guid id)
matchEntity in class AbstractBackendReadOnlyDevicesResource<NIC,Nics,VmNetworkInterface>protected boolean matchEntity(VmNetworkInterface entity, String name)
matchEntity in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>protected String[] getRequiredUpdateFields()
getRequiredUpdateFields in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>protected String[] getRequiredAddFields()
getRequiredAddFields in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>protected network lookupClusterNetwork(Guid clusterId, Guid id, String name, List<network> networks)
public javax.ws.rs.core.Response add(NIC device)
add in interface DevicesResource<NIC,Nics>add in class AbstractBackendDevicesResource<NIC,Nics,VmNetworkInterface>protected void setNetworkId(NIC nic)
protected abstract VmNetworkInterface setNetwork(NIC device, VmNetworkInterface ni)
Copyright © 2012. All Rights Reserved.