public interface PolicyService
See the CMIS 1.0 and CMIS 1.1 specifications for details on the operations, parameters, exceptions and the domain model.
Modifier and Type | Method and Description |
---|---|
void |
applyPolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension)
Applies a specified policy to an object.
|
List<ObjectData> |
getAppliedPolicies(String repositoryId,
String objectId,
String filter,
ExtensionsData extension)
Gets the list of policies currently applied to the specified object.
|
void |
removePolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension)
Removes a specified policy from an object.
|
void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
repositoryId
- the identifier for the repositorypolicyId
- the policy to addobjectId
- the objectextension
- extension datavoid removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
repositoryId
- the identifier for the repositorypolicyId
- the policy to removeobjectId
- the objectextension
- extension dataList<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, ExtensionsData extension)
repositoryId
- the identifier for the repositoryobjectId
- the objectfilter
- (optional) a comma-separated list of query names that
defines which properties must be returned by the repository
(default is repository specific)extension
- extension dataCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.