Class DeviceDao

java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<Device,Long>
org.exoplatform.push.dao.DeviceDao
All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Device,Long>

public class DeviceDao extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<Device,Long>
  • Constructor Details

    • DeviceDao

      public DeviceDao()
  • Method Details

    • findByUsername

      public List<Device> findByUsername(String username)
    • findByToken

      public Device findByToken(String token)
    • deleteDevicesWithTokenOlderThan

      public int deleteDevicesWithTokenOlderThan(Date expirationDate)