public class BusinessDB extends BaseDAO
Constructor and Description |
---|
BusinessDB() |
Modifier and Type | Method and Description |
---|---|
static void |
delete(Business business) |
static com.google.api.server.spi.response.CollectionResponse<Business> |
getCollectionByBCardId(java.lang.Long BCardId,
java.lang.Integer limit,
java.lang.String cursor) |
static com.google.api.server.spi.response.CollectionResponse<Business> |
getCollectionByBCardIdApp(java.lang.Long BCardId,
java.lang.Integer limit,
java.lang.String cursor,
AppEnum app) |
static com.google.api.server.spi.response.CollectionResponse<Business> |
getCollectionByUserId(java.lang.Long userId,
java.lang.Integer limit,
java.lang.String cursor) |
static com.google.api.server.spi.response.CollectionResponse<Business> |
getCollectionByUserIdApp(java.lang.Long userId,
java.lang.Integer limit,
java.lang.String cursor,
AppEnum app) |
static java.util.List<Business> |
listBusiness(java.lang.Long bCardId) |
static java.util.List<Business> |
listBusinessByUser(java.lang.Long id) |
static java.util.List<Business> |
listBusinessByUserApp(java.lang.Long id,
AppEnum app) |
static Business |
load(java.lang.Long id) |
static Business |
save(Business business) |
buildCollectionResponse, delete, deleteMany, deleteManyNow, getOfy, list, load, load, load, queryDefault, saveMany, saveManyNow
public static final java.lang.Class<Business> clazz
public static Business load(java.lang.Long id)
public static com.google.api.server.spi.response.CollectionResponse<Business> getCollectionByBCardId(java.lang.Long BCardId, java.lang.Integer limit, java.lang.String cursor)
public static com.google.api.server.spi.response.CollectionResponse<Business> getCollectionByBCardIdApp(java.lang.Long BCardId, java.lang.Integer limit, java.lang.String cursor, AppEnum app)
public static java.util.List<Business> listBusiness(java.lang.Long bCardId)
public static com.google.api.server.spi.response.CollectionResponse<Business> getCollectionByUserId(java.lang.Long userId, java.lang.Integer limit, java.lang.String cursor)
public static com.google.api.server.spi.response.CollectionResponse<Business> getCollectionByUserIdApp(java.lang.Long userId, java.lang.Integer limit, java.lang.String cursor, AppEnum app)
public static java.util.List<Business> listBusinessByUser(java.lang.Long id)
public static java.util.List<Business> listBusinessByUserApp(java.lang.Long id, AppEnum app)
public static void delete(Business business)