public class AppEndpoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
log |
Constructor and Description |
---|
AppEndpoint() |
Modifier and Type | Method and Description |
---|---|
DefaultResponse |
acceptInvite(java.lang.Long inviteId) |
DefaultResponse |
addCardsToWalletOffline(java.lang.Long userId,
BCardList bCardList) |
DefaultResponse |
addCardToWallet(java.lang.Long userId,
java.lang.Long cardId)
Wallet Cards
|
EntityResponse<Business> |
addProduct(Business business)
Business
|
DefaultResponse |
addShareEvent(java.lang.Long eventId) |
java.util.List<Background> |
allBackground() |
java.util.ArrayList<MyBCard> |
allMyCards(java.lang.Long userId)
Own Cards
|
EntityResponse<Invite> |
createInvite(java.lang.Long eventId,
java.lang.Long cardId,
InviteTypeEnum type) |
DefaultResponse |
declineInvite(java.lang.Long inviteId) |
DefaultResponse |
deleteEvent(java.lang.Long id) |
DefaultResponse |
deleteInvite(java.lang.Long inviteId) |
DefaultResponse |
deleteMyBCardRecord(java.lang.Long userId,
java.lang.Long bCardId) |
DefaultResponse |
deleteMyBusinessScoreRecord(java.lang.Long userId,
java.lang.Long businessId) |
DefaultResponse |
deleteMyEventScoreRecord(java.lang.Long userId,
java.lang.Long eventId) |
DefaultResponse |
deleteProduct(java.lang.Long id) |
EntityResponse<Invite> |
existingInvitation(java.lang.Long id,
java.lang.Long eventId) |
EntityCollectionResponse<Business> |
getAllProductByBCardId(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long bCardId) |
EntityCollectionResponse<Business> |
getAllProductByUserId(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long userId) |
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<Record<Business,BusinessScoreRecord>> |
getBusinessAndRecord(java.lang.Long id,
java.lang.Integer limit,
java.lang.String cursor) |
EntityResponse<BusinessScore> |
getBusinessScore(java.lang.Long businessId) |
EntityResponse<CompleteEvent> |
getEventAndScore(java.lang.Long id) |
EntityResponse<Event> |
getEventById(java.lang.Long id) |
EntityResponse<EventDetail> |
getEventDetail(java.lang.Long eventId) |
EntityCollectionResponse<Event> |
getEventsByBCardId(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long id) |
EntityCollectionResponse<Event> |
getEventsByCategory(java.lang.Integer limit,
java.lang.String cursor,
CategoryEventEnum category) |
EntityCollectionResponse<Invite> |
getEventsByUser(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long id) |
EntityResponse<EventScore> |
getEventScore(java.lang.Long eventId) |
EntityResponse<BCardScoreRecord> |
getMyBCardRecord(java.lang.Long userId,
java.lang.Long bCardId) |
EntityResponse<BusinessScoreRecord> |
getMyBusinessScoreRecord(java.lang.Long userId,
java.lang.Long businessId) |
EntityResponse<EventScoreRecord> |
getMyEventScoreRecord(java.lang.Long userId,
java.lang.Long eventId) |
EntityResponse<CompleteBusiness> |
getProductAndScore(java.lang.Long id) |
EntityResponse<Business> |
getProductById(java.lang.Long id) |
UserResponse |
getUser(java.lang.Long id) |
UserResponse |
getUserByEmail(java.lang.String email) |
java.util.List<Wallet> |
getWallet(java.lang.Long userId) |
BCardResponse |
insertBCard(BCard card) |
DefaultResponse |
insertLoginLink(java.lang.String email) |
UserResponse |
insertUser(java.lang.String group,
java.lang.String recommended,
User user) |
UserResponse |
insertUserApple(java.lang.String appleId,
java.lang.String group,
java.lang.String recommended,
User user) |
EntityCollectionResponse<App> |
listApps() |
EntityCollectionResponse<BCardScoreRecord> |
listBCardScoreRecord(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long bCardId) |
EntityCollectionResponse<BusinessScoreRecord> |
listBusinessScoreRecord(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long businessId) |
EntityCollectionResponse<BusinessCategory> |
listCategoryByType(java.lang.Integer limit,
java.lang.String cursor,
BusinessTypeEnum type) |
EntityCollectionResponse<EventScoreRecord> |
listEventScoreRecord(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long eventId) |
EntityCollectionResponse<Invite> |
listInvites(java.lang.Long eventId,
InviteTypeEnum type,
java.lang.Integer limit,
java.lang.String cursor) |
EntityCollectionResponse<BusinessSubCategory> |
listSubCategoryByCategoryId(java.lang.Integer limit,
java.lang.String cursor,
java.lang.Long id) |
com.google.api.server.spi.response.CollectionResponse<UserApp> |
listUserApp(java.lang.String cursor,
java.lang.Integer limit) |
EntityCollectionResponse<VecinoGroup> |
listVecinoGroup()
VECINOSHOP
|
UserResponse |
loginLink(java.lang.Long id,
java.lang.String token,
DeviceTypeEnum type) |
EntityCollectionResponse<BCardLite> |
queryBCardWithFilters(java.lang.Integer limit,
java.lang.String cursor,
Filter filter)
Cards
|
EntityCollectionResponse<LiteMap> |
queryBusinessAndBCards(java.lang.Integer limit,
java.lang.String cursor,
FilterAll filter) |
DefaultResponse |
removeBCard(java.lang.Long id) |
DefaultResponse |
removeBCardFromWallet(java.lang.Long id) |
java.util.List<Background> |
removeMyCards(java.lang.Long userId) |
DefaultResponse |
removeUser(java.lang.Long id) |
DefaultResponse |
saveBCardScore(BCardScoreRecord record) |
DefaultResponse |
saveBusinessScore(BusinessScoreRecord record) |
EntityResponse<Event> |
saveEvent(Event event)
Event
|
DefaultResponse |
saveEventScore(EventScoreRecord record) |
EntityResponse<BusinessSubCategory> |
saveSubCategory(BusinessSubCategory subCategory) |
EntityResponse<VecinoGroup> |
saveVecinoGroup(VecinoGroup vecinoGroup) |
UserResponse |
signInUser(java.lang.String email,
java.lang.String password,
java.lang.String token,
DeviceTypeEnum type) |
UserResponse |
signInUserApple(java.lang.String appleId,
java.lang.String token,
DeviceTypeEnum type) |
DefaultResponse |
signOut(java.lang.String token) |
BCardResponse |
updateBCard(BCard card) |
EntityResponse<Event> |
updateEvent(Event event) |
EntityResponse<Business> |
updateProduct(Business business) |
UserResponse |
updateUser(User user) |
public EntityCollectionResponse<App> listApps()
public com.google.api.server.spi.response.CollectionResponse<UserApp> listUserApp(java.lang.String cursor, java.lang.Integer limit)
public UserResponse getUser(java.lang.Long id)
public UserResponse insertUser(java.lang.String group, java.lang.String recommended, User user)
public UserResponse insertUserApple(java.lang.String appleId, java.lang.String group, java.lang.String recommended, User user)
public UserResponse updateUser(User user)
public DefaultResponse removeUser(java.lang.Long id)
public UserResponse getUserByEmail(java.lang.String email)
public UserResponse signInUser(java.lang.String email, java.lang.String password, java.lang.String token, DeviceTypeEnum type)
public UserResponse signInUserApple(java.lang.String appleId, java.lang.String token, DeviceTypeEnum type)
public DefaultResponse insertLoginLink(java.lang.String email)
public UserResponse loginLink(java.lang.Long id, java.lang.String token, DeviceTypeEnum type)
public EntityCollectionResponse<BCardLite> queryBCardWithFilters(java.lang.Integer limit, java.lang.String cursor, Filter filter)
public BCardResponse getBCard(java.lang.Long id)
public EntityResponse<CompleteBCard> getBCardAndScore(java.lang.Long id)
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)
public EntityResponse<Business> addProduct(Business business)
public DefaultResponse deleteProduct(java.lang.Long id)
public EntityResponse<Business> updateProduct(Business business)
public EntityResponse<Business> getProductById(java.lang.Long id)
public EntityCollectionResponse<Business> getAllProductByBCardId(java.lang.Integer limit, java.lang.String cursor, java.lang.Long bCardId)
public EntityCollectionResponse<Business> getAllProductByUserId(java.lang.Integer limit, java.lang.String cursor, java.lang.Long userId)
public EntityCollectionResponse<BusinessCategory> listCategoryByType(java.lang.Integer limit, java.lang.String cursor, BusinessTypeEnum type)
public EntityResponse<BusinessSubCategory> saveSubCategory(BusinessSubCategory subCategory)
public EntityCollectionResponse<BusinessSubCategory> listSubCategoryByCategoryId(java.lang.Integer limit, java.lang.String cursor, java.lang.Long id)
public EntityCollectionResponse<LiteMap> queryBusinessAndBCards(java.lang.Integer limit, java.lang.String cursor, FilterAll filter)
public DefaultResponse saveBusinessScore(BusinessScoreRecord record)
public EntityResponse<BusinessScore> getBusinessScore(java.lang.Long businessId)
public EntityCollectionResponse<BusinessScoreRecord> listBusinessScoreRecord(java.lang.Integer limit, java.lang.String cursor, java.lang.Long businessId)
public EntityResponse<BusinessScoreRecord> getMyBusinessScoreRecord(java.lang.Long userId, java.lang.Long businessId)
public DefaultResponse deleteMyBusinessScoreRecord(java.lang.Long userId, java.lang.Long businessId)
public EntityResponse<CompleteBusiness> getProductAndScore(java.lang.Long id)
public EntityResponse<Event> saveEvent(Event event)
public DefaultResponse deleteEvent(java.lang.Long id)
public EntityResponse<Event> updateEvent(Event event)
public EntityResponse<Event> getEventById(java.lang.Long id)
public EntityCollectionResponse<Event> getEventsByBCardId(java.lang.Integer limit, java.lang.String cursor, java.lang.Long id)
public EntityCollectionResponse<Invite> getEventsByUser(java.lang.Integer limit, java.lang.String cursor, java.lang.Long id)
public EntityCollectionResponse<Event> getEventsByCategory(java.lang.Integer limit, java.lang.String cursor, CategoryEventEnum category)
public EntityResponse<EventDetail> getEventDetail(java.lang.Long eventId)
public DefaultResponse addShareEvent(java.lang.Long eventId)
public EntityResponse<Invite> createInvite(java.lang.Long eventId, java.lang.Long cardId, InviteTypeEnum type)
public EntityResponse<Invite> existingInvitation(java.lang.Long id, java.lang.Long eventId)
public EntityCollectionResponse<Invite> listInvites(java.lang.Long eventId, InviteTypeEnum type, java.lang.Integer limit, java.lang.String cursor)
public DefaultResponse deleteInvite(java.lang.Long inviteId)
public DefaultResponse acceptInvite(java.lang.Long inviteId)
public DefaultResponse declineInvite(java.lang.Long inviteId)
public DefaultResponse saveEventScore(EventScoreRecord record)
public EntityResponse<EventScore> getEventScore(java.lang.Long eventId)
public EntityCollectionResponse<EventScoreRecord> listEventScoreRecord(java.lang.Integer limit, java.lang.String cursor, java.lang.Long eventId)
public EntityResponse<EventScoreRecord> getMyEventScoreRecord(java.lang.Long userId, java.lang.Long eventId)
public DefaultResponse deleteMyEventScoreRecord(java.lang.Long userId, java.lang.Long eventId)
public EntityResponse<CompleteEvent> getEventAndScore(java.lang.Long id)
public EntityResponse<Record<BCard,BCardScoreRecord>> getBCardAndRecord(java.lang.Long id, java.lang.Integer limit, java.lang.String cursor)
public EntityResponse<Record<Business,BusinessScoreRecord>> getBusinessAndRecord(java.lang.Long id, java.lang.Integer limit, java.lang.String cursor)
public DefaultResponse signOut(java.lang.String token)
public EntityCollectionResponse<VecinoGroup> listVecinoGroup()
public EntityResponse<VecinoGroup> saveVecinoGroup(VecinoGroup vecinoGroup)