mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-12866: WebDAV should use in-memory locking for transient locks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,6 +77,7 @@ public class WebDAVHelper
|
||||
private DictionaryService m_dictionaryService;
|
||||
private MimetypeService m_mimetypeService;
|
||||
private LockService m_lockService;
|
||||
private LockStore m_lockStore;
|
||||
private ActionService m_actionService;
|
||||
private AuthenticationService m_authService;
|
||||
private PermissionService m_permissionService;
|
||||
@@ -88,7 +89,7 @@ public class WebDAVHelper
|
||||
/**
|
||||
* Class constructor
|
||||
*/
|
||||
protected WebDAVHelper(ServiceRegistry serviceRegistry, AuthenticationService authService)
|
||||
protected WebDAVHelper(ServiceRegistry serviceRegistry, LockStore lockStore, AuthenticationService authService)
|
||||
{
|
||||
m_serviceRegistry = serviceRegistry;
|
||||
|
||||
@@ -103,6 +104,8 @@ public class WebDAVHelper
|
||||
m_permissionService = m_serviceRegistry.getPermissionService();
|
||||
|
||||
m_authService = authService;
|
||||
|
||||
m_lockStore = lockStore;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -173,6 +176,14 @@ public class WebDAVHelper
|
||||
{
|
||||
return m_lockService;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Return the {@link LockStore lock store}.
|
||||
*/
|
||||
public final LockStore getLockStore()
|
||||
{
|
||||
return m_lockStore;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Return the action service
|
||||
|
Reference in New Issue
Block a user