org.eclipse.higgins.sync.ws.rest
Class ICardRes

java.lang.Object
  extended by org.eclipse.higgins.sync.ws.rest.BaseRes
      extended by org.eclipse.higgins.sync.ws.rest.ICardRes

public class ICardRes
extends BaseRes

Represents ICard resource.

Author:
Alexander Yuhimenko

Constructor Summary
ICardRes()
           
 
Method Summary
 org.eclipse.higgins.sync.to.ResourceTO createCard(String accessTokenId, org.eclipse.higgins.sync.to.ResourceTO resourceTO)
           
 void deleteCard(String accessTokenId, String id)
           
 org.eclipse.higgins.sync.to.ResourceTO getCard(String accessTokenId, String id)
           
 org.eclipse.higgins.sync.to.CardsTO getCards(String accessTokenId)
           
 org.eclipse.higgins.sync.to.CardsTO importFromCrd(String accessTokenId, org.eclipse.higgins.sync.to.FileTO fileTO)
           
 org.eclipse.higgins.sync.to.ResourceTO updateCard(String accessTokenId, org.eclipse.higgins.sync.to.ResourceTO resourceTO)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICardRes

public ICardRes()
Method Detail

createCard

public org.eclipse.higgins.sync.to.ResourceTO createCard(@HeaderParam(value="Authorization")
                                                         String accessTokenId,
                                                         org.eclipse.higgins.sync.to.ResourceTO resourceTO)
                                                  throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                         org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                         org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException

importFromCrd

public org.eclipse.higgins.sync.to.CardsTO importFromCrd(@HeaderParam(value="Authorization")
                                                         String accessTokenId,
                                                         org.eclipse.higgins.sync.to.FileTO fileTO)
                                                  throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                         org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                         org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException

getCards

public org.eclipse.higgins.sync.to.CardsTO getCards(@HeaderParam(value="Authorization")
                                                    String accessTokenId)
                                             throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                    org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                    org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException

deleteCard

public void deleteCard(@HeaderParam(value="Authorization")
                       String accessTokenId,
                       String id)
                throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                       org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                       org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException

getCard

public org.eclipse.higgins.sync.to.ResourceTO getCard(@HeaderParam(value="Authorization")
                                                      String accessTokenId,
                                                      String id)
                                               throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                      org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                      org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException

updateCard

public org.eclipse.higgins.sync.to.ResourceTO updateCard(@HeaderParam(value="Authorization")
                                                         String accessTokenId,
                                                         org.eclipse.higgins.sync.to.ResourceTO resourceTO)
                                                  throws org.eclipse.higgins.sync.auth.exceptions.AuthenticationException,
                                                         org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException,
                                                         org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.sync.auth.exceptions.AuthenticationException
org.eclipse.higgins.sync.meta.exceptions.ResourceMetaDataException
org.eclipse.higgins.icard.CardException