public class WalletDB
extends java.lang.Object
Constructor and Description |
---|
WalletDB() |
Modifier and Type | Method and Description |
---|---|
static com.google.api.server.spi.response.CollectionResponse<Wallet> |
collectionDefault(java.lang.Integer limit,
java.lang.String cursor) |
static void |
delete(Wallet wallet) |
static void |
deleteWalletByUser(java.lang.Long id) |
static com.google.cloud.datastore.QueryResults<Wallet> |
iteratorDefault(java.lang.Integer limit,
java.lang.String cursor) |
static Wallet |
load(java.lang.Long id) |
static com.googlecode.objectify.cmd.Query<Wallet> |
queryDefault(java.lang.Integer limit,
java.lang.String cursor) |
static Wallet |
save(Wallet wallet) |
static java.util.List<Wallet> |
walletByUser(java.lang.Long userId) |
static boolean |
walletExist(Wallet wallet) |
public static Wallet load(java.lang.Long id)
public static void delete(Wallet wallet)
public static boolean walletExist(Wallet wallet)
public static void deleteWalletByUser(java.lang.Long id)
public static java.util.List<Wallet> walletByUser(java.lang.Long userId)
public static com.google.api.server.spi.response.CollectionResponse<Wallet> collectionDefault(java.lang.Integer limit, java.lang.String cursor)
public static com.google.cloud.datastore.QueryResults<Wallet> iteratorDefault(java.lang.Integer limit, java.lang.String cursor)
public static com.googlecode.objectify.cmd.Query<Wallet> queryDefault(java.lang.Integer limit, java.lang.String cursor)