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

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.atompub.PolicyService

public class PolicyService
extends java.lang.Object

Policy Service operations.


Method Summary
static void applyPolicy(CallContext context, CmisService service, java.lang.String repositoryId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Apply policy.
static void getAppliedPolicies(CallContext context, CmisService service, java.lang.String repositoryId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get applied policies.
static void removePolicy(CallContext context, CmisService service, java.lang.String repositoryId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Remove policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAppliedPolicies

public static void getAppliedPolicies(CallContext context,
                                      CmisService service,
                                      java.lang.String repositoryId,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response)
                               throws java.lang.Exception
Get applied policies.

Throws:
java.lang.Exception

applyPolicy

public static void applyPolicy(CallContext context,
                               CmisService service,
                               java.lang.String repositoryId,
                               javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
                        throws java.lang.Exception
Apply policy.

Throws:
java.lang.Exception

removePolicy

public static void removePolicy(CallContext context,
                                CmisService service,
                                java.lang.String repositoryId,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
Remove policy.



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