public interface ContainerManager
Modifier and Type | Method and Description |
---|---|
ContentContainer |
downloadContainer(java.lang.String containerTypeId,
java.lang.String name,
ContentFormat contentFormat,
java.lang.String relativePath)
Download a container from AS.
|
void |
uploadContainer(ContentContainer container,
java.lang.String relativePath)
Upload a container to AS.
|
void uploadContainer(ContentContainer container, java.lang.String relativePath) throws AnalyticServerException
container
- the container to uploadpath
- a relative path (within the execution project) to upload the container toAnalyticServerException
ContentContainer downloadContainer(java.lang.String containerTypeId, java.lang.String name, ContentFormat contentFormat, java.lang.String relativePath) throws AnalyticServerException
ContentFormat.BINARY
then
the byte array is stored as-is. If the content format is ContentFormat.UTF8
then
the byte array is encoded as a UTF-8 string.containerTypeId
- the content typename
- the container namecontentFormat
- the format of the downloaded contentpath
- a relative path within the current execution context to the location of the container on ASAnalyticServerException
ContentContainerFactory
Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.