public class EventEndpoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.logging.Logger |
log |
Constructor and Description |
---|
EventEndpoint() |
Modifier and Type | Method and Description |
---|---|
DefaultResponse |
acceptInvite(java.lang.Long inviteId) |
DefaultResponse |
addShareEvent(java.lang.Long eventId) |
DefaultResponse |
closeConnection(java.lang.String connectionKey) |
DefaultResponse |
connectionStillActive(java.lang.String connectionKey) |
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 |
deleteMyEventScoreRecord(java.lang.Long userId,
java.lang.Long eventId) |
EntityResponse<Invite> |
existingInvitation(java.lang.Long id,
java.lang.Long eventId) |
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<EventScoreRecord> |
getMyEventScoreRecord(java.lang.Long userId,
java.lang.Long eventId) |
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) |
EntityResponse<java.lang.String> |
requestAccessToEvent(java.lang.Long inviteId,
DeviceTypeEnum deviceType) |
EntityResponse<Event> |
saveEvent(Event event) |
DefaultResponse |
saveEventScore(EventScoreRecord record) |
EntityResponse<Event> |
updateEvent(Event event) |
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 EntityResponse<CompleteEvent> getEventAndScore(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 EntityResponse<java.lang.String> requestAccessToEvent(java.lang.Long inviteId, DeviceTypeEnum deviceType)
public DefaultResponse connectionStillActive(java.lang.String connectionKey)
public DefaultResponse closeConnection(java.lang.String connectionKey)
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)