# Uses of Interface
tigase.db.UserRepository

Packages that use UserRepository
Package
Description
tigase.db
tigase.db.beans
tigase.db.comp
tigase.db.jdbc
tigase.db.xml
tigase.server.xmppsession
tigase.util.repository
tigase.xmpp
tigase.xmpp.impl
Package containing implementation of all Session Manager plugins
tigase.xmpp.impl.roster

- ## Uses of UserRepository in tigase.db

  Classes in tigase.db that implement UserRepository
  Modifier and Type
  Class
  Description
  `class`
  `DummyRepository`
  DummyRepository is a class with all methods empty.
  `class`
  `UserRepositoryMDImpl`
  Created: Mar 27, 2010 6:43:02 PM
  `class`
  `UserRepositoryPool`
  Pool for user repositories. *
  This pool should be used if connection to user storage is blocking or synchronized, ie. implemented using single connection.*
  If implementation of `UserRepository` uses connection pool or non blocking, concurrent access to user storage (ie.
  Methods in tigase.db that return UserRepository
  Modifier and Type
  Method
  Description
  `static UserRepository`
  RepositoryFactory.`getUserRepository(String class_name, String resource, Map<String,String> params)`
  Deprecated.
  `UserRepository`
  UserRepositoryPool.`takeRepo()`
  Methods in tigase.db with parameters of type UserRepository
  Modifier and Type
  Method
  Description
  `void`
  UserRepositoryPool.`addRepo(UserRepository repo)`
  Constructors in tigase.db with parameters of type UserRepository
  Modifier
  Constructor
  Description
  ``
  `AuthRepositoryImpl(UserRepository repo)`
  Creates a new `AuthRepositoryImpl` instance.
  ``
  `NonAuthUserRepositoryImpl(UserRepository userRep, BareJID defDomain, boolean autoCreateOffline)`

- ## Uses of UserRepository in tigase.db.beans

  Classes in tigase.db.beans that implement UserRepository
  Modifier and Type
  Class
  Description
  `class`
  `UserRepositoryMDPoolBean`
  Class implements bean for multi domain pool for user repositories.
  Methods in tigase.db.beans that return types with arguments of type UserRepository
  Modifier and Type
  Method
  Description
  `protected Class<UserRepository>`
  UserRepositoryMDPoolBean.UserRepositoryConfigBean.`getRepositoryIfc()`

- ## Uses of UserRepository in tigase.db.comp

  Fields in tigase.db.comp declared as UserRepository
  Modifier and Type
  Field
  Description
  `protected UserRepository`
  UserRepoRepository.`repo`
  Methods in tigase.db.comp with parameters of type UserRepository
  Modifier and Type
  Method
  Description
  `void`
  UserRepoRepository.`setRepo(UserRepository userRepository)`

- ## Uses of UserRepository in tigase.db.jdbc

  Classes in tigase.db.jdbc that implement UserRepository
  Modifier and Type
  Class
  Description
  `class`
  `JDBCRepository`
  Not synchronized implementation!

- ## Uses of UserRepository in tigase.db.xml

  Classes in tigase.db.xml that implement UserRepository
  Modifier and Type
  Class
  Description
  `class`
  `XMLRepository`
  Class `XMLRepository` is a XML implementation of `UserRepository`.

- ## Uses of UserRepository in tigase.server.xmppsession

  Constructors in tigase.server.xmppsession with parameters of type UserRepository
  Modifier
  Constructor
  Description
  ``
  `SMResourceConnection(JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler)`

- ## Uses of UserRepository in tigase.util.repository

  Methods in tigase.util.repository with parameters of type UserRepository
  Modifier and Type
  Method
  Description
  `static boolean`
  RepositoryUtils.`checkContact(BareJID user, UserRepository repo, String cont)`
  `static void`
  RepositoryUtils.`copyNode(BareJID user, String node, UserRepository src, UserRepository dst)`
  `static void`
  RepositoryUtils.`copyRepositories(UserRepository src, AuthRepository dst)`
  `static void`
  RepositoryUtils.`copyRepositories(UserRepository src, UserRepository dst)`
  `static void`
  RepositoryUtils.`copyUser(BareJID user, UserRepository src, AuthRepository dst)`
  `static void`
  RepositoryUtils.`copyUser(BareJID user, UserRepository src, UserRepository dst)`
  `static void`
  RepositoryUtils.`exportRoster(UserRepository repo, Writer w)`
  `static void`
  RepositoryUtils.`exportUserRoster(BareJID user, UserRepository repo, Writer w)`
  `static void`
  RepositoryUtils.`loadTestData(UserRepository repo)`
  `static void`
  RepositoryUtils.`printNode(BareJID user, UserRepository repo, String prefix, String node)`
  `static void`
  RepositoryUtils.`printRepoContent(UserRepository repo)`
  `static void`
  RepositoryUtils.`removeTestData(UserRepository repo)`
  `static void`
  RepositoryUtils.`repairRoster(UserRepository repo)`
  `static void`
  RepositoryUtils.`repairUserRoster(BareJID user, UserRepository repo)`
  `static void`
  RepositoryUtils.`simpleTest(UserRepository repo)`
  `static void`
  RepositoryUtils.`userAddTest(UserRepository re)`

- ## Uses of UserRepository in tigase.xmpp

  Constructors in tigase.xmpp with parameters of type UserRepository
  Modifier
  Constructor
  Description
  ``
  `RepositoryAccess(UserRepository rep, AuthRepository auth)`
  Creates a new `RepositoryAccess` instance.
  ``
  `XMPPResourceConnection(JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler)`

- ## Uses of UserRepository in tigase.xmpp.impl

  Constructors in tigase.xmpp.impl with parameters of type UserRepository
  Modifier
  Constructor
  Description
  ``
  `OfflineResourceConnection(JID connectionId, UserRepository rep, AuthRepository authRepo, SessionManagerHandler loginHandler)`
  Creates a new `XMPPResourceConnection` instance.

- ## Uses of UserRepository in tigase.xmpp.impl.roster

  Methods in tigase.xmpp.impl.roster with parameters of type UserRepository
  Modifier and Type
  Method
  Description
  `Queue<Packet>`
  RosterAbstract.`addJidToRoster(UserRepository repository, XMPPSession session, BareJID owner, RosterElement rosterElement)`
  `void`
  RosterAbstract.`init(UserRepository repo)`
  `void`
  RosterAbstract.`modifyStoredRoster(UserRepository repository, BareJID owner, Consumer<Map<BareJID,RosterElement>> modifyRoster)`
  `void`
  RosterFlat.`modifyStoredRoster(UserRepository repository, BareJID owner, Consumer<Map<BareJID,RosterElement>> modifyRoster)`
  `Queue<Packet>`
  RosterAbstract.`removeJidFromRoster(UserRepository repository, XMPPSession session, BareJID owner, JID jid)`
  Deprecated.