Package org.fcrepo.kernel.api.operations
Interface NonRdfSourceOperation
-
- All Superinterfaces:
ResourceOperation
- All Known Subinterfaces:
UpdateNonRdfSourceHeadersOperation
- All Known Implementing Classes:
AbstractNonRdfSourceOperation
,CreateNonRdfSourceOperation
,UpdateNonRdfSourceHeadersOperationImpl
,UpdateNonRdfSourceOperation
public interface NonRdfSourceOperation extends ResourceOperation
An operation for interacting with a non-RDF source resource.- Author:
- bbpennel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<URI>
getContentDigests()
long
getContentSize()
InputStream
getContentStream()
URI
getContentUri()
String
getExternalHandling()
String
getFilename()
Return the file name for the binary contentString
getMimeType()
-
Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getType, getUserPrincipal
-
-
-
-
Method Detail
-
getContentStream
InputStream getContentStream()
- Returns:
- the content stream for a local binary
-
getExternalHandling
String getExternalHandling()
- Returns:
- the handling method for external content in this resource
-
getContentUri
URI getContentUri()
- Returns:
- the URI for external content in this resource
-
getMimeType
String getMimeType()
- Returns:
- The MimeType of content associated with this resource.
-
getFilename
String getFilename()
Return the file name for the binary content- Returns:
- original file name for the binary content, or the object's id.
-
getContentDigests
Collection<URI> getContentDigests()
- Returns:
- the URIs of digests for the content in this resource
-
getContentSize
long getContentSize()
- Returns:
- The size in bytes of content associated with this resource.
-
-