|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.db.UserRepositoryPool
public class UserRepositoryPool
Created: Jan 28, 2009 8:46:53 PM
| Constructor Summary | |
|---|---|
UserRepositoryPool()
|
|
| Method Summary | |
|---|---|
void |
addDataList(tigase.xmpp.BareJID user,
String subnode,
String key,
String[] list)
Method description |
void |
addRepo(UserRepository repo)
Method description |
void |
addUser(tigase.xmpp.BareJID user)
Method description |
String |
getData(tigase.xmpp.BareJID user,
String key)
Method description |
String |
getData(tigase.xmpp.BareJID user,
String subnode,
String key)
Method description |
String |
getData(tigase.xmpp.BareJID user,
String subnode,
String key,
String def)
Method description |
String[] |
getDataList(tigase.xmpp.BareJID user,
String subnode,
String key)
Method description |
String[] |
getKeys(tigase.xmpp.BareJID user)
Method description |
String[] |
getKeys(tigase.xmpp.BareJID user,
String subnode)
Method description |
String |
getResourceUri()
Method description |
String[] |
getSubnodes(tigase.xmpp.BareJID user)
Method description |
String[] |
getSubnodes(tigase.xmpp.BareJID user,
String subnode)
Method description |
List<tigase.xmpp.BareJID> |
getUsers()
Method description |
long |
getUsersCount()
Method description |
long |
getUsersCount(String domain)
Method description |
long |
getUserUID(tigase.xmpp.BareJID user)
Method description |
void |
initRepository(String resource_uri,
Map<String,String> params)
Method description |
void |
removeData(tigase.xmpp.BareJID user,
String key)
Method description |
void |
removeData(tigase.xmpp.BareJID user,
String subnode,
String key)
Method description |
void |
removeSubnode(tigase.xmpp.BareJID user,
String subnode)
Method description |
void |
removeUser(tigase.xmpp.BareJID user)
Method description |
void |
setData(tigase.xmpp.BareJID user,
String key,
String value)
Method description |
void |
setData(tigase.xmpp.BareJID user,
String subnode,
String key,
String value)
Method description |
void |
setDataList(tigase.xmpp.BareJID user,
String subnode,
String key,
String[] list)
Method description |
UserRepository |
takeRepo()
Method description |
boolean |
userExists(tigase.xmpp.BareJID user)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRepositoryPool()
| Method Detail |
|---|
public void addDataList(tigase.xmpp.BareJID user,
String subnode,
String key,
String[] list)
throws UserNotFoundException,
TigaseDBException
addDataList in interface UserRepositoryuser - subnode - key - list -
TigaseDBException
UserNotFoundExceptionpublic void addRepo(UserRepository repo)
repo -
public void addUser(tigase.xmpp.BareJID user)
throws UserExistsException,
TigaseDBException
addUser in interface UserRepositoryuser -
TigaseDBException
UserExistsException
public String getData(tigase.xmpp.BareJID user,
String subnode,
String key,
String def)
throws UserNotFoundException,
TigaseDBException
getData in interface UserRepositoryuser - subnode - key - def -
TigaseDBException
UserNotFoundException
public String getData(tigase.xmpp.BareJID user,
String subnode,
String key)
throws UserNotFoundException,
TigaseDBException
getData in interface UserRepositoryuser - subnode - key -
TigaseDBException
UserNotFoundException
public String getData(tigase.xmpp.BareJID user,
String key)
throws UserNotFoundException,
TigaseDBException
getData in interface UserRepositoryuser - key -
TigaseDBException
UserNotFoundException
public String[] getDataList(tigase.xmpp.BareJID user,
String subnode,
String key)
throws UserNotFoundException,
TigaseDBException
getDataList in interface UserRepositoryuser - subnode - key -
TigaseDBException
UserNotFoundException
public String[] getKeys(tigase.xmpp.BareJID user,
String subnode)
throws UserNotFoundException,
TigaseDBException
getKeys in interface UserRepositoryuser - subnode -
TigaseDBException
UserNotFoundException
public String[] getKeys(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
getKeys in interface UserRepositoryuser -
TigaseDBException
UserNotFoundExceptionpublic String getResourceUri()
getResourceUri in interface UserRepository
public String[] getSubnodes(tigase.xmpp.BareJID user,
String subnode)
throws UserNotFoundException,
TigaseDBException
getSubnodes in interface UserRepositoryuser - subnode -
TigaseDBException
UserNotFoundException
public String[] getSubnodes(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
getSubnodes in interface UserRepositoryuser -
TigaseDBException
UserNotFoundException
public long getUserUID(tigase.xmpp.BareJID user)
throws TigaseDBException
getUserUID in interface UserRepositoryuser -
TigaseDBException
public List<tigase.xmpp.BareJID> getUsers()
throws TigaseDBException
getUsers in interface UserRepositoryTigaseDBExceptionpublic long getUsersCount()
getUsersCount in interface UserRepositorypublic long getUsersCount(String domain)
getUsersCount in interface UserRepositorydomain -
public void initRepository(String resource_uri,
Map<String,String> params)
throws DBInitException
initRepository in interface UserRepositoryresource_uri - params -
DBInitException
public void removeData(tigase.xmpp.BareJID user,
String subnode,
String key)
throws UserNotFoundException,
TigaseDBException
removeData in interface UserRepositoryuser - subnode - key -
TigaseDBException
UserNotFoundException
public void removeData(tigase.xmpp.BareJID user,
String key)
throws UserNotFoundException,
TigaseDBException
removeData in interface UserRepositoryuser - key -
TigaseDBException
UserNotFoundException
public void removeSubnode(tigase.xmpp.BareJID user,
String subnode)
throws UserNotFoundException,
TigaseDBException
removeSubnode in interface UserRepositoryuser - subnode -
TigaseDBException
UserNotFoundException
public void removeUser(tigase.xmpp.BareJID user)
throws UserNotFoundException,
TigaseDBException
removeUser in interface UserRepositoryuser -
TigaseDBException
UserNotFoundException
public void setData(tigase.xmpp.BareJID user,
String subnode,
String key,
String value)
throws UserNotFoundException,
TigaseDBException
setData in interface UserRepositoryuser - subnode - key - value -
TigaseDBException
UserNotFoundException
public void setData(tigase.xmpp.BareJID user,
String key,
String value)
throws UserNotFoundException,
TigaseDBException
setData in interface UserRepositoryuser - key - value -
TigaseDBException
UserNotFoundException
public void setDataList(tigase.xmpp.BareJID user,
String subnode,
String key,
String[] list)
throws UserNotFoundException,
TigaseDBException
setDataList in interface UserRepositoryuser - subnode - key - list -
TigaseDBException
UserNotFoundExceptionpublic UserRepository takeRepo()
public boolean userExists(tigase.xmpp.BareJID user)
userExists in interface UserRepositoryuser -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||