public class BackendDisksResource extends AbstractBackendDevicesResource<Disk,Disks,DiskImage> implements DevicesResource<Disk,Disks>
| Modifier and Type | Class and Description |
|---|---|
protected class |
BackendDisksResource.UpdateParametersProvider |
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 |
|---|
BackendDisksResource(Guid parentId,
VdcQueryType queryType,
VdcQueryParametersBase queryParams) |
| Modifier and Type | Method and Description |
|---|---|
protected VdcActionParametersBase |
getAddParameters(DiskImage entity,
Disk disk) |
DeviceResource<Disk> |
getDeviceSubResource(String id)
Sub-resource locator method, returns individual DeviceResource on which the
remainder of the URI is dispatched.
|
protected VdcActionParametersBase |
getRemoveParameters(String id) |
protected String[] |
getRequiredAddFields() |
protected String[] |
getRequiredUpdateFields() |
protected AbstractBackendSubResource.ParametersProvider<Disk,DiskImage> |
getUpdateParametersProvider() |
protected boolean |
matchEntity(DiskImage entity,
Guid id) |
protected boolean |
matchEntity(DiskImage entity,
String name) |
protected Disk |
populate(Disk model,
DiskImage entity) |
add, getEntityIdResolver, performRemoveaddParents, getList, list, 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, 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, waitadd, removelistpublic BackendDisksResource(Guid parentId, VdcQueryType queryType, VdcQueryParametersBase queryParams)
public DeviceResource<Disk> getDeviceSubResource(String id)
ReadOnlyDevicesResourcegetDeviceSubResource in interface DevicesResource<Disk,Disks>getDeviceSubResource in interface ReadOnlyDevicesResource<Disk,Disks>getDeviceSubResource in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>id - the Device IDprotected boolean matchEntity(DiskImage entity, Guid id)
matchEntity in class AbstractBackendReadOnlyDevicesResource<Disk,Disks,DiskImage>protected boolean matchEntity(DiskImage entity, String name)
matchEntity in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>protected String[] getRequiredAddFields()
getRequiredAddFields in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>protected String[] getRequiredUpdateFields()
getRequiredUpdateFields in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>protected VdcActionParametersBase getAddParameters(DiskImage entity, Disk disk)
getAddParameters in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>protected VdcActionParametersBase getRemoveParameters(String id)
getRemoveParameters in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>protected AbstractBackendSubResource.ParametersProvider<Disk,DiskImage> getUpdateParametersProvider()
getUpdateParametersProvider in class AbstractBackendDevicesResource<Disk,Disks,DiskImage>Copyright © 2012. All Rights Reserved.