org.apache.chemistry.opencmis.commons.spi
Interface PolicyService

All Known Subinterfaces:
CmisService
All Known Implementing Classes:
CmisServiceWrapper

public interface PolicyService

Policy Service interface.

See CMIS 1.0 specification for details on the operations, parameters, exceptions and the domain model.


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.
 

Method Detail

applyPolicy

void applyPolicy(String repositoryId,
                 String policyId,
                 String objectId,
                 ExtensionsData extension)
Applies a specified policy to an object.


removePolicy

void removePolicy(String repositoryId,
                  String policyId,
                  String objectId,
                  ExtensionsData extension)
Removes a specified policy from an object.


getAppliedPolicies

List<ObjectData> getAppliedPolicies(String repositoryId,
                                    String objectId,
                                    String filter,
                                    ExtensionsData extension)
Gets the list of policies currently applied to the specified object.



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