org.nhindirect.config.store.dao
Interface CertificateDao

All Known Implementing Classes:
CertificateDaoImpl

public interface CertificateDao

Certificate data access methods.


Method Summary
 void delete(List<Long> idList)
          Delete a collection of Certificates.
 void delete(String owner)
          Delete a collection of Certificates.
 List<Certificate> list(List<Long> idList)
          Get a collection of Certificates.
 List<Certificate> list(String owner)
          Get a collection of Certificates.
 Certificate load(String owner, String thumbprint)
          Load a Certificate.
 void save(Certificate cert)
          Save a Certificate.
 void save(List<Certificate> certList)
          Save a collection of Certificates.
 void setStatus(List<Long> certificateIDs, EntityStatus status)
          Set the status of a collection of Certificates.
 void setStatus(String owner, EntityStatus status)
          Set the status of a collection of Certificates.
 

Method Detail

load

Certificate load(String owner,
                 String thumbprint)
Load a Certificate.

Parameters:
owner - The Certificate owner.
thumbprint - The Certificate thumbprint.
Returns:
a Certificate.

list

List<Certificate> list(List<Long> idList)
Get a collection of Certificates.

Parameters:
idList - The collection of Certificate IDs.
Returns:
a collection of Certificates.

list

List<Certificate> list(String owner)
Get a collection of Certificates.

Parameters:
owner - The Certificate owner.
Returns:
a collection of Certificates.

save

void save(Certificate cert)
Save a Certificate.

Parameters:
cert - The Certificate.

save

void save(List<Certificate> certList)
Save a collection of Certificates.

Parameters:
certList - The Collection of Certificates.

setStatus

void setStatus(List<Long> certificateIDs,
               EntityStatus status)
Set the status of a collection of Certificates.

Parameters:
certificateIDs - The collection of Certificate IDs.
status - The Certificate status.

setStatus

void setStatus(String owner,
               EntityStatus status)
Set the status of a collection of Certificates.

Parameters:
owner - The Certificate owner.
status - The Certificate status.

delete

void delete(List<Long> idList)
Delete a collection of Certificates.

Parameters:
idList - The collection of Certificate IDs.

delete

void delete(String owner)
Delete a collection of Certificates.

Parameters:
owner - The Certificate owner.


Copyright © 2011. All Rights Reserved.