org.eclipse.higgins.sync.ws.rest
Class ICardRes
java.lang.Object
org.eclipse.higgins.sync.ws.rest.BaseRes
org.eclipse.higgins.sync.ws.rest.ICardRes
public class ICardRes
- extends BaseRes
Represents ICard resource.
- Author:
- Alexander Yuhimenko
|
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)
|
ICardRes
public ICardRes()
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