Interface CudamiFileResourceService
-
- All Superinterfaces:
IdentifiableService<de.digitalcollections.model.api.identifiable.resource.FileResource>
- All Known Implementing Classes:
CudamiFileResourceServiceImpl
public interface CudamiFileResourceService extends IdentifiableService<de.digitalcollections.model.api.identifiable.resource.FileResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description de.digitalcollections.model.api.identifiable.resource.FileResourcesave(de.digitalcollections.model.api.identifiable.resource.FileResource fileResource, byte[] bytes)de.digitalcollections.model.api.identifiable.resource.FileResourceupload(byte[] bytes, java.lang.String filename, java.lang.String contentType)de.digitalcollections.model.api.identifiable.resource.FileResourceupload(java.io.InputStream inputStream, java.lang.String filename, java.lang.String contentType)
-
-
-
Method Detail
-
save
de.digitalcollections.model.api.identifiable.resource.FileResource save(de.digitalcollections.model.api.identifiable.resource.FileResource fileResource, byte[] bytes) throws IdentifiableServiceException- Throws:
IdentifiableServiceException
-
upload
de.digitalcollections.model.api.identifiable.resource.FileResource upload(java.io.InputStream inputStream, java.lang.String filename, java.lang.String contentType) throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException- Throws:
de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
-
upload
de.digitalcollections.model.api.identifiable.resource.FileResource upload(byte[] bytes, java.lang.String filename, java.lang.String contentType) throws de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException- Throws:
de.digitalcollections.model.api.identifiable.resource.exceptions.ResourceIOException
-
-