public class BackendReadOnlyDeviceResource<D extends BaseDevice,C extends BaseDevices,Q extends IVdcQueryable> extends AbstractBackendSubResource<D,Q> implements ReadOnlyDeviceResource<D>
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected AbstractBackendReadOnlyDevicesResource<D,C,Q> |
collection |
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendReadOnlyDeviceResource(Class<D> modelType,
Class<Q> entityType,
Guid guid,
AbstractBackendReadOnlyDevicesResource<D,C,Q> collection,
String... subCollections) |
Modifier and Type | Method and Description |
---|---|
D |
addParents(D device)
Add any parent resource references needed for constructing links.
|
D |
get() |
CreationResource |
getCreationSubresource(String ids) |
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, 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
protected AbstractBackendReadOnlyDevicesResource<D extends BaseDevice,C extends BaseDevices,Q extends IVdcQueryable> collection
public D get()
get
in interface ReadOnlyDeviceResource<D extends BaseDevice>
public CreationResource getCreationSubresource(String ids)
getCreationSubresource
in interface AsynchronouslyCreatedResource
public D addParents(D device)
AbstractBackendResource
addParents
in class AbstractBackendResource<D extends BaseDevice,Q extends IVdcQueryable>
Copyright © 2012. All Rights Reserved.