net.stepniak.api.push
Class PushStorage

java.lang.Object
  extended by net.stepniak.api.push.PushStorage

@Component
public class PushStorage
extends Object


Constructor Summary
PushStorage()
           
 
Method Summary
 DeviceEntity find(String id)
           
 Iterable<DeviceEntity> getDevices()
           
 DeviceEntity register(DeviceEntity pushDevice)
           
 void unregister(DeviceEntity pushDevice)
           
 void updateRegistration(String oldId, String newId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushStorage

public PushStorage()
Method Detail

register

public DeviceEntity register(DeviceEntity pushDevice)

unregister

public void unregister(DeviceEntity pushDevice)

find

public DeviceEntity find(String id)

updateRegistration

public void updateRegistration(String oldId,
                               String newId)

getDevices

public Iterable<DeviceEntity> getDevices()


Copyright © 2013. All Rights Reserved.