public abstract class UserRepoRepository<Item extends RepositoryItem> extends ConfigRepository<Item>
Repository.Meta, Repository.SchemaId| Modifier and Type | Field and Description |
|---|---|
static String |
REPO_CLASS_PROP_KEY |
static String |
REPO_URI_PROP_KEY |
autoReloadInterval, items, itemsHashCOMP_REPO_BIND| Constructor and Description |
|---|
UserRepoRepository() |
| Modifier and Type | Method and Description |
|---|---|
String |
getItemsListPKey() |
abstract BareJID |
getRepoUser() |
void |
reload()
This method is called to reload items from the database or other permanent storage.
|
void |
setRepo(UserRepository userRepository) |
void |
store()
The method is called to store all data in the database.
|
addItem, addItemNoStore, addRepoChangeListener, allItems, beforeUnregister, contains, getConfigKey, getDefaultItems, getDefaultPropetyItems, getDefaults, getItem, getItemsOld, getPropertyKey, initialize, initItemsMap, isInitialized, itemChanged, iterator, removeItem, removeItemNoStore, removeRepoChangeListener, setAutoloadTimer, setAutoReloadInterval, setItemsOld, setProperties, size, toString, validateItemclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, getItemInstanceforEach, spliteratorinitRepositorypublic static final String REPO_CLASS_PROP_KEY
public static final String REPO_URI_PROP_KEY
public abstract BareJID getRepoUser()
public String getItemsListPKey()
public void reload()
ComponentRepositoryreload in interface ComponentRepository<Item extends RepositoryItem>reload in class ConfigRepository<Item extends RepositoryItem>public void setRepo(UserRepository userRepository)
public void store()
ComponentRepositorystore in interface ComponentRepository<Item extends RepositoryItem>store in class ConfigRepository<Item extends RepositoryItem>Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.