org.nhind.config.rest.impl
Class DefaultTrustBundleService
java.lang.Object
org.nhindirect.common.rest.AbstractUnsecuredService
org.nhindirect.common.rest.AbstractSecuredService
org.nhind.config.rest.impl.DefaultTrustBundleService
- All Implemented Interfaces:
- TrustBundleService
public class DefaultTrustBundleService
- extends org.nhindirect.common.rest.AbstractSecuredService
- implements TrustBundleService
|
Constructor Summary |
DefaultTrustBundleService(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 |
DefaultTrustBundleService
public DefaultTrustBundleService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
getTrustBundles
public java.util.Collection<org.nhindirect.config.model.TrustBundle> getTrustBundles(boolean fetchAnchors)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getTrustBundles in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getTrustBundlesByDomain
public java.util.Collection<org.nhindirect.config.model.TrustBundleDomainReltn> getTrustBundlesByDomain(java.lang.String domainName,
boolean fetchAnchors)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getTrustBundlesByDomain in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getTrustBundle
public org.nhindirect.config.model.TrustBundle getTrustBundle(java.lang.String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getTrustBundle in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addTrustBundle
public void addTrustBundle(org.nhindirect.config.model.TrustBundle bundle)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addTrustBundle in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
refreshTrustBundle
public void refreshTrustBundle(java.lang.String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
refreshTrustBundle in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deleteTrustBundle
public void deleteTrustBundle(java.lang.String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deleteTrustBundle in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
updateSigningCert
public void updateSigningCert(java.lang.String bundleName,
java.security.cert.X509Certificate cert)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
updateSigningCert in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
updateTrustBundleAttributes
public void updateTrustBundleAttributes(java.lang.String bundleName,
org.nhindirect.config.model.TrustBundle bundleData)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
updateTrustBundleAttributes in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
associateTrustBundleToDomain
public void associateTrustBundleToDomain(java.lang.String bundleName,
java.lang.String domainName,
boolean incoming,
boolean outgoing)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
associateTrustBundleToDomain in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundleFromDomain
public void disassociateTrustBundleFromDomain(java.lang.String bundleName,
java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociateTrustBundleFromDomain in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundlesFromDomain
public void disassociateTrustBundlesFromDomain(java.lang.String domainName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociateTrustBundlesFromDomain in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
disassociateTrustBundleFromDomains
public void disassociateTrustBundleFromDomains(java.lang.String bundleName)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
disassociateTrustBundleFromDomains in interface TrustBundleService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
Copyright © 2014. All Rights Reserved.