org.gcube.application.framework.contentmanagement.content
Interface DigitalObjectInfoI
- All Known Implementing Classes:
- DigitalObject
public interface DigitalObjectInfoI
- Author:
- Valia Tsagkalidou
getObject
java.io.InputStream getObject(java.lang.String elementType)
- Returns:
- a Stream containing the object
getObjectByName
java.io.InputStream getObjectByName(java.lang.String name,
java.lang.String collectionName)
- Parameters:
name
- the name of the ObjectcollectionName
- the name of the collection
- Returns:
- a Stream containing the object
getAvailableSchemata
java.util.List<java.lang.String> getAvailableSchemata()
- Returns:
- the available metadata schemata of the corresponding object
getMetadata
java.lang.String getMetadata(java.lang.String schema)
- Returns:
- the metadata
getMimeType
java.lang.String getMimeType()
- Returns:
- the object's Mime type
getLength
long getLength()
- Returns:
- the object's length
getName
java.lang.String getName()
- Returns:
- the object's name
getHTMLrepresentation
java.lang.String getHTMLrepresentation()
- Returns:
setHTMLrepresentation
void setHTMLrepresentation(java.lang.String html)
- Parameters:
html
-
updateContent
void updateContent(ASLSession session,
byte[] rawContent)
- Parameters:
session
- rawContent
-
getThumbnail
byte[] getThumbnail(int width,
int height,
java.lang.String options)
- Parameters:
width
- height
- options
-
- Returns:
setCollectionName
void setCollectionName(java.lang.String collectionName)
- Parameters:
collectionName
-
getCollectionName
java.lang.String getCollectionName()
- Returns:
getMetaRecord
java.lang.String getMetaRecord()
- Returns:
setMetaRecord
void setMetaRecord(java.lang.String mr)
- Parameters:
mr
- the metadata content of the metadata record
getDocumentURI
java.lang.String getDocumentURI()
setDocumentURI
void setDocumentURI(java.lang.String dURI)