org.apache.chemistry.opencmis.client.bindings.spi.webservices
Class PolicyServiceImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService
      extended by org.apache.chemistry.opencmis.client.bindings.spi.webservices.PolicyServiceImpl
All Implemented Interfaces:
PolicyService

public class PolicyServiceImpl
extends AbstractWebServicesService
implements PolicyService

Policy Service Web Services client.


Constructor Summary
PolicyServiceImpl(BindingSession session, AbstractPortProvider portProvider)
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService
convertException, getSession, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyServiceImpl

public PolicyServiceImpl(BindingSession session,
                         AbstractPortProvider portProvider)
Constructor.

Method Detail

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

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

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


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.