public class InviteDB extends BaseDAO
Constructor and Description |
---|
InviteDB() |
Modifier and Type | Method and Description |
---|---|
static com.google.api.server.spi.response.CollectionResponse<Invite> |
inviteByUser(java.lang.Long userId,
java.lang.String cursor,
int limit) |
static com.google.api.server.spi.response.CollectionResponse<Invite> |
inviteByUser(java.lang.Long userId,
java.lang.String cursor,
java.lang.Integer limit) |
static Invite |
inviteByUserId(java.lang.Long userId,
java.lang.Long eventId) |
static com.google.api.server.spi.response.CollectionResponse<Invite> |
listByEvent(java.lang.Long eventId,
InviteTypeEnum type,
java.lang.String cursor,
java.lang.Integer limit) |
static com.google.api.server.spi.response.CollectionResponse<Invite> |
listByEvent(java.lang.Long eventId,
java.lang.String cursor,
java.lang.Integer limit) |
static Invite |
load(java.lang.Long id) |
static void |
save(Invite invite) |
static int |
totalAcceptedInvites(java.lang.Long eventId,
InviteTypeEnum type) |
static int |
totalInvites(java.lang.Long eventId,
InviteTypeEnum type) |
buildCollectionResponse, delete, delete, deleteMany, deleteManyNow, getOfy, list, load, load, load, queryDefault, saveMany, saveManyNow
public static final java.lang.Class<Invite> clazz
public static Invite load(java.lang.Long id)
public static void save(Invite invite)
public static com.google.api.server.spi.response.CollectionResponse<Invite> listByEvent(java.lang.Long eventId, java.lang.String cursor, java.lang.Integer limit)
public static com.google.api.server.spi.response.CollectionResponse<Invite> listByEvent(java.lang.Long eventId, InviteTypeEnum type, java.lang.String cursor, java.lang.Integer limit)
public static com.google.api.server.spi.response.CollectionResponse<Invite> inviteByUser(java.lang.Long userId, java.lang.String cursor, int limit)
public static int totalInvites(java.lang.Long eventId, InviteTypeEnum type)
public static int totalAcceptedInvites(java.lang.Long eventId, InviteTypeEnum type)
public static Invite inviteByUserId(java.lang.Long userId, java.lang.Long eventId)
public static com.google.api.server.spi.response.CollectionResponse<Invite> inviteByUser(java.lang.Long userId, java.lang.String cursor, java.lang.Integer limit)