public class CertificateServiceImpl extends Object implements CertificateService
| Constructor and Description |
|---|
CertificateServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificates(Collection<org.nhindirect.config.store.Certificate> certs)
Add a Certificate.
|
boolean |
contains(org.nhindirect.config.store.Certificate cert)
Determines if a certificate exists in the certificate store.
|
org.nhindirect.config.store.Certificate |
getCertificate(String owner,
String thumbprint,
CertificateGetOptions options)
Get a Certificate.
|
Collection<org.nhindirect.config.store.Certificate> |
getCertificates(Collection<Long> certIds,
CertificateGetOptions options)
Get a collection of Certificates.
|
Collection<org.nhindirect.config.store.Certificate> |
getCertificatesForOwner(String owner,
CertificateGetOptions options)
Get a collection of Certificates for an owner.
|
void |
init()
Initialization method.
|
Collection<org.nhindirect.config.store.Certificate> |
listCertificates(long lastCertificateID,
int maxResults,
CertificateGetOptions options)
Get a collection of Certificates.
|
void |
removeCertificates(Collection<Long> certificateIds)
Remove a Certificate.
|
void |
removeCertificatesForOwner(String owner)
Remove the Certificates for an owner.
|
void |
setCertificateStatus(Collection<Long> certificateIDs,
org.nhindirect.config.store.EntityStatus status)
Set a Certificate status.
|
void |
setCertificateStatusForOwner(String owner,
org.nhindirect.config.store.EntityStatus status)
Set the Certificate status for an owner.
|
void |
setDao(org.nhindirect.config.store.dao.CertificateDao aDao)
Set the value of the CertificateDao object.
|
@Autowired public void setDao(org.nhindirect.config.store.dao.CertificateDao aDao)
aDao - The value of the CertificateDao object.public void init()
public void addCertificates(Collection<org.nhindirect.config.store.Certificate> certs) throws ConfigurationServiceException
CertificateServiceaddCertificates in interface CertificateServicecerts - The Certificate.ConfigurationServiceExceptionpublic org.nhindirect.config.store.Certificate getCertificate(String owner, String thumbprint, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificate in interface CertificateServiceowner - The Certificate owner.thumbprint - The Certificate thumbprint.options - The Certificate options.ConfigurationServiceExceptionpublic Collection<org.nhindirect.config.store.Certificate> getCertificates(Collection<Long> certIds, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificates in interface CertificateServicecertIds - A collection of Certificate IDs.options - The Certificate options.ConfigurationServiceExceptionpublic Collection<org.nhindirect.config.store.Certificate> getCertificatesForOwner(String owner, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicegetCertificatesForOwner in interface CertificateServiceowner - The Certificate owner.options - The Certificate options.ConfigurationServiceExceptionpublic void setCertificateStatus(Collection<Long> certificateIDs, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
CertificateServicesetCertificateStatus in interface CertificateServicecertificateIDs - A collection of Certificates.status - The Certificate status.ConfigurationServiceExceptionpublic void setCertificateStatusForOwner(String owner, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
CertificateServicesetCertificateStatusForOwner in interface CertificateServiceowner - The Certificate owner.status - The Certificate status.ConfigurationServiceExceptionpublic void removeCertificates(Collection<Long> certificateIds) throws ConfigurationServiceException
CertificateServiceremoveCertificates in interface CertificateServicecertificateIds - A collection of Certificate IDs.ConfigurationServiceExceptionpublic void removeCertificatesForOwner(String owner) throws ConfigurationServiceException
CertificateServiceremoveCertificatesForOwner in interface CertificateServiceowner - The Certificate owner.ConfigurationServiceExceptionpublic Collection<org.nhindirect.config.store.Certificate> listCertificates(long lastCertificateID, int maxResults, CertificateGetOptions options) throws ConfigurationServiceException
CertificateServicelistCertificates in interface CertificateServicelastCertificateID - The last Certificate ID.maxResults - The maximum number of results.options - The Certificate options.ConfigurationServiceExceptionpublic boolean contains(org.nhindirect.config.store.Certificate cert)
CertificateServicecontains in interface CertificateServicecert - The certificate to search for.Copyright © 2015. All Rights Reserved.