Item
- 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, itemsHash
COMP_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, validateItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getItemInstance
forEach, spliterator
initRepository
public 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()
ComponentRepository
reload
in interface ComponentRepository<Item extends RepositoryItem>
reload
in class ConfigRepository<Item extends RepositoryItem>
public void setRepo(UserRepository userRepository)
public void store()
ComponentRepository
store
in interface ComponentRepository<Item extends RepositoryItem>
store
in class ConfigRepository<Item extends RepositoryItem>
Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.