org.opencrx.application.webdav
Class DocumentCollectionResource

java.lang.Object
  extended by org.opencrx.application.webdav.DocumentCollectionResource
All Implemented Interfaces:
Resource
Direct Known Subclasses:
DocumentFeedResource, DocumentFolderResource

public abstract class DocumentCollectionResource
extends Object


Constructor Summary
DocumentCollectionResource(RequestContext requestContext, DocumentFolder documentFolder)
           
 
Method Summary
 Collection<Resource> getChildren()
           
 BinaryLargeObject getContent()
           
 Date getCreationDate()
          Gets the date of the creation
 String getDisplayName()
          Get resource's display name.
 DocumentBasedFolderEntryQuery getFolderEntryQuery()
           
 DocumentFolderQuery getFolderQuery()
           
 Date getLastModified()
          Gets the date of the last modification
 String getMimeType()
           
 String getName()
          Get resource's name.
 DocumentFolder getObject()
           
 org.opencrx.application.webdav.WebDavRequestContext getRequestContext()
           
 boolean isCollection()
          Determines whether the Resource is a collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentCollectionResource

public DocumentCollectionResource(RequestContext requestContext,
                                  DocumentFolder documentFolder)
Method Detail

getDisplayName

public String getDisplayName()
Description copied from interface: Resource
Get resource's display name.


getObject

public DocumentFolder getObject()

isCollection

public boolean isCollection()
Description copied from interface: Resource
Determines whether the Resource is a collection.

Returns:
true if the Resource is a collection

getName

public String getName()
Description copied from interface: Resource
Get resource's name.

Specified by:
getName in interface Resource
Returns:

getFolderEntryQuery

public DocumentBasedFolderEntryQuery getFolderEntryQuery()

getFolderQuery

public DocumentFolderQuery getFolderQuery()

getChildren

public Collection<Resource> getChildren()

getCreationDate

public Date getCreationDate()
Description copied from interface: Resource
Gets the date of the creation

Specified by:
getCreationDate in interface Resource
Returns:
creation Date

getLastModified

public Date getLastModified()
Description copied from interface: Resource
Gets the date of the last modification

Specified by:
getLastModified in interface Resource
Returns:
last modification Date

getRequestContext

public org.opencrx.application.webdav.WebDavRequestContext getRequestContext()

getMimeType

public String getMimeType()

getContent

public BinaryLargeObject getContent()


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.