Package ch.tocco.nice2.dms.api.upload
Interface MultiUploadService
- All Known Implementing Classes:
MultiUploadServiceImpl
public interface MultiUploadService
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionReturns the resource at the given uri as a `Binary` value associated with its name.void
save
(String parentUri, MultiUploadService.UploadItem[] items)
-
Method Details
-
save
void save(String parentUri, MultiUploadService.UploadItem[] items) throws UploadServiceException, PersistException, InterruptedException, IOException, UnresolvableUriException, ContentException -
getBinary
Returns the resource at the given uri as a `Binary` value associated with its name. The uri can be * an entity uri of form `entity://Resource/58` that denotes a concrete `Resource` entity * an uri into the local filesystem as provided by uploads (like `tmp:/bla/someid`) The resource with the given id is expected to exist. An exception is thrown if no resource/binary can be found.- Throws:
PersistException
-