Interface IPushRepository<DS extends tigase.db.DataSource>

    • Method Detail

      • registerDevice

        IPushSettings registerDevice​(tigase.xmpp.jid.BareJID serviceJid,
                                     tigase.xmpp.jid.BareJID userJid,
                                     java.lang.String provider,
                                     java.lang.String deviceId,
                                     java.lang.String deviceSecondToken)
                              throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • unregisterDevice

        IPushSettings unregisterDevice​(tigase.xmpp.jid.BareJID serviceJid,
                                       tigase.xmpp.jid.BareJID userJid,
                                       java.lang.String provider,
                                       java.lang.String deviceId)
                                throws tigase.component.exceptions.RepositoryException,
                                       tigase.component.exceptions.ComponentException
        Throws:
        tigase.component.exceptions.RepositoryException
        tigase.component.exceptions.ComponentException
      • getNodeSettings

        IPushSettings getNodeSettings​(tigase.xmpp.jid.BareJID serviceJid,
                                      java.lang.String node)
                               throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getNodeSettings

        java.util.stream.Stream<IPushSettings> getNodeSettings​(tigase.xmpp.jid.BareJID userJid,
                                                               java.lang.String provider,
                                                               java.lang.String deviceId)
                                                        throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getNodeSettings

        java.util.stream.Stream<IPushSettings> getNodeSettings​(java.lang.String provider,
                                                               java.lang.String deviceId)
                                                        throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • getNodeSettings

        default IPushSettings getNodeSettings​(tigase.xmpp.jid.BareJID serviceJid,
                                              java.lang.String node,
                                              IPushRepository.ElseHandler elseHandler)
                                       throws tigase.component.exceptions.RepositoryException,
                                              tigase.component.exceptions.ComponentException
        Throws:
        tigase.component.exceptions.RepositoryException
        tigase.component.exceptions.ComponentException