public class PolicyServiceImpl extends AbstractBrowserBindingService implements PolicyService
SIMPLE_CONTAINER_FACTORY
Constructor and Description |
---|
PolicyServiceImpl(BindingSession session)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
convertStatusCode, getHttpInvoker, getObjectUrl, getObjectUrl, getPathUrl, getRepositoriesInternal, getRepositoryUrl, getRepositoryUrl, getRepositoryUrlCache, getServiceUrl, getSession, getSuccinct, getSuccinctParameter, getTypeDefinitionInternal, loadContentLink, loadLink, parse, parseArray, parseObject, post, postAndConsume, read, setSession
public PolicyServiceImpl(BindingSession session)
public void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
PolicyService
applyPolicy
in interface PolicyService
public void removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
PolicyService
removePolicy
in interface PolicyService
public List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, ExtensionsData extension)
PolicyService
getAppliedPolicies
in interface PolicyService
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.