org.alfresco.repo.webdav
Class MTNodesCache

java.lang.Object
  extended by org.alfresco.repo.webdav.MTNodesCache

public class MTNodesCache
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.


Constructor Summary
MTNodesCache(org.alfresco.service.cmr.repository.StoreRef storeRef, java.lang.String path, org.alfresco.service.cmr.repository.NodeService nodeService, org.alfresco.service.cmr.search.SearchService searchService, org.alfresco.service.namespace.NamespaceService namespaceService, org.alfresco.repo.tenant.TenantService tenantService)
          Constructor
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getNodeForCurrentTenant()
          Returns nodeRef for current user tenant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTNodesCache

public MTNodesCache(org.alfresco.service.cmr.repository.StoreRef storeRef,
                    java.lang.String path,
                    org.alfresco.service.cmr.repository.NodeService nodeService,
                    org.alfresco.service.cmr.search.SearchService searchService,
                    org.alfresco.service.namespace.NamespaceService namespaceService,
                    org.alfresco.repo.tenant.TenantService tenantService)
Constructor

Parameters:
storeRef - Store reference
path - Path to node
nodeService - NodeService
searchService - SearchService
namespaceService - NamespaceService
tenantService - TenantService
Method Detail

getNodeForCurrentTenant

public org.alfresco.service.cmr.repository.NodeRef getNodeForCurrentTenant()
Returns nodeRef for current user tenant

Returns:
nodeRef Node Reference


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