Package org.alfresco.repo.webdav
Class ActivityPosterImpl
java.lang.Object
org.alfresco.repo.webdav.ActivityPosterImpl
- All Implemented Interfaces:
WebDAVActivityPoster
WebDAV methods may use an instance of this class to post activity data.
- Author:
- Matt Ward
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ActivityPosterImpl
(String appTool, ActivityPoster poster) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
postFileFolderAdded
(String siteId, String tenantDomain, String path, FileInfo nodeInfo) void
postFileFolderDeleted
(String siteId, String tenantDomain, String parentPath, FileInfo parentNodeInfo, FileInfo nodeInfo) void
postFileFolderUpdated
(String siteId, String tenantDomain, FileInfo nodeInfo) void
setAppTool
(String appTool) void
setPoster
(ActivityPoster poster)
-
Field Details
-
logger
protected static org.apache.commons.logging.Log logger
-
-
Constructor Details
-
ActivityPosterImpl
public ActivityPosterImpl()Default constructor. -
ActivityPosterImpl
Constructor- Parameters:
appTool
- Stringposter
- ActivityPoster
-
-
Method Details
-
postFileFolderAdded
public void postFileFolderAdded(String siteId, String tenantDomain, String path, FileInfo nodeInfo) throws WebDAVServerException - Specified by:
postFileFolderAdded
in interfaceWebDAVActivityPoster
path
- the path to the folder ornull
for files- Throws:
WebDAVServerException
-
postFileFolderUpdated
public void postFileFolderUpdated(String siteId, String tenantDomain, FileInfo nodeInfo) throws WebDAVServerException - Specified by:
postFileFolderUpdated
in interfaceWebDAVActivityPoster
- Throws:
WebDAVServerException
-
postFileFolderDeleted
public void postFileFolderDeleted(String siteId, String tenantDomain, String parentPath, FileInfo parentNodeInfo, FileInfo nodeInfo) throws WebDAVServerException - Specified by:
postFileFolderDeleted
in interfaceWebDAVActivityPoster
- Throws:
WebDAVServerException
-
setAppTool
-
setPoster
-