Interface AuditService
- 
- All Superinterfaces:
 com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("audit") public interface AuditService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the Audit Service. This service allows folders and documents subscription.- Since:
 - 6.0
 - Author:
 - Marco Meschieri - LogicalDOC
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAuditService.Instance 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteSubscriptions(long[] ids)Deletes a list of SubscriptionsvoidsubscribeDocuments(long[] docIds, String[] events, Long userId, Long groupId)Subscribes a selection of documentsvoidsubscribeFolder(long folderId, boolean currentOnly, String[] events, Long userId, Long groupId)Subscribes a foldervoidupdate(long[] ids, boolean currentOnly, String[] events)Changes a set of subscriptions 
 - 
 
- 
- 
Method Detail
- 
subscribeFolder
void subscribeFolder(long folderId, boolean currentOnly, String[] events, Long userId, Long groupId) throws ServerExceptionSubscribes a folder- Parameters:
 folderId- identifier of the foldercurrentOnly- if the subscription must be on the folder only(not children)events- the events to subscribe touserId- identifier of the user (if not specified, fill thegroupId)groupId- identifier of the group (if not specified, fill theuserId)- Throws:
 ServerException- error in the server application
 
- 
subscribeDocuments
void subscribeDocuments(long[] docIds, String[] events, Long userId, Long groupId) throws ServerExceptionSubscribes a selection of documents- Parameters:
 docIds- identifiers of the documentsevents- the events to subscribe touserId- identifier of the user (if not specified, fill thegroupId)groupId- identifier of the group (if not specified, fill theuserId)- Throws:
 ServerException- error in the server application
 
- 
update
void update(long[] ids, boolean currentOnly, String[] events) throws ServerExceptionChanges a set of subscriptions- Parameters:
 ids- identifiers of the subscriptionscurrentOnly- if the subscription must be on the folder only(not children)events- the events to subscribe to- Throws:
 ServerException- error in the server application
 
- 
deleteSubscriptions
void deleteSubscriptions(long[] ids) throws ServerExceptionDeletes a list of Subscriptions- Parameters:
 ids- identifiers of the subscriptions- Throws:
 ServerException- error in the server application
 
 - 
 
 -