@Component public class DefaultAnchorService extends Object implements AnchorService
| Constructor and Description |
|---|
DefaultAnchorService(AnchorClient anchorClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnchor(org.nhindirect.config.model.Anchor anchor) |
void |
deleteAnchorsByIds(Collection<Long> ids) |
void |
deleteAnchorsByOwner(String owner) |
Collection<org.nhindirect.config.model.Anchor> |
getAnchors() |
Collection<org.nhindirect.config.model.Anchor> |
getAnchorsForOwner(String owner,
boolean incoming,
boolean outgoing,
String thumbprint) |
void |
setAnchorClient(AnchorClient anchorClient) |
public DefaultAnchorService(AnchorClient anchorClient)
@Autowired public void setAnchorClient(AnchorClient anchorClient)
public Collection<org.nhindirect.config.model.Anchor> getAnchors() throws org.nhindirect.common.rest.exceptions.ServiceException
getAnchors in interface AnchorServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic Collection<org.nhindirect.config.model.Anchor> getAnchorsForOwner(String owner, boolean incoming, boolean outgoing, String thumbprint) throws org.nhindirect.common.rest.exceptions.ServiceException
getAnchorsForOwner in interface AnchorServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void addAnchor(org.nhindirect.config.model.Anchor anchor)
throws org.nhindirect.common.rest.exceptions.ServiceException
addAnchor in interface AnchorServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteAnchorsByIds(Collection<Long> ids) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteAnchorsByIds in interface AnchorServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionpublic void deleteAnchorsByOwner(String owner) throws org.nhindirect.common.rest.exceptions.ServiceException
deleteAnchorsByOwner in interface AnchorServiceorg.nhindirect.common.rest.exceptions.ServiceExceptionCopyright © 2021. All rights reserved.