org.nhind.config.rest.impl
Class DefaultCertificateService
java.lang.Object
org.nhindirect.common.rest.AbstractUnsecuredService
org.nhindirect.common.rest.AbstractSecuredService
org.nhind.config.rest.impl.DefaultCertificateService
- All Implemented Interfaces:
- CertificateService
public class DefaultCertificateService
- extends org.nhindirect.common.rest.AbstractSecuredService
- implements CertificateService
|
Constructor Summary |
DefaultCertificateService(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 |
DefaultCertificateService
public DefaultCertificateService(java.lang.String serviceUrl,
org.apache.http.client.HttpClient httpClient,
org.nhindirect.common.rest.ServiceSecurityManager securityManager)
getAllCertificates
public java.util.Collection<org.nhindirect.config.model.Certificate> getAllCertificates()
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getAllCertificates in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getCertificatesByOwner
public java.util.Collection<org.nhindirect.config.model.Certificate> getCertificatesByOwner(java.lang.String owner)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getCertificatesByOwner in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
getCertificatesByOwnerAndThumbprint
public org.nhindirect.config.model.Certificate getCertificatesByOwnerAndThumbprint(java.lang.String owner,
java.lang.String thumbprint)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
getCertificatesByOwnerAndThumbprint in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
addCertificate
public void addCertificate(org.nhindirect.config.model.Certificate cert)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
addCertificate in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deleteCertificatesByIds
public void deleteCertificatesByIds(java.util.Collection<java.lang.Long> ids)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deleteCertificatesByIds in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
deleteCertificateByOwner
public void deleteCertificateByOwner(java.lang.String owner)
throws org.nhindirect.common.rest.exceptions.ServiceException
- Specified by:
deleteCertificateByOwner in interface CertificateService
- Throws:
org.nhindirect.common.rest.exceptions.ServiceException
Copyright © 2014. All Rights Reserved.