Package 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
  Description
  `static interface`
  `MAMRepository.Item`
  `static interface`
  `MAMRepository.ItemHandler<Q extends Query,I extends MAMRepository.Item>`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Q`
  `newQuery()`
  Deprecated.
  `default Q`
  `newQuery(BareJID jid)`
  `void`
  `queryItems(Q query, MAMRepository.ItemHandler<Q,I> itemHandler)`

- ## Method Details

  - ### queryItems

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

  - ### newQuery

    @Deprecated Q newQuery()
    Deprecated.

  - ### newQuery

    default Q newQuery(BareJID jid)