Interface AuditService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("audit")
public interface AuditService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Audit Service. This service allows folders and
 documents subscription.
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeleteSubscriptions(List<Long> ids) Deletes a list of SubscriptionsvoidSubscribes a selection of documentsvoidsubscribeFolder(long folderId, boolean currentOnly, List<String> events, Long userId, Long groupId) Subscribes a foldervoidChanges a set of subscriptions
- 
Method Details- 
subscribeFoldervoid subscribeFolder(long folderId, boolean currentOnly, List<String> events, Long userId, Long groupId) throws ServerException Subscribes a folder- Parameters:
- folderId- identifier of the folder
- currentOnly- if the subscription must be on the folder only(not children)
- events- the events to subscribe to
- userId- identifier of the user (if not specified, fill the- groupId)
- groupId- identifier of the group (if not specified, fill the- userId)
- Throws:
- ServerException- error in the server application
 
- 
subscribeDocumentsvoid subscribeDocuments(List<Long> docIds, List<String> events, Long userId, Long groupId) throws ServerException Subscribes a selection of documents- Parameters:
- docIds- identifiers of the documents
- events- the events to subscribe to
- userId- identifier of the user (if not specified, fill the- groupId)
- groupId- identifier of the group (if not specified, fill the- userId)
- Throws:
- ServerException- error in the server application
 
- 
updateChanges a set of subscriptions- Parameters:
- ids- identifiers of the subscriptions
- currentOnly- if the subscription must be on the folder only(not children)
- events- the events to subscribe to
- Throws:
- ServerException- error in the server application
 
- 
deleteSubscriptionsDeletes a list of Subscriptions- Parameters:
- ids- identifiers of the subscriptions
- Throws:
- ServerException- error in the server application
 
 
-