org.apache.chemistry.opencmis.server.impl.webservices
Class PolicyService

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
      extended by org.apache.chemistry.opencmis.server.impl.webservices.PolicyService
All Implemented Interfaces:
PolicyServicePort

public class PolicyService
extends AbstractService
implements PolicyServicePort

CMIS Policy Service.


Field Summary
 
Fields inherited from class org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
CALL_CONTEXT_MAP
 
Constructor Summary
PolicyService()
           
 
Method Summary
 void applyPolicy(String repositoryId, String policyId, String objectId, javax.xml.ws.Holder<CmisExtensionType> extension)
           
 List<CmisObjectType> getAppliedPolicies(String repositoryId, String objectId, String filter, CmisExtensionType extension)
           
 void removePolicy(String repositoryId, String policyId, String objectId, javax.xml.ws.Holder<CmisExtensionType> extension)
           
 
Methods inherited from class org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
closeService, convertException, createContext, getService, getServiceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyService

public PolicyService()
Method Detail

applyPolicy

public void applyPolicy(String repositoryId,
                        String policyId,
                        String objectId,
                        javax.xml.ws.Holder<CmisExtensionType> extension)
                 throws CmisException
Specified by:
applyPolicy in interface PolicyServicePort
Throws:
CmisException

getAppliedPolicies

public List<CmisObjectType> getAppliedPolicies(String repositoryId,
                                               String objectId,
                                               String filter,
                                               CmisExtensionType extension)
                                        throws CmisException
Specified by:
getAppliedPolicies in interface PolicyServicePort
Returns:
returns java.util.List
Throws:
CmisException

removePolicy

public void removePolicy(String repositoryId,
                         String policyId,
                         String objectId,
                         javax.xml.ws.Holder<CmisExtensionType> extension)
                  throws CmisException
Specified by:
removePolicy in interface PolicyServicePort
Throws:
CmisException


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