public class BackendHostNicsResource extends AbstractBackendCollectionResource<HostNIC,VdsNetworkInterface> implements HostNicsResource
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendHostNicsResource.HostNicResolver |
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 |
|---|
BackendHostNicsResource(String hostId) |
asString, 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, 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 BackendHostNicsResource(String hostId)
public String getHostId()
public HostNics list()
list in interface HostNicsResourcepublic javax.ws.rs.core.Response add(HostNIC nic)
add in interface HostNicsResourcepublic javax.ws.rs.core.Response performRemove(String id)
performRemove in class AbstractBackendCollectionResource<HostNIC,VdsNetworkInterface>public HostNicResource getHostNicSubResource(String id)
HostNicsResourcegetHostNicSubResource in interface HostNicsResourceid - the nic IDpublic VdsNetworkInterface lookupInterface(String id)
protected VdsNetworkInterface lookupInterfaceByName(String name)
protected List<VdsNetworkInterface> getCollection()
protected List<VdsNetworkInterface> getCollection(List<VdsNetworkInterface> collection)
public HostNIC addParents(HostNIC nic)
AbstractBackendResourceaddParents in class AbstractBackendResource<HostNIC,VdsNetworkInterface>protected HostNIC map(VdsNetworkInterface iface, List<VdsNetworkInterface> ifaces)
protected HostNIC map(VdsNetworkInterface iface, HostNIC template, List<VdsNetworkInterface> ifaces)
protected HostNIC map(VdsNetworkInterface entity, HostNIC template)
map in class AbstractBackendResource<HostNIC,VdsNetworkInterface>protected VdsNetworkInterface map(HostNIC entity, VdsNetworkInterface template)
map in class AbstractBackendResource<HostNIC,VdsNetworkInterface>protected HostNIC addSlaveLinks(HostNIC nic, List<VdsNetworkInterface> ifaces)
protected boolean isSlave(VdsNetworkInterface iface, String masterName)
protected HostNIC addMasterLink(HostNIC nic, String bondName, List<VdsNetworkInterface> ifaces)
protected HostNIC populate(HostNIC model, VdsNetworkInterface entity)
populate in class AbstractBackendResource<HostNIC,VdsNetworkInterface>Copyright © 2012. All Rights Reserved.