Interface RetentionPoliciesService
- 
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
 
 @RemoteServiceRelativePath("retentionpolicies") public interface RetentionPoliciesService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the RetentionPolicies Service. This service gives all needed methods to handle the retention policies.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classRetentionPoliciesService.Instance
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidchangeStatus(long id, boolean enabled)Changes a policy enabled/disabled statusvoiddelete(long id)Deletes a given policyGUIRetentionPolicygetPolicy(long id)Loads a given policy from the databasevoidreorder(long[] ids)Reorder the policiesGUIRetentionPolicysave(GUIRetentionPolicy policy)Creates or updates a retention policy
 
- 
- 
- 
Method Detail- 
deletevoid delete(long id) throws ServerExceptionDeletes a given policy- Parameters:
- id- identifier of the retention policy
- Throws:
- ServerException- an error happened in the server application
 
 - 
saveGUIRetentionPolicy save(GUIRetentionPolicy policy) throws ServerException Creates or updates a retention policy- Parameters:
- policy- the retention policy to save
- Returns:
- the saved retention policy
- Throws:
- ServerException- an error happened in the server application
 
 - 
getPolicyGUIRetentionPolicy getPolicy(long id) throws ServerException Loads a given policy from the database- Parameters:
- id- identifiers of the policy
- Returns:
- the saved retention policy
- Throws:
- ServerException- an error happened in the server application
 
 - 
reordervoid reorder(long[] ids) throws ServerExceptionReorder the policies- Parameters:
- ids- identifier of the policies to reorder
- Throws:
- ServerException- an error happened in the server application
 
 - 
changeStatusvoid changeStatus(long id, boolean enabled) throws ServerExceptionChanges a policy enabled/disabled status- Parameters:
- id- identifier of the policy to enable/disable
- enabled- the enabled status of the policy
- Throws:
- ServerException- an error happened in the server application
 
 
- 
 
-