public class BackendHostNicResource extends AbstractBackendActionableResource<HostNIC,VdsNetworkInterface> implements HostNicResource
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendHostNicResource(String id,
BackendHostNicsResource parent) |
Modifier and Type | Method and Description |
---|---|
protected HostNIC |
addParents(HostNIC nic)
Add any parent resource references needed for constructing links.
|
javax.ws.rs.core.Response |
attach(Action action) |
javax.ws.rs.core.Response |
detach(Action action) |
protected javax.ws.rs.core.Response |
doAttachAction(Action action,
VdcActionType actionType) |
HostNIC |
get() |
BackendHostNicsResource |
getParent() |
StatisticsResource |
getStatisticsResource() |
protected HostNIC |
populate(HostNIC model,
VdsNetworkInterface entity) |
HostNIC |
update(HostNIC nic) |
actionAsync, actionFailure, actionStatus, actionSuccess, awaitGrace, doAction, expectBlocking, getActionSubresource, getHostId, getHostId, handleError
getEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdate
addLinks, 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, 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
getActionSubresource
public BackendHostNicResource(String id, BackendHostNicsResource parent)
public BackendHostNicsResource getParent()
public HostNIC get()
get
in interface HostNicResource
get
in interface UpdatableResource<HostNIC>
protected HostNIC addParents(HostNIC nic)
AbstractBackendResource
addParents
in class AbstractBackendResource<HostNIC,VdsNetworkInterface>
protected javax.ws.rs.core.Response doAttachAction(Action action, VdcActionType actionType)
public javax.ws.rs.core.Response attach(Action action)
attach
in interface HostNicResource
public javax.ws.rs.core.Response detach(Action action)
detach
in interface HostNicResource
public StatisticsResource getStatisticsResource()
getStatisticsResource
in interface MeasurableResource
protected HostNIC populate(HostNIC model, VdsNetworkInterface entity)
populate
in class AbstractBackendResource<HostNIC,VdsNetworkInterface>
public HostNIC update(HostNIC nic)
update
in interface UpdatableResource<HostNIC>
Copyright © 2012. All Rights Reserved.