public interface StreamBasedObjectsAccess extends AbstractRegistrySerializingStrategy.ObjectsAccess
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String id) |
InputStream |
getInputStream(String id)
Returns the input stream
|
OutputStream |
openOut(String id)
Returns the output for the given id
throws com.cedarsoft.exceptions.StillContainedException if an object with the given id is still contained
|
OutputStream |
openOutForUpdate(String id) |
getIds@Nonnull OutputStream openOut(@Nonnull String id) throws com.cedarsoft.exceptions.StillContainedException, FileNotFoundException
id - the idcom.cedarsoft.exceptions.StillContainedExceptionFileNotFoundExceptionOutputStream openOutForUpdate(@Nonnull String id) throws com.cedarsoft.serialization.NotFoundException, FileNotFoundException
com.cedarsoft.serialization.NotFoundExceptionFileNotFoundException@Nonnull InputStream getInputStream(@Nonnull String id) throws FileNotFoundException
id - the idFileNotFoundExceptionCopyright © 2007–2016 cedarsoft GmbH. All rights reserved.