Class MTNodesCache2

java.lang.Object
org.alfresco.repo.webdav.MTNodesCache2

public class MTNodesCache2 extends Object
In-memory cache that stores nodeRefs per tenant. It is initialized using path to node and allows to retrieve nodeRef for current tenant.
Author:
Stas Sokolovsky, Mark Rogers
  • Constructor Details

    • MTNodesCache2

      public MTNodesCache2()
  • Method Details

    • init

      public void init()
      Spring bean init method
    • setNodeService

      public void setNodeService(NodeService nodeService)
    • getNodeService

      public NodeService getNodeService()
    • getNodeForCurrentTenant

      public NodeRef getNodeForCurrentTenant()
      Returns nodeRef for current user tenant
      Returns:
      nodeRef Node Reference
    • onBootstrap

      public void onBootstrap()
    • getStoreName

      public String getStoreName()
      Returns:
      Returns the name of the store
    • setStoreName

      public void setStoreName(String storeName)
    • getRootPath

      public String getRootPath()
      Returns:
      Returns the WebDAV root path within the store
    • setRootPath

      public void setRootPath(String rootPath)
    • setSearchService

      public void setSearchService(SearchService searchService)
    • getSearchService

      public SearchService getSearchService()
    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
    • getNamespaceService

      public NamespaceService getNamespaceService()
    • setTenantService

      public void setTenantService(TenantService tenantService)
    • getTenantService

      public TenantService getTenantService()
    • getEnabled

      public boolean getEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)