org.alfresco.repo.webdav
Class MTNodesCache2
java.lang.Object
org.alfresco.repo.webdav.MTNodesCache2
public class MTNodesCache2
- extends java.lang.Object
In-memory cache that stores nodeRefs per tenant.
It is initialized using path to node and allows to retrieve nodeRef for current tenant.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MTNodesCache2
public MTNodesCache2()
init
public void init()
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
getNodeService
public org.alfresco.service.cmr.repository.NodeService getNodeService()
getNodeForCurrentTenant
public org.alfresco.service.cmr.repository.NodeRef getNodeForCurrentTenant()
- Returns nodeRef for current user tenant
- Returns:
- nodeRef Node Reference
onBootstrap
public void onBootstrap()
getStoreName
public java.lang.String getStoreName()
- Returns:
- Returns the name of the store
- Throws:
ServletException - if the store name was not set
setStoreName
public void setStoreName(java.lang.String storeName)
getRootPath
public java.lang.String getRootPath()
- Returns:
- Returns the WebDAV root path within the store
- Throws:
ServletException - if the root path was not set
setRootPath
public void setRootPath(java.lang.String rootPath)
setSearchService
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
getSearchService
public org.alfresco.service.cmr.search.SearchService getSearchService()
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
getNamespaceService
public org.alfresco.service.namespace.NamespaceService getNamespaceService()
setTenantService
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
getTenantService
public org.alfresco.repo.tenant.TenantService getTenantService()
getEnabled
public boolean getEnabled()
setEnabled
public void setEnabled(boolean enabled)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.