org.nhind.config.rest.impl
Class DefaultCertPolicyService
java.lang.Object
org.nhindirect.common.rest.AbstractUnsecuredService
org.nhindirect.common.rest.AbstractSecuredService
org.nhind.config.rest.impl.DefaultCertPolicyService
- All Implemented Interfaces:
- CertPolicyService
public class DefaultCertPolicyService
- extends org.nhindirect.common.rest.AbstractSecuredService
- implements CertPolicyService
|
Constructor Summary |
DefaultCertPolicyService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCertPolicyService
public DefaultCertPolicyService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
getPolicies
public java.util.Collection<org.nhindirect.config.model.CertPolicy> getPolicies()
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicies in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getPolicyByName
public org.nhindirect.config.model.CertPolicy getPolicyByName(java.lang.String policyName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicyByName in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addPolicy
public void addPolicy(org.nhindirect.config.model.CertPolicy policy)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addPolicy in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deletePolicy
public void deletePolicy(java.lang.String policyName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deletePolicy in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
updatePolicy
public void updatePolicy(java.lang.String policyName,
org.nhindirect.config.model.CertPolicy policyAttributes)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
updatePolicy in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getPolicyGroups
public java.util.Collection<org.nhindirect.config.model.CertPolicyGroup> getPolicyGroups()
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicyGroups in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getPolicyGroup
public org.nhindirect.config.model.CertPolicyGroup getPolicyGroup(java.lang.String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicyGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addPolicyGroup
public void addPolicyGroup(org.nhindirect.config.model.CertPolicyGroup group)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addPolicyGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deletePolicyGroup
public void deletePolicyGroup(java.lang.String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deletePolicyGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
updatePolicyGroup
public void updatePolicyGroup(java.lang.String groupName,
java.lang.String newGroupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
updatePolicyGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addPolicyUseToGroup
public void addPolicyUseToGroup(java.lang.String groupName,
org.nhindirect.config.model.CertPolicyGroupUse use)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addPolicyUseToGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
removePolicyUseFromGroup
public void removePolicyUseFromGroup(java.lang.String groupName,
org.nhindirect.config.model.CertPolicyGroupUse use)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
removePolicyUseFromGroup in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getPolicyGroupDomainReltns
public java.util.Collection<org.nhindirect.config.model.CertPolicyGroupDomainReltn> getPolicyGroupDomainReltns()
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicyGroupDomainReltns in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getPolicyGroupsByDomain
public java.util.Collection<org.nhindirect.config.model.CertPolicyGroup> getPolicyGroupsByDomain(java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getPolicyGroupsByDomain in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
associatePolicyGroupToDomain
public void associatePolicyGroupToDomain(java.lang.String groupName,
java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
associatePolicyGroupToDomain in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociatePolicyGroupFromDomain
public void disassociatePolicyGroupFromDomain(java.lang.String groupName,
java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociatePolicyGroupFromDomain in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociatePolicyGroupsFromDomain
public void disassociatePolicyGroupsFromDomain(java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociatePolicyGroupsFromDomain in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociatePolicyGroupFromDomains
public void disassociatePolicyGroupFromDomains(java.lang.String groupName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociatePolicyGroupFromDomains in interface CertPolicyService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
Copyright © 2014. All Rights Reserved.