org.alfresco.repo.webdav
Class WebDavServiceImpl

java.lang.Object
  extended by org.alfresco.repo.webdav.WebDavServiceImpl
All Implemented Interfaces:
WebDavService

public class WebDavServiceImpl
extends java.lang.Object
implements WebDavService

The WebDav client is used by the repository to generate webdav URLs This is a bog standard spring bean for the repo side of WebDav.


Field Summary
static java.lang.String WEBDAV_PREFIX
           
 
Constructor Summary
WebDavServiceImpl()
           
 
Method Summary
 org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
           
 boolean getEnabled()
           
 FileFolderService getFileFolderService()
           
 org.alfresco.service.cmr.repository.NodeService getNodeService()
           
 MTNodesCache2 getRootNode()
           
 java.lang.String getWebdavUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef)
          Get the WebDavUrl for the specified nodeRef
 void init()
           
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setEnabled(boolean enabled)
           
 void setFileFolderService(FileFolderService fileFolderService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setRootNode(MTNodesCache2 rootNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBDAV_PREFIX

public static final java.lang.String WEBDAV_PREFIX
See Also:
Constant Field Values
Constructor Detail

WebDavServiceImpl

public WebDavServiceImpl()
Method Detail

getEnabled

public boolean getEnabled()

setEnabled

public void setEnabled(boolean enabled)

init

public void init()

getWebdavUrl

public java.lang.String getWebdavUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get the WebDavUrl for the specified nodeRef

Specified by:
getWebdavUrl in interface WebDavService
Parameters:
nodeRef - the node that the webdav URL (or null)
Returns:
the URL of the node in webdav or "" if a URL cannot be built.

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

getNodeService

public org.alfresco.service.cmr.repository.NodeService getNodeService()

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)

getDictionaryService

public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()

setFileFolderService

public void setFileFolderService(FileFolderService fileFolderService)

getFileFolderService

public FileFolderService getFileFolderService()

setRootNode

public void setRootNode(MTNodesCache2 rootNode)

getRootNode

public MTNodesCache2 getRootNode()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.