tigase.xmpp.mam

## Interface MAMRepository<Q extends Query,I extends MAMRepository.Item>

-     public interface MAMRepository<Q extends Query,I extends MAMRepository.Item>

  Base interface which is required to be implemented by class which should be used as repository implementation for quering using XEP-0313: Message Archive Management
  Created by andrzej on 19.07.2016.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `MAMRepository.Item`
    `static interface` | `MAMRepository.ItemHandler<Q extends Query,I extends MAMRepository.Item>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Q` | `newQuery()`
    `void` | `queryItems(Q query, MAMRepository.ItemHandler<Q,I> itemHandler)`

- - ### Method Detail

    - #### queryItems

          void queryItems(Q query,
                          MAMRepository.ItemHandler<Q,I> itemHandler)
                   throws RepositoryException,
                          ComponentException

      Throws:
        `RepositoryException`
        `ComponentException`

    - #### newQuery

          Q newQuery()

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.