public interface IContainerProvider
Modifier and Type | Method and Description |
---|---|
SecuredContainer |
create(byte[] content,
String headerString,
List<Access> accesses,
String type) |
SecuredContainer |
createOrUpdate(Container container) |
SecuredContainer |
createOrUpdate(SecuredContainer securedContainer) |
void |
delete(UUID containerId) |
Container |
get(UUID containerId) |
byte[] |
getContent(UUID containerId) |
Header |
getHeader(UUID containerId) |
SecuredContainer |
update(UUID containerId,
byte[] content,
String header,
List<Access> accesses,
String type) |
void |
updateAccess(UUID containerId,
List<Access> accesses) |
SecuredContainer |
updateContent(UUID containerId,
byte[] content) |
SecuredContainer |
updateHeader(UUID containerId,
String header) |
void |
updateType(UUID containerId,
String type) |
SecuredContainer create(byte[] content, String headerString, List<Access> accesses, String type) throws Exception
Exception
SecuredContainer createOrUpdate(Container container) throws Exception
Exception
SecuredContainer createOrUpdate(SecuredContainer securedContainer) throws Exception
Exception
SecuredContainer update(UUID containerId, byte[] content, String header, List<Access> accesses, String type) throws Exception
Exception
void updateAccess(UUID containerId, List<Access> accesses) throws Exception
Exception
SecuredContainer updateContent(UUID containerId, byte[] content) throws Exception
Exception
SecuredContainer updateHeader(UUID containerId, String header) throws Exception
Exception
Copyright © 2021. All rights reserved.