mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-13441: WebDAV: activities should be raised/published
* WebDAV methods raise activities for file creation, modification, deletion. * Repository property to enabled/disable activity feed generation is disabled by default. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -46,18 +46,16 @@ import org.springframework.extensions.surf.util.URLEncoder;
|
||||
*/
|
||||
public class WebDavServiceImpl implements WebDavService
|
||||
{
|
||||
public static final String WEBDAV_PREFIX = "webdav";
|
||||
|
||||
public static final String WEBDAV_PREFIX = "webdav";
|
||||
private static Log logger = LogFactory.getLog(WebDavServiceImpl.class);
|
||||
|
||||
private boolean enabled = false;
|
||||
|
||||
private NodeService nodeService;
|
||||
private DictionaryService dictionaryService;
|
||||
private FileFolderService fileFolderService;
|
||||
|
||||
private FileFolderService fileFolderService;
|
||||
// Root nodes
|
||||
private MTNodesCache2 rootNode;
|
||||
private boolean activitiesEnabled;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -185,5 +183,16 @@ public class WebDavServiceImpl implements WebDavService
|
||||
public MTNodesCache2 getRootNode()
|
||||
{
|
||||
return rootNode;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean activitiesEnabled()
|
||||
{
|
||||
return activitiesEnabled;
|
||||
}
|
||||
|
||||
public void setActivitiesEnabled(boolean enabled)
|
||||
{
|
||||
activitiesEnabled = enabled;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user