public interface AnchorService
| Modifier and Type | Method and Description |
|---|---|
void |
addAnchors(Collection<org.nhindirect.config.store.Anchor> anchors)
Add a collection of Anchors.
|
org.nhindirect.config.store.Anchor |
getAnchor(String owner,
String thumbprint,
CertificateGetOptions options)
Get an Anchor.
|
Collection<org.nhindirect.config.store.Anchor> |
getAnchors(Collection<Long> anchorIds,
CertificateGetOptions options)
Get a collection of Anchors.
|
Collection<org.nhindirect.config.store.Anchor> |
getAnchorsForOwner(String owner,
CertificateGetOptions options)
Get a collection of Anchors for an owner.
|
Collection<org.nhindirect.config.store.Anchor> |
getIncomingAnchors(String owner,
CertificateGetOptions options)
Get a collection of incoming Anchors.
|
Collection<org.nhindirect.config.store.Anchor> |
getOutgoingAnchors(String owner,
CertificateGetOptions options)
Get a collection of outgoing Anchors.
|
Collection<org.nhindirect.config.store.Anchor> |
listAnchors(Long lastAnchorID,
int maxResults,
CertificateGetOptions options)
Get a collection of Anchors.
|
void |
removeAnchors(Collection<Long> anchorIds)
Remove an Anchor.
|
void |
removeAnchorsForOwner(String owner)
Remove the Anchors for an owner.
|
void |
setAnchorStatusForOwner(String owner,
org.nhindirect.config.store.EntityStatus status)
Set an Anchor status for a given owner.
|
void addAnchors(Collection<org.nhindirect.config.store.Anchor> anchors) throws ConfigurationServiceException
anchors - A collection of Anchors.ConfigurationServiceExceptionorg.nhindirect.config.store.Anchor getAnchor(String owner, String thumbprint, CertificateGetOptions options) throws ConfigurationServiceException
owner - The Anchor owner.thumbprint - The Anchor thumbprint.options - The Anchor options.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Anchor> getAnchors(Collection<Long> anchorIds, CertificateGetOptions options) throws ConfigurationServiceException
anchorIds - A collection of Anchor IDs.options - The Anchor options.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Anchor> getAnchorsForOwner(String owner, CertificateGetOptions options) throws ConfigurationServiceException
owner - The Anchor owner.options - The Anchor options.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Anchor> getIncomingAnchors(String owner, CertificateGetOptions options) throws ConfigurationServiceException
owner - The Anchor owner.options - The Anchor options.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Anchor> getOutgoingAnchors(String owner, CertificateGetOptions options) throws ConfigurationServiceException
owner - The Anchor owner.options - The Anchor options.ConfigurationServiceExceptionvoid setAnchorStatusForOwner(String owner, org.nhindirect.config.store.EntityStatus status) throws ConfigurationServiceException
owner - The anchor owner.status - The anchor status.ConfigurationServiceExceptionCollection<org.nhindirect.config.store.Anchor> listAnchors(Long lastAnchorID, int maxResults, CertificateGetOptions options) throws ConfigurationServiceException
lastAnchorID - The last Anchor ID.maxResults - The maximum number of results.options - The Anchor options.ConfigurationServiceExceptionvoid removeAnchors(Collection<Long> anchorIds) throws ConfigurationServiceException
anchorIds - A collection of Anchor IDs.ConfigurationServiceExceptionvoid removeAnchorsForOwner(String owner) throws ConfigurationServiceException
owner - The Anchor owner.ConfigurationServiceExceptionCopyright © 2015. All Rights Reserved.