Package org.alfresco.repo.webdav
Class MTNodesCache2
java.lang.Object
org.alfresco.repo.webdav.MTNodesCache2
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns nodeRef for current user tenantvoidinit()Spring bean init methodvoidvoidsetEnabled(boolean enabled) voidsetNamespaceService(NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetRootPath(String rootPath) voidsetSearchService(SearchService searchService) voidsetStoreName(String storeName) voidsetTenantService(TenantService tenantService)
-
Constructor Details
-
MTNodesCache2
public MTNodesCache2()
-
-
Method Details
-
init
public void init()Spring bean init method -
setNodeService
-
getNodeService
-
getNodeForCurrentTenant
Returns nodeRef for current user tenant- Returns:
- nodeRef Node Reference
-
onBootstrap
public void onBootstrap() -
getStoreName
- Returns:
- Returns the name of the store
-
setStoreName
-
getRootPath
- Returns:
- Returns the WebDAV root path within the store
-
setRootPath
-
setSearchService
-
getSearchService
-
setNamespaceService
-
getNamespaceService
-
setTenantService
-
getTenantService
-
getEnabled
public boolean getEnabled() -
setEnabled
public void setEnabled(boolean enabled)
-