|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.service.impl.AnchorServiceImpl
public class AnchorServiceImpl
Service class for methods related to an Anchor object.
| Constructor Summary | |
|---|---|
AnchorServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addAnchors(Collection<Anchor> anchors)
Add a collection of Anchors. |
Anchor |
getAnchor(String owner,
String thumbprint,
CertificateGetOptions options)
Get an Anchor. |
Collection<Anchor> |
getAnchors(Collection<Long> anchorIds,
CertificateGetOptions options)
Get a collection of Anchors. |
Collection<Anchor> |
getAnchorsForOwner(String owner,
CertificateGetOptions options)
Get a collection of Anchors for an owner. |
AnchorDao |
getDao()
Return the value of the AnchorDao object. |
Collection<Anchor> |
getIncomingAnchors(String owner,
CertificateGetOptions options)
Get a collection of incoming Anchors. |
Collection<Anchor> |
getOutgoingAnchors(String owner,
CertificateGetOptions options)
Get a collection of outgoing Anchors. |
Collection<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,
EntityStatus status)
Set an Anchor status for a given owner. |
void |
setDao(AnchorDao dao)
Set the value of the AnchorDao object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnchorServiceImpl()
| Method Detail |
|---|
public void addAnchors(Collection<Anchor> anchors)
throws ConfigurationServiceException
AnchorService
addAnchors in interface AnchorServiceanchors - A collection of Anchors.
ConfigurationServiceException
public Anchor getAnchor(String owner,
String thumbprint,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
getAnchor in interface AnchorServiceowner - The Anchor owner.thumbprint - The Anchor thumbprint.options - The Anchor options.
ConfigurationServiceException
public Collection<Anchor> getAnchors(Collection<Long> anchorIds,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
getAnchors in interface AnchorServiceanchorIds - A collection of Anchor IDs.options - The Anchor options.
ConfigurationServiceException
public Collection<Anchor> getAnchorsForOwner(String owner,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
getAnchorsForOwner in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.
ConfigurationServiceException
public Collection<Anchor> getIncomingAnchors(String owner,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
getIncomingAnchors in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.
ConfigurationServiceException
public Collection<Anchor> getOutgoingAnchors(String owner,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
getOutgoingAnchors in interface AnchorServiceowner - The Anchor owner.options - The Anchor options.
ConfigurationServiceException
public void setAnchorStatusForOwner(String owner,
EntityStatus status)
throws ConfigurationServiceException
AnchorService
setAnchorStatusForOwner in interface AnchorServiceowner - The anchor owner.status - The anchor status.
ConfigurationServiceException
public Collection<Anchor> listAnchors(Long lastAnchorID,
int maxResults,
CertificateGetOptions options)
throws ConfigurationServiceException
AnchorService
listAnchors in interface AnchorServicelastAnchorID - The last Anchor ID.maxResults - The maximum number of results.options - The Anchor options.
ConfigurationServiceException
public void removeAnchors(Collection<Long> anchorIds)
throws ConfigurationServiceException
AnchorService
removeAnchors in interface AnchorServiceanchorIds - A collection of Anchor IDs.
ConfigurationServiceException
public void removeAnchorsForOwner(String owner)
throws ConfigurationServiceException
AnchorService
removeAnchorsForOwner in interface AnchorServiceowner - The Anchor owner.
ConfigurationServiceExceptionpublic void setDao(AnchorDao dao)
dao - the value of the AnchorDao object.public AnchorDao getDao()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||