public class DeviceDAO extends BaseDAO
Constructor and Description |
---|
DeviceDAO() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deleteByToken(java.lang.String token) |
static Device |
load(java.lang.Long id) |
static java.util.List<Device> |
loadByAppAndType(DeviceTypeEnum type,
AppEnum app) |
static Device |
loadByToken(java.lang.String token) |
static java.util.List<Device> |
loadByUser(java.lang.Long userId,
AppEnum app) |
static java.util.List<Device> |
loadByUserAndType(java.lang.Long userId,
DeviceTypeEnum type,
AppEnum app) |
buildCollectionResponse, delete, delete, deleteMany, deleteManyNow, getOfy, list, load, load, load, queryDefault, save, saveMany, saveManyNow
public static final java.lang.Class<Device> clazz
public static Device load(java.lang.Long id)
public static Device loadByToken(java.lang.String token)
public static boolean deleteByToken(java.lang.String token)
public static java.util.List<Device> loadByUserAndType(java.lang.Long userId, DeviceTypeEnum type, AppEnum app)
public static java.util.List<Device> loadByAppAndType(DeviceTypeEnum type, AppEnum app)