public interface ContainerHandler extends ResourceHandler
Deletable and/or Modifiable interfaces.| Modifier and Type | Method and Description |
|---|---|
ResourceSnapshot |
create(ContainerSnapshot container,
DataSet representation,
WriteSession session)
Creates a member of a container managed by the container handler.
|
getResourceSnapshot create(ContainerSnapshot container, DataSet representation, WriteSession session) throws UnknownResourceException, UnsupportedContentException
container - the container to which a member will be added.representation - the representation of the member that will be created.session - the session to use for registering the side effects of the
operation.UnknownResourceException - if the container handler does not manage the specified
container.UnsupportedContentException - if the specified contents are not valid for creating the
member of the container.ApplicationRuntimeException - if an internal exception prevents the creation of the member
resource.
Copyright (C) 2014, Center for Open Middleware