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