public interface Modifiable
ResourceHandler implementations that
also support resource modification.| Modifier and Type | Method and Description |
|---|---|
void |
update(ResourceSnapshot resource,
DataSet content,
WriteSession session)
Update the state of a resource managed by a handler.
|
void update(ResourceSnapshot resource, DataSet content, WriteSession session) throws UnknownResourceException, UnsupportedContentException, InconsistentContentException
resource - the resource whose state is to be updated.content - the new content for the resource.session - the session to use for registering the side effects of the
operation.UnknownResourceException - if the handler does not manage the specified resource.UnsupportedContentException - if the resource cannot be updated with the specified
contents.InconsistentContentException - if the specified contents include values that modify current
values of server managed properties.ApplicationRuntimeException - if internal exception prevents the update of the resource.
Copyright (C) 2014, Center for Open Middleware