public class UserEndpoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
log |
Constructor and Description |
---|
UserEndpoint() |
Modifier and Type | Method and Description |
---|---|
DefaultResponse |
deleteUser(java.lang.Long id,
java.lang.String email) |
UserResponse |
getUser(java.lang.Long id) |
UserResponse |
getUserByEmail(java.lang.String email) |
DefaultResponse |
insertLoginLink(java.lang.String email) |
UserResponse |
insertUser(User user) |
UserResponse |
insertUserApple(java.lang.String appleId,
User user) |
EntityCollectionResponse<App> |
listApps() |
com.google.api.server.spi.response.CollectionResponse<java.lang.String> |
listEmailUsers(java.lang.String cursor,
java.lang.Integer limit) |
com.google.api.server.spi.response.CollectionResponse<User> |
listUser(java.lang.String cursor,
java.lang.Integer limit) |
UserResponse |
loginLink(java.lang.Long id,
java.lang.String token,
DeviceTypeEnum type) |
DefaultResponse |
removeUser(java.lang.Long id) |
EntityResponse<App> |
saveApp(App app) |
DefaultResponse |
sendPush(java.lang.String title,
java.lang.String body) |
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) |
UserResponse |
updateUser(User user) |
public EntityCollectionResponse<App> listApps()
public EntityResponse<App> saveApp(App app)
public com.google.api.server.spi.response.CollectionResponse<User> listUser(java.lang.String cursor, java.lang.Integer limit)
public com.google.api.server.spi.response.CollectionResponse<java.lang.String> listEmailUsers(java.lang.String cursor, java.lang.Integer limit)
public UserResponse getUser(java.lang.Long id)
public UserResponse insertUser(User user)
public UserResponse insertUserApple(java.lang.String appleId, User user)
public UserResponse updateUser(User user)
public DefaultResponse deleteUser(java.lang.Long id, java.lang.String email)
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 DefaultResponse signOut(java.lang.String token)
public DefaultResponse sendPush(java.lang.String title, java.lang.String body)