public class CardEndpoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
log |
Constructor and Description |
---|
CardEndpoint() |
Modifier and Type | Method and Description |
---|---|
DefaultResponse |
addCardsToWalletOffline(java.lang.Long userId,
BCardList bCardList) |
DefaultResponse |
addCardToWallet(java.lang.Long userId,
java.lang.Long cardId)
Wallet Cards
|
java.util.List<Background> |
allBackground() |
java.util.ArrayList<MyBCard> |
allMyCards(java.lang.Long userId)
Own Cards
|
DefaultResponse |
deleteMyBCardRecord(java.lang.Long userId,
java.lang.Long bCardId) |
java.util.List<BCardThumbnail> |
getAllThumbnailBCard(java.lang.Long userId) |
BCardResponse |
getBCard(java.lang.Long id) |
EntityResponse<Record<BCard,BCardScoreRecord>> |
getBCardAndRecord(java.lang.Long id,
java.lang.Integer limit,
java.lang.String cursor) |
EntityResponse<CompleteBCard> |
getBCardAndScore(java.lang.Long id) |
BCardResponse |
getBCardFromWalletId(java.lang.Long walletId) |
EntityResponse<BCardScore> |
getBCardScore(java.lang.Long bCardId) |
EntityResponse<BCardScoreRecord> |
getMyBCardRecord(java.lang.Long userId,
java.lang.Long bCardId) |
DefaultResponse |
getURLByShortId(java.lang.Integer shortId) |
java.util.List<Wallet> |
getWallet(java.lang.Long userId) |
BCardResponse |
insertBCard(BCard card) |
DefaultResponse |
insertBCardOnly(long uId,
BCard card) |
EntityCollectionResponse<BCardScoreRecord> |
listBCardScoreRecord(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long bCardId) |
EntityCollectionResponse<BCardLite> |
queryBCardWithFilters(java.lang.Integer limit,
java.lang.String cursor,
Filter filter) |
DefaultResponse |
removeBCard(java.lang.Long id) |
DefaultResponse |
removeBCardFromWallet(java.lang.Long id) |
java.util.List<Background> |
removeMyCards(java.lang.Long userId) |
DefaultResponse |
saveBCardScore(BCardScoreRecord record) |
com.google.api.server.spi.response.CollectionResponse<MyBCard> |
searchInBCard(java.lang.String word,
java.lang.String cursor,
java.lang.Integer limit) |
BCardResponse |
updateBCard(BCard card) |
public com.google.api.server.spi.response.CollectionResponse<MyBCard> searchInBCard(java.lang.String word, java.lang.String cursor, java.lang.Integer limit)
public EntityCollectionResponse<BCardLite> queryBCardWithFilters(java.lang.Integer limit, java.lang.String cursor, Filter filter)
public DefaultResponse getURLByShortId(java.lang.Integer shortId)
public BCardResponse getBCard(java.lang.Long id)
public EntityResponse<CompleteBCard> getBCardAndScore(java.lang.Long id)
public EntityResponse<Record<BCard,BCardScoreRecord>> getBCardAndRecord(java.lang.Long id, java.lang.Integer limit, java.lang.String cursor)
public DefaultResponse insertBCardOnly(long uId, BCard card)
public BCardResponse insertBCard(BCard card)
public DefaultResponse removeBCard(java.lang.Long id)
public BCardResponse updateBCard(BCard card)
public java.util.List<BCardThumbnail> getAllThumbnailBCard(java.lang.Long userId)
public java.util.ArrayList<MyBCard> allMyCards(java.lang.Long userId)
public java.util.List<Background> allBackground()
public java.util.List<Background> removeMyCards(java.lang.Long userId)
public DefaultResponse addCardToWallet(java.lang.Long userId, java.lang.Long cardId)
public DefaultResponse addCardsToWalletOffline(java.lang.Long userId, BCardList bCardList)
public java.util.List<Wallet> getWallet(java.lang.Long userId)
public BCardResponse getBCardFromWalletId(java.lang.Long walletId)
public DefaultResponse removeBCardFromWallet(java.lang.Long id)
public DefaultResponse saveBCardScore(BCardScoreRecord record)
public EntityResponse<BCardScore> getBCardScore(java.lang.Long bCardId)
public EntityResponse<BCardScoreRecord> getMyBCardRecord(java.lang.Long userId, java.lang.Long bCardId)
public DefaultResponse deleteMyBCardRecord(java.lang.Long userId, java.lang.Long bCardId)
public EntityCollectionResponse<BCardScoreRecord> listBCardScoreRecord(java.lang.Integer limit, java.lang.String cursor, java.lang.Long bCardId)