public class BackendDeviceResource<D extends BaseDevice,C extends BaseDevices,Q extends IVdcQueryable> extends BackendReadOnlyDeviceResource<D,C,Q> implements DeviceResource<D>
AbstractBackendSubResource.ParametersProvider<R,Q>
AbstractBackendResource.EntityIdResolver, AbstractBackendResource.QueryIdResolver
BaseBackendResource.BackendFailureException, BaseBackendResource.EntityNotFoundException, BaseBackendResource.WebFaultException
Modifier and Type | Field and Description |
---|---|
protected AbstractBackendResource.EntityIdResolver |
entityResolver |
protected String[] |
requiredUpdateFields |
protected AbstractBackendSubResource.ParametersProvider<D,Q> |
updateParametersProvider |
protected VdcActionType |
updateType |
collection
guid, id, STRICTLY_IMMUTABLE
ACCEPTED_STATUS, entityType, ID_SEPARATOR, mappingLocator, modelType, MONITOR_DELAY, subCollections
backend, httpHeaders, LOG, messageBundle, sessionHelper, uriInfo
Constructor and Description |
---|
BackendDeviceResource(Class<D> modelType,
Class<Q> entityType,
Guid guid,
AbstractBackendReadOnlyDevicesResource<D,C,Q> collection,
VdcActionType updateType,
AbstractBackendSubResource.ParametersProvider<D,Q> updateParametersProvider,
String[] requiredUpdateFields,
String... subCollections) |
Modifier and Type | Method and Description |
---|---|
D |
update(D resource) |
addParents, get, getCreationSubresource
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
getCreationSubresource
protected VdcActionType updateType
protected AbstractBackendSubResource.ParametersProvider<D extends BaseDevice,Q extends IVdcQueryable> updateParametersProvider
protected AbstractBackendResource.EntityIdResolver entityResolver
protected String[] requiredUpdateFields
public BackendDeviceResource(Class<D> modelType, Class<Q> entityType, Guid guid, AbstractBackendReadOnlyDevicesResource<D,C,Q> collection, VdcActionType updateType, AbstractBackendSubResource.ParametersProvider<D,Q> updateParametersProvider, String[] requiredUpdateFields, String... subCollections)
public D update(D resource)
update
in interface DeviceResource<D extends BaseDevice>
Copyright © 2012. All Rights Reserved.