org.apache.chemistry.opencmis.client.bindings.spi.atompub
Class PolicyServiceImpl
java.lang.Object
org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService
org.apache.chemistry.opencmis.client.bindings.spi.atompub.PolicyServiceImpl
- All Implemented Interfaces:
- LinkAccess, PolicyService
public class PolicyServiceImpl
- extends AbstractAtomPubService
- implements PolicyService
Policy Service AtomPub client.
Method Summary |
void |
applyPolicy(java.lang.String repositoryId,
java.lang.String policyId,
java.lang.String objectId,
ExtensionsData extension)
Applies a specified policy to an object. |
java.util.List<ObjectData> |
getAppliedPolicies(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.String filter,
ExtensionsData extension)
Gets the list of policies currently applied to the specified object. |
void |
removePolicy(java.lang.String repositoryId,
java.lang.String policyId,
java.lang.String objectId,
ExtensionsData extension)
Removes a specified policy from an object. |
Methods inherited from class org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService |
addCollection, addLink, addLink, addRepositoryLink, addRepositoryLink, addTemplate, addTypeLink, addTypeLink, convertStatusCode, createIdObject, delete, extractErrorMessage, extractException, getCollection, getLink, getLink, getLinkCache, getObjectInternal, getRepositoriesInternal, getRepositoryLink, getServiceDocURL, getSession, getTemplateLink, getTypeDefinitionInternal, getTypeLink, getTypeLink, is, isAclMergeRequired, isInt, isNextLink, isStr, loadCollection, loadContentLink, loadLink, loadRepositoryLink, loadTemplateLink, loadTypeLink, lockLinks, lockTypeLinks, mergeAcls, parse, post, put, put, read, removeLinks, removeTypeLinks, setSession, throwLinkException, unlockLinks, unlockTypeLinks, updateAcl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyServiceImpl
public PolicyServiceImpl(BindingSession session)
- Constructor.
applyPolicy
public void applyPolicy(java.lang.String repositoryId,
java.lang.String policyId,
java.lang.String objectId,
ExtensionsData extension)
- Description copied from interface:
PolicyService
- Applies a specified policy to an object.
- Specified by:
applyPolicy
in interface PolicyService
getAppliedPolicies
public java.util.List<ObjectData> getAppliedPolicies(java.lang.String repositoryId,
java.lang.String objectId,
java.lang.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(java.lang.String repositoryId,
java.lang.String policyId,
java.lang.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.