|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourcesService
Interface to define resources services to retrieves from a repository list of resources (folder/files), and upload/download some resources.
Method Summary | |
---|---|
BinaryData |
download(String resourceId)
Download the content of the given unique resource id. |
List<BinaryData> |
downloadMultiple(List<String> resourceIds)
|
String |
getName()
Returns the repository name. |
Resource |
getRoot()
Returns the root resource. |
Resource |
getRootWithFilter(Filter filter)
|
void |
upload(BinaryData data)
|
Method Detail |
---|
String getName()
Resource getRoot() throws ResourcesException
ResourcesException
Resource getRootWithFilter(Filter filter) throws ResourcesException
ResourcesException
List<BinaryData> downloadMultiple(List<String> resourceIds) throws ResourcesException
ResourcesException
BinaryData download(String resourceId) throws ResourcesException
resourcePath
- the unique resource id.
ResourcesException
void upload(BinaryData data) throws ResourcesException
ResourcesException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |