@Component public class DefaultCertificateService extends Object implements CertificateService
| Constructor and Description |
|---|
DefaultCertificateService(CertificateClient certClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificate(org.nhindirect.config.model.Certificate cert) |
void |
deleteCertificateByOwner(String owner) |
void |
deleteCertificatesByIds(Collection<Long> ids) |
Collection<org.nhindirect.config.model.Certificate> |
getAllCertificates() |
Collection<org.nhindirect.config.model.Certificate> |
getCertificatesByOwner(String owner) |
org.nhindirect.config.model.Certificate |
getCertificatesByOwnerAndThumbprint(String owner,
String thumbprint) |
void |
setCertificateClient(CertificateClient certClient) |
public DefaultCertificateService(CertificateClient certClient)
@Autowired public void setCertificateClient(CertificateClient certClient)
public Collection<org.nhindirect.config.model.Certificate> getAllCertificates() throws org.nhindirect.common.rest.exceptions.ServiceException
getAllCertificates in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.Certificate> getCertificatesByOwner(String owner) throws org.nhindirect.common.rest.exceptions.ServiceException
getCertificatesByOwner in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic org.nhindirect.config.model.Certificate getCertificatesByOwnerAndThumbprint(String owner, String thumbprint) throws org.nhindirect.common.rest.exceptions.ServiceException
getCertificatesByOwnerAndThumbprint in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addCertificate(org.nhindirect.config.model.Certificate cert)
throws org.nhindirect.common.rest.exceptions.ServiceException
addCertificate in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteCertificatesByIds(Collection<Long> ids) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteCertificatesByIds in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteCertificateByOwner(String owner) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteCertificateByOwner in interface CertificateServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.