nl.hippo.client.webdav.service
Class WebdavServiceImpl

java.lang.Object
  extended by nl.hippo.client.webdav.service.WebdavServiceImpl
All Implemented Interfaces:
WebdavService

public class WebdavServiceImpl
extends Object
implements WebdavService


Constructor Summary
WebdavServiceImpl(WebdavConfig config)
           
WebdavServiceImpl(WebdavConfig config, boolean documentIdEnabled)
           
WebdavServiceImpl(WebdavConfig config, CachingService cache)
           
WebdavServiceImpl(WebdavConfig config, CachingService cachingService, boolean documentIdEnabled)
           
 
Method Summary
 int executeCopy(DocumentPath targetPath, DocumentPath destinationPath, boolean overwrite)
           
 int executeDelete(DocumentPath targetPath)
           
 int executeHead(DocumentPath targetPath)
           
 int executeMkCol(DocumentPath targetPath)
           
 int executeMkCols(DocumentPath targetPath)
           
 int executeMove(DocumentPath targetPath, DocumentPath destinationPath, boolean overwrite)
           
 RawResponse executePropfind(DocumentPath docPath)
           
 int executePropPatch(DocumentPath targetPath, Property[] propertiesToRemove, Property[] propertiesToSet)
           
 int executePut(DocumentPath targetPath, InputStream putObject)
           
 RawResponse executeSearch(DocumentPath targetPath, InputStream dasl)
           
 RawResponse executeSearch(DocumentPath targetPath, String dasl)
           
 DocumentCollection fetchCollection(DocumentPath targetPath, InputStream dasl, boolean includeContent)
           
 DocumentCollection fetchCollection(DocumentPath targetPath, String dasl, boolean includeContent)
           
 RawResponse fetchContent(DocumentPath docPath)
           
 RawResponse fetchContentById(String documentId)
           
 Document fetchDocument(DocumentPath docPath)
           
 Document fetchDocumentById(String documentId)
           
 FacetCollection fetchFacets(DocumentPath targetPath, InputStream dasl)
           
 FacetCollection fetchFacets(DocumentPath targetPath, String dasl)
           
 DocumentMetadata fetchMetadata(DocumentPath docPath)
           
 DocumentMetadata fetchMetadataById(String documentId)
           
 DocumentPath getBasePath()
           
 boolean isDocumentIdEnabled()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebdavServiceImpl

public WebdavServiceImpl(WebdavConfig config)

WebdavServiceImpl

public WebdavServiceImpl(WebdavConfig config,
                         CachingService cache)

WebdavServiceImpl

public WebdavServiceImpl(WebdavConfig config,
                         boolean documentIdEnabled)

WebdavServiceImpl

public WebdavServiceImpl(WebdavConfig config,
                         CachingService cachingService,
                         boolean documentIdEnabled)
Method Detail

getBasePath

public DocumentPath getBasePath()
Specified by:
getBasePath in interface WebdavService

isDocumentIdEnabled

public boolean isDocumentIdEnabled()
Specified by:
isDocumentIdEnabled in interface WebdavService

fetchDocument

public Document fetchDocument(DocumentPath docPath)
                       throws ClientException
Specified by:
fetchDocument in interface WebdavService
Throws:
ClientException

fetchContent

public RawResponse fetchContent(DocumentPath docPath)
                         throws ClientException
Specified by:
fetchContent in interface WebdavService
Throws:
ClientException

fetchMetadata

public DocumentMetadata fetchMetadata(DocumentPath docPath)
                               throws ClientException
Specified by:
fetchMetadata in interface WebdavService
Throws:
ClientException

fetchCollection

public DocumentCollection fetchCollection(DocumentPath targetPath,
                                          InputStream dasl,
                                          boolean includeContent)
                                   throws ClientException
Specified by:
fetchCollection in interface WebdavService
Throws:
ClientException

fetchCollection

public DocumentCollection fetchCollection(DocumentPath targetPath,
                                          String dasl,
                                          boolean includeContent)
                                   throws ClientException
Specified by:
fetchCollection in interface WebdavService
Throws:
ClientException

fetchFacets

public FacetCollection fetchFacets(DocumentPath targetPath,
                                   InputStream dasl)
                            throws ClientException
Specified by:
fetchFacets in interface WebdavService
Throws:
ClientException

fetchFacets

public FacetCollection fetchFacets(DocumentPath targetPath,
                                   String dasl)
                            throws ClientException
Specified by:
fetchFacets in interface WebdavService
Throws:
ClientException

executePropfind

public RawResponse executePropfind(DocumentPath docPath)
                            throws ClientException
Specified by:
executePropfind in interface WebdavService
Throws:
ClientException

executeSearch

public RawResponse executeSearch(DocumentPath targetPath,
                                 InputStream dasl)
                          throws ClientException
Specified by:
executeSearch in interface WebdavService
Throws:
ClientException

executeSearch

public RawResponse executeSearch(DocumentPath targetPath,
                                 String dasl)
                          throws ClientException
Specified by:
executeSearch in interface WebdavService
Throws:
ClientException

executePut

public int executePut(DocumentPath targetPath,
                      InputStream putObject)
               throws ClientException
Specified by:
executePut in interface WebdavService
Throws:
ClientException

executePropPatch

public int executePropPatch(DocumentPath targetPath,
                            Property[] propertiesToRemove,
                            Property[] propertiesToSet)
                     throws ClientException
Specified by:
executePropPatch in interface WebdavService
Throws:
ClientException

executeDelete

public int executeDelete(DocumentPath targetPath)
                  throws ClientException
Specified by:
executeDelete in interface WebdavService
Throws:
ClientException

executeMkCol

public int executeMkCol(DocumentPath targetPath)
                 throws ClientException
Specified by:
executeMkCol in interface WebdavService
Throws:
ClientException

executeMkCols

public int executeMkCols(DocumentPath targetPath)
                  throws ClientException
Specified by:
executeMkCols in interface WebdavService
Throws:
ClientException

executeHead

public int executeHead(DocumentPath targetPath)
                throws ClientException
Specified by:
executeHead in interface WebdavService
Throws:
ClientException

executeMove

public int executeMove(DocumentPath targetPath,
                       DocumentPath destinationPath,
                       boolean overwrite)
                throws ClientException
Specified by:
executeMove in interface WebdavService
Throws:
ClientException

executeCopy

public int executeCopy(DocumentPath targetPath,
                       DocumentPath destinationPath,
                       boolean overwrite)
                throws ClientException
Specified by:
executeCopy in interface WebdavService
Throws:
ClientException

fetchDocumentById

public Document fetchDocumentById(String documentId)
                           throws ClientException
Specified by:
fetchDocumentById in interface WebdavService
Throws:
ClientException

fetchMetadataById

public DocumentMetadata fetchMetadataById(String documentId)
                                   throws ClientException
Specified by:
fetchMetadataById in interface WebdavService
Throws:
ClientException

fetchContentById

public RawResponse fetchContentById(String documentId)
                             throws ClientException
Specified by:
fetchContentById in interface WebdavService
Throws:
ClientException


Copyright © 2006-2009 Hippo. All Rights Reserved.