nl.hippo.client.api.content
Interface Document

All Superinterfaces:
Serializable

public interface Document
extends Serializable

A document in the repository


Method Summary
 RawResponse getContent()
          Returns the content of this document.
 DocumentMetadata getMetadata()
          Returns the metadata of this document.
 DocumentPath getPath()
          Returns the path to this document.
 

Method Detail

getPath

DocumentPath getPath()
Returns the path to this document.

Returns:
The path to this document

getMetadata

DocumentMetadata getMetadata()
Returns the metadata of this document. May be null, which doesn't mean that there is no metadata, just that it hasn't been fetched.

Returns:
The metadata of this document

getContent

RawResponse getContent()
Returns the content of this document. May be null, which doesn't mean that there is no content, just that it hasn't been fetched.

Returns:
The content of this document


Copyright © 2006-2009 Hippo. All Rights Reserved.