org.nhind.config.rest.impl
Class DefaultAnchorService

java.lang.Object
  extended by org.nhindirect.common.rest.AbstractUnsecuredService
      extended by org.nhindirect.common.rest.AbstractSecuredService
          extended by org.nhind.config.rest.impl.DefaultAnchorService
All Implemented Interfaces:
AnchorService

public class DefaultAnchorService
extends org.nhindirect.common.rest.AbstractSecuredService
implements AnchorService


Constructor Summary
DefaultAnchorService(java.lang.String serviceUrl, org.apache.http.client.HttpClient httpClient, org.nhindirect.common.rest.ServiceSecurityManager securityManager)
           
 
Method Summary
 void addAnchor(org.nhindirect.config.model.Anchor anchor)
           
 void deleteAnchorsByIds(java.util.Collection<java.lang.Long> ids)
           
 void deleteAnchorsByOwner(java.lang.String owner)
           
 java.util.Collection<org.nhindirect.config.model.Anchor> getAnchors()
           
 java.util.Collection<org.nhindirect.config.model.Anchor> getAnchorsForOwner(java.lang.String owner, boolean incoming, boolean outgoing, java.lang.String thumbprint)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnchorService

public DefaultAnchorService(java.lang.String serviceUrl,
                            org.apache.http.client.HttpClient httpClient,
                            org.nhindirect.common.rest.ServiceSecurityManager securityManager)
Method Detail

getAnchors

public java.util.Collection<org.nhindirect.config.model.Anchor> getAnchors()
                                                                    throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
getAnchors in interface AnchorService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

getAnchorsForOwner

public java.util.Collection<org.nhindirect.config.model.Anchor> getAnchorsForOwner(java.lang.String owner,
                                                                                   boolean incoming,
                                                                                   boolean outgoing,
                                                                                   java.lang.String thumbprint)
                                                                            throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
getAnchorsForOwner in interface AnchorService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

addAnchor

public void addAnchor(org.nhindirect.config.model.Anchor anchor)
               throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
addAnchor in interface AnchorService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

deleteAnchorsByIds

public void deleteAnchorsByIds(java.util.Collection<java.lang.Long> ids)
                        throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
deleteAnchorsByIds in interface AnchorService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException

deleteAnchorsByOwner

public void deleteAnchorsByOwner(java.lang.String owner)
                          throws org.nhindirect.common.rest.exceptions.ServiceException
Specified by:
deleteAnchorsByOwner in interface AnchorService
Throws:
org.nhindirect.common.rest.exceptions.ServiceException


Copyright © 2014. All Rights Reserved.