org.apache.chemistry.opencmis.client.bindings.spi.local
Class PolicyServiceImpl
java.lang.Object
org.apache.chemistry.opencmis.client.bindings.spi.local.AbstractLocalService
org.apache.chemistry.opencmis.client.bindings.spi.local.PolicyServiceImpl
- All Implemented Interfaces:
- PolicyService
public class PolicyServiceImpl
- extends AbstractLocalService
- implements PolicyService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyServiceImpl
public PolicyServiceImpl(BindingSession session,
CmisServiceFactory factory)
- Constructor.
applyPolicy
public void applyPolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension)
- Description copied from interface:
PolicyService
- Applies a specified policy to an object.
- Specified by:
applyPolicy
in interface PolicyService
getAppliedPolicies
public List<ObjectData> getAppliedPolicies(String repositoryId,
String objectId,
String filter,
ExtensionsData extension)
- Description copied from interface:
PolicyService
- Gets the list of policies currently applied to the specified object.
- Specified by:
getAppliedPolicies
in interface PolicyService
removePolicy
public void removePolicy(String repositoryId,
String policyId,
String objectId,
ExtensionsData extension)
- Description copied from interface:
PolicyService
- Removes a specified policy from an object.
- Specified by:
removePolicy
in interface PolicyService
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.