org.exoplatform.commons.api.event.data
Interface File

All Superinterfaces:
BaseObject

public interface File
extends BaseObject

File object instance.


Method Summary
 InputStream getData()
          Return the binary data of File instance
 String getDCContributor()
          Return the contributor of File instance.
 String getDCCreator()
          Return the creator of File instance.
 Date getDCDate()
          Return the last updated date of File instance.
 String getDCDescription()
          Return the description of File instance.
 String getDCPublisher()
          Return the publisher of File instance.
 String getDCSubject()
          Return the subject of File instance.
 String getEncoding()
          Return the encoding type of File instance.
 Date getLastModified()
          Return the last modified date of File instance.
 String getMimeType()
          Return the MIMETYPE of File instance.
 
Methods inherited from interface org.exoplatform.commons.api.event.data.BaseObject
getCreatedDate, getLastModifiedDate, getLastModifier, getMixinTypes, getName, getOwner, getPath, getPrimaryType, getRating, getTags, getTitle, getUUID, getWorkspace, save
 

Method Detail

getData

InputStream getData()
Return the binary data of File instance

Returns:
The value of jcr:data property which stored inside jcr:content node.

getMimeType

String getMimeType()
Return the MIMETYPE of File instance.

Returns:
The value of jcr:mimeType property which stored inside jcr:content node.

getLastModified

Date getLastModified()
Return the last modified date of File instance.

Returns:
The value of jcr:lastModified property which stored inside jcr:content node.

getEncoding

String getEncoding()
Return the encoding type of File instance.

Returns:
The value of jcr:encoding property which stored inside jcr:content node.

getDCCreator

String getDCCreator()
Return the creator of File instance.

Returns:
The value of dc:creator property which stored inside dc:elementSet mix-in node type.

getDCDescription

String getDCDescription()
Return the description of File instance.

Returns:
The value of dc:description property which stored inside dc:elementSet mix-in node type.

getDCContributor

String getDCContributor()
Return the contributor of File instance.

Returns:
The value of dc:contributor property which stored inside dc:elementSet mix-in node type.

getDCPublisher

String getDCPublisher()
Return the publisher of File instance.

Returns:
The value of dc:publisher property which stored inside dc:elementSet mix-in node type.

getDCSubject

String getDCSubject()
Return the subject of File instance.

Returns:
The value of dc:subject property which stored inside dc:elementSet mix-in node type.

getDCDate

Date getDCDate()
Return the last updated date of File instance.

Returns:
The value of dc:date property which stored inside dc:elementSet mix-in node type.


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.