|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentHeader
Document header interface for Documents stored in the
IContentRepository.
| Method Summary | |
|---|---|
Map<String,Object> |
asMap()
Returns a read-only view of the document metadata. |
boolean |
exists()
Return true iff a version of the file existed at the
time that this view was constructed. |
String |
getContentEncoding()
The character set encoding that MUST be used to interpret the byte[] returned by Document#getContent(). |
String |
getContentType()
The MIME type for the document. |
long |
getEarliestVersionCreateTime()
The time at which the earliest version of this file still on record was created (historical file metadata can be eradicated through compacting merges). |
String |
getId()
The unique identifier for the document within the IContentRepository. |
long |
getMetadataUpdateTime()
The time at which the metadata for the current version of this file was last updated. |
Object |
getProperty(String name)
Get an arbitrary property value. |
int |
getVersion()
Return the version identifier. |
long |
getVersionCreateTime()
The time at which the current version of this file was created. |
| Method Detail |
|---|
String getId()
IContentRepository.
String getContentType()
String getContentEncoding()
Document#getContent().
Object getProperty(String name)
property - The property name.
Map<String,Object> asMap()
boolean exists()
true iff a version of the file existed at the
time that this view was constructed.
int getVersion()
IllegalStateException - unless a version of the file existed at the time that
this view was constructed.long getEarliestVersionCreateTime()
long getVersionCreateTime()
IllegalStateException - unless a version of the file existed at the time that
this view was constructed.long getMetadataUpdateTime()
IllegalStateException - unless a version of the file existed at the time that
this view was constructed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||