public class BackendCdRomsResource extends AbstractBackendDevicesResource<CdRom,CdRoms,VM> implements DevicesResource<CdRom,CdRoms>
Modifier and Type | Class and Description |
---|---|
protected class |
BackendCdRomsResource.UpdateParametersProvider |
AbstractBackendDevicesResource.DeviceIdResolver
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
addAction, removeAction, updateType
collectionType, parentId, queryParams, queryType
CASE_SENSITIVE_CONSTRAINT_PARAMETER, FROM_CONSTRAINT_PARAMETER, LOG
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendCdRomsResource(Guid parentId,
VdcQueryType queryType,
VdcQueryParametersBase queryParams) |
Modifier and Type | Method and Description |
---|---|
protected VdcActionParametersBase |
getAddParameters(VM mapped,
CdRom cdrom) |
DeviceResource<CdRom> |
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 VmStatic |
getUpdatable(String isoPath) |
protected AbstractBackendSubResource.ParametersProvider<CdRom,VM> |
getUpdateParametersProvider() |
protected boolean |
matchEntity(VM entity,
Guid id) |
protected boolean |
matchEntity(VM entity,
String name) |
add, getEntityIdResolver, performRemove
addParents, getList, list, lookupEntity, mapCollection, validate
asString, expectBlocking, getBackendCollection, getBackendCollection, getBackendCollection, getEntity, handleAsynchrony, performCreation, remove, resolveCreated
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, populate, 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
add, remove
list
public BackendCdRomsResource(Guid parentId, VdcQueryType queryType, VdcQueryParametersBase queryParams)
protected boolean matchEntity(VM entity, Guid id)
matchEntity
in class AbstractBackendReadOnlyDevicesResource<CdRom,CdRoms,VM>
protected boolean matchEntity(VM entity, String name)
matchEntity
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
protected String[] getRequiredAddFields()
getRequiredAddFields
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
protected String[] getRequiredUpdateFields()
getRequiredUpdateFields
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
protected VdcActionParametersBase getAddParameters(VM mapped, CdRom cdrom)
getAddParameters
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
protected VdcActionParametersBase getRemoveParameters(String id)
getRemoveParameters
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
protected AbstractBackendSubResource.ParametersProvider<CdRom,VM> getUpdateParametersProvider()
getUpdateParametersProvider
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
public DeviceResource<CdRom> getDeviceSubResource(String id)
ReadOnlyDevicesResource
getDeviceSubResource
in interface DevicesResource<CdRom,CdRoms>
getDeviceSubResource
in interface ReadOnlyDevicesResource<CdRom,CdRoms>
getDeviceSubResource
in class AbstractBackendDevicesResource<CdRom,CdRoms,VM>
id
- the Device IDCopyright © 2012. All Rights Reserved.