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, getDateTimeFormat, getDateTimeFormatParameter, getHttpInvoker, getObjectUrl, getObjectUrl, getPathUrl, getRepositoriesInternal, getRepositoryUrl, getRepositoryUrl, getRepositoryUrlCache, getServiceUrl, getSession, getSuccinct, getSuccinctParameter, getTypeDefinitionInternal, loadContentLink, loadLink, loadRenditionContentLink, parse, parseArray, parseObject, post, postAndConsume, read, setChangeToken, setSessionpublic PolicyServiceImpl(BindingSession session)
public void applyPolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
PolicyServiceapplyPolicy in interface PolicyServicepublic void removePolicy(String repositoryId, String policyId, String objectId, ExtensionsData extension)
PolicyServiceremovePolicy in interface PolicyServicepublic List<ObjectData> getAppliedPolicies(String repositoryId, String objectId, String filter, ExtensionsData extension)
PolicyServicegetAppliedPolicies in interface PolicyServiceCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.