public class ContainerPersistenceImpl extends Object implements ContainerPersistence
| Constructor and Description |
|---|
ContainerPersistenceImpl(org.adorsys.encobject.service.api.ExtendedStoreConnection storeConnection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containerExists(org.adorsys.encobject.complextypes.BucketDirectory container)
Checks if a container with this name exists.
|
void |
createContainer(org.adorsys.encobject.complextypes.BucketDirectory container)
Creates a container in the blob store.
|
void |
deleteContainer(org.adorsys.encobject.complextypes.BucketDirectory container)
Delete the container with the given name.
|
public ContainerPersistenceImpl(org.adorsys.encobject.service.api.ExtendedStoreConnection storeConnection)
public void createContainer(org.adorsys.encobject.complextypes.BucketDirectory container)
throws ContainerExistsException
createContainer in interface ContainerPersistencecontainer - container nameContainerExistsException - if a container with the same name already exists in the blob store.public boolean containerExists(org.adorsys.encobject.complextypes.BucketDirectory container)
containerExists in interface ContainerPersistencecontainer - container namepublic void deleteContainer(org.adorsys.encobject.complextypes.BucketDirectory container)
throws UnknownContainerException
deleteContainer in interface ContainerPersistencecontainer - container nameUnknownContainerException - when no container with given name existsCopyright © 2019. All Rights Reserved.