public class BackendHostNicResource extends AbstractBackendActionableResource<HostNIC,VdsNetworkInterface> implements HostNicResource
AbstractBackendSubResource.ParametersProvider<R,Q>AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolverBaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultExceptionguid, id, STRICTLY_IMMUTABLEACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollectionsbackend, 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, handleErrorgetEntity, getStrictlyImmutable, performGet, performGet, performUpdate, performUpdate, validateUpdateaddLinks, 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, 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, waitgetActionSubresourcepublic BackendHostNicResource(String id, BackendHostNicsResource parent)
public BackendHostNicsResource getParent()
public HostNIC get()
get in interface HostNicResourceget in interface UpdatableResource<HostNIC>protected HostNIC addParents(HostNIC nic)
AbstractBackendResourceaddParents 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 HostNicResourcepublic javax.ws.rs.core.Response detach(Action action)
detach in interface HostNicResourcepublic StatisticsResource getStatisticsResource()
getStatisticsResource in interface MeasurableResourceprotected 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.