test_class.declarator: repo = null
test_class.original_string: UserRepository repo = null;
test_class.type: UserRepository
test_class.var_name: repo
test_class.declarator: initialised = false
test_class.original_string: boolean initialised = false;
test_class.type: boolean
test_class.var_name: initialised
test_class.file: tigase-server 7.1.0/src/test/java/tigase/db/jdbc/JDBCRepositoryTest.java
test_class.identifier: JDBCRepositoryTest
test_case.body: @Test
  	public void testGetData() throws InterruptedException {
  
  		System.out.println( "repo: " + repo );
  		if ( repo != null ){
  			LocalDateTime localNow = LocalDateTime.now();
  //			getData( null );
  
  			long initalDelay = 5;
  
  			ScheduledExecutorService scheduler = Executors.newScheduledThreadPool( 10 );
  			final int iter = 50;
  			final int threads = 10;
  
  			for ( int i = 0 ; i < threads ; i++ ) {
  				scheduler.scheduleAtFixedRate( new RunnableImpl( iter ), initalDelay, 100, TimeUnit.MILLISECONDS );
  			}
  
  			Thread.sleep( threads * 1000 );
  		}
  
  
  	}
test_case.class_method_signature: JDBCRepositoryTest.testGetData()
test_case.full_signature: @Test public void testGetData()
test_case.identifier: testGetData
test_case.invocations: println now newScheduledThreadPool scheduleAtFixedRate sleep
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetData()
focal_class.declarator: CURRENT_DB_SCHEMA_VER = "7.1"
focal_class.modifier: public static final
focal_class.original_string: public static final String CURRENT_DB_SCHEMA_VER = "7.1";
focal_class.type: String
focal_class.var_name: CURRENT_DB_SCHEMA_VER
focal_class.declarator: DEF_MAXIDS_TBL = "tig_max_ids"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEF_MAXIDS_TBL = "tig_max_ids";
focal_class.type: String
focal_class.var_name: DEF_MAXIDS_TBL
focal_class.declarator: DEF_NODES_TBL = "tig_nodes"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEF_NODES_TBL = "tig_nodes";
focal_class.type: String
focal_class.var_name: DEF_NODES_TBL
focal_class.declarator: DEF_PAIRS_TBL = "tig_pairs"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEF_PAIRS_TBL = "tig_pairs";
focal_class.type: String
focal_class.var_name: DEF_PAIRS_TBL
focal_class.declarator: DEF_ROOT_NODE = "root"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEF_ROOT_NODE = "root";
focal_class.type: String
focal_class.var_name: DEF_ROOT_NODE
focal_class.declarator: DEF_USERS_TBL = "tig_users"
focal_class.modifier: public static final
focal_class.original_string: public static final String DEF_USERS_TBL = "tig_users";
focal_class.type: String
focal_class.var_name: DEF_USERS_TBL
focal_class.declarator: DERBY_GETSCHEMAVER_QUERY =
  		"values TigGetDBProperty('schema-version')"
focal_class.modifier: public static final
focal_class.original_string: public static final String DERBY_GETSCHEMAVER_QUERY =
  		"values TigGetDBProperty('schema-version')";
focal_class.type: String
focal_class.var_name: DERBY_GETSCHEMAVER_QUERY
focal_class.declarator: SQLSERVER_GETSCHEMAVER_QUERY =
  		"select dbo.TigGetDBProperty('schema-version')"
focal_class.modifier: public static final
focal_class.original_string: public static final String SQLSERVER_GETSCHEMAVER_QUERY =
  		"select dbo.TigGetDBProperty('schema-version')";
focal_class.type: String
focal_class.var_name: SQLSERVER_GETSCHEMAVER_QUERY
focal_class.declarator: JDBC_GETSCHEMAVER_QUERY =
  		"select TigGetDBProperty('schema-version')"
focal_class.modifier: public static final
focal_class.original_string: public static final String JDBC_GETSCHEMAVER_QUERY =
  		"select TigGetDBProperty('schema-version')";
focal_class.type: String
focal_class.var_name: JDBC_GETSCHEMAVER_QUERY
focal_class.declarator: SCHEMA_UPGRADE_LINK =
  		"Administration Guide > Tigase Server Schema v7.1 Updates (available locally in docs directory and online http://docs.tigase.org)"
focal_class.modifier: public static final
focal_class.original_string: public static final String SCHEMA_UPGRADE_LINK =
  		"Administration Guide > Tigase Server Schema v7.1 Updates (available locally in docs directory and online http://docs.tigase.org)";
focal_class.type: String
focal_class.var_name: SCHEMA_UPGRADE_LINK
focal_class.declarator: ADD_NODE_QUERY          = "{ call TigAddNode(?, ?, ?) }"
focal_class.modifier: private static final
focal_class.original_string: private static final String ADD_NODE_QUERY          = "{ call TigAddNode(?, ?, ?) }";
focal_class.type: String
focal_class.var_name: ADD_NODE_QUERY
focal_class.declarator: ADD_USER_PLAIN_PW_QUERY =
  		"{ call TigAddUserPlainPw(?, ?) }"
focal_class.modifier: private static final
focal_class.original_string: private static final String ADD_USER_PLAIN_PW_QUERY =
  		"{ call TigAddUserPlainPw(?, ?) }";
focal_class.type: String
focal_class.var_name: ADD_USER_PLAIN_PW_QUERY
focal_class.declarator: COUNT_USERS_FOR_DOMAIN_QUERY =
  		"select count(*) from tig_users where user_id like ?"
focal_class.modifier: private static final
focal_class.original_string: private static final String COUNT_USERS_FOR_DOMAIN_QUERY =
  		"select count(*) from tig_users where user_id like ?";
focal_class.type: String
focal_class.var_name: COUNT_USERS_FOR_DOMAIN_QUERY
focal_class.declarator: DEF_GET_USERS_QUERY   = "{ call TigAllUsers() }"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEF_GET_USERS_QUERY   = "{ call TigAllUsers() }";
focal_class.type: String
focal_class.var_name: DEF_GET_USERS_QUERY
focal_class.declarator: GET_USER_DB_UID_QUERY = "{ call TigGetUserDBUid(?) }"
focal_class.modifier: private static final
focal_class.original_string: private static final String GET_USER_DB_UID_QUERY = "{ call TigGetUserDBUid(?) }";
focal_class.type: String
focal_class.var_name: GET_USER_DB_UID_QUERY
focal_class.declarator: GET_USERS_COUNT_QUERY = "{ call TigAllUsersCount() }"
focal_class.modifier: private static final
focal_class.original_string: private static final String GET_USERS_COUNT_QUERY = "{ call TigAllUsersCount() }";
focal_class.type: String
focal_class.var_name: GET_USERS_COUNT_QUERY
focal_class.declarator: log                   =
  		Logger.getLogger(JDBCRepository.class.getName())
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log                   =
  		Logger.getLogger(JDBCRepository.class.getName());
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: PGSQL_GET_USERS_QUERY = "select TigAllUsers()"
focal_class.modifier: private static final
focal_class.original_string: private static final String PGSQL_GET_USERS_QUERY = "select TigAllUsers()";
focal_class.type: String
focal_class.var_name: PGSQL_GET_USERS_QUERY
focal_class.declarator: REMOVE_USER_QUERY     = "{ call TigRemoveUser(?) }"
focal_class.modifier: private static final
focal_class.original_string: private static final String REMOVE_USER_QUERY     = "{ call TigRemoveUser(?) }";
focal_class.type: String
focal_class.var_name: REMOVE_USER_QUERY
focal_class.declarator: UPDATE_PAIRS_QUERY    =
  		"{ call TigUpdatePairs(?, ?, ?, ?) }"
focal_class.modifier: private static final
focal_class.original_string: private static final String UPDATE_PAIRS_QUERY    =
  		"{ call TigUpdatePairs(?, ?, ?, ?) }";
focal_class.type: String
focal_class.var_name: UPDATE_PAIRS_QUERY
focal_class.declarator: USER_STR              = "User: "
focal_class.modifier: private static final
focal_class.original_string: private static final String USER_STR              = "User: ";
focal_class.type: String
focal_class.var_name: USER_STR
focal_class.declarator: REMOVE_KEY_DATA_QUERY = "delete from " + DEF_PAIRS_TBL +
  																											" where (nid = ?) AND (pkey = ?)"
focal_class.modifier: private static final
focal_class.original_string: private static final String REMOVE_KEY_DATA_QUERY = "delete from " + DEF_PAIRS_TBL +
  																											" where (nid = ?) AND (pkey = ?)";
focal_class.type: String
focal_class.var_name: REMOVE_KEY_DATA_QUERY
focal_class.declarator: NODES_FOR_NODE_QUERY = "select nid, node from " +
  																										 DEF_NODES_TBL +
  																										 " where parent_nid = ?"
focal_class.modifier: private static final
focal_class.original_string: private static final String NODES_FOR_NODE_QUERY = "select nid, node from " +
  																										 DEF_NODES_TBL +
  																										 " where parent_nid = ?";
focal_class.type: String
focal_class.var_name: NODES_FOR_NODE_QUERY
focal_class.declarator: KEYS_FOR_NODE_QUERY = "select pkey from " + DEF_PAIRS_TBL +
  																										" where (nid = ?)"
focal_class.modifier: private static final
focal_class.original_string: private static final String KEYS_FOR_NODE_QUERY = "select pkey from " + DEF_PAIRS_TBL +
  																										" where (nid = ?)";
focal_class.type: String
focal_class.var_name: KEYS_FOR_NODE_QUERY
focal_class.declarator: INSERT_KEY_VAL_QUERY = "insert into " + DEF_PAIRS_TBL +
  																										 " (nid, uid, pkey, pval) " +
  																										 " values (?, ?, ?, ?)"
focal_class.modifier: private static final
focal_class.original_string: private static final String INSERT_KEY_VAL_QUERY = "insert into " + DEF_PAIRS_TBL +
  																										 " (nid, uid, pkey, pval) " +
  																										 " values (?, ?, ?, ?)";
focal_class.type: String
focal_class.var_name: INSERT_KEY_VAL_QUERY
focal_class.declarator: DATA_FOR_NODE_QUERY = "select pval from " + DEF_PAIRS_TBL +
  																										" where (nid = ?) AND (pkey = ?)"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATA_FOR_NODE_QUERY = "select pval from " + DEF_PAIRS_TBL +
  																										" where (nid = ?) AND (pkey = ?)";
focal_class.type: String
focal_class.var_name: DATA_FOR_NODE_QUERY
focal_class.declarator: auth = null
focal_class.modifier: private
focal_class.original_string: private AuthRepository auth = null;
focal_class.type: AuthRepository
focal_class.var_name: auth
focal_class.declarator: cache = null
focal_class.modifier: private
focal_class.original_string: private Map<String, Object> cache = null;
focal_class.type: Map<String, Object>
focal_class.var_name: cache
focal_class.declarator: data_repo  = null
focal_class.modifier: private
focal_class.original_string: private DataRepository data_repo  = null;
focal_class.type: DataRepository
focal_class.var_name: data_repo
focal_class.declarator: get_users_query    = null
focal_class.modifier: private
focal_class.original_string: private String get_users_query    = null;
focal_class.type: String
focal_class.var_name: get_users_query
focal_class.declarator: autoCreateUser    = false
focal_class.modifier: private
focal_class.original_string: private boolean autoCreateUser    = false;
focal_class.type: boolean
focal_class.var_name: autoCreateUser
focal_class.file: tigase-server 7.1.0/src/main/java/tigase/db/jdbc/JDBCRepository.java
focal_class.identifier: JDBCRepository
focal_class.interfaces: implements AuthRepository, UserRepository
focal_class.class_method_signature: JDBCRepository.addDataList(DataRepository repo, BareJID user_id, final String subnode,
  													 final String key, final String[] list)
focal_class.full_signature: private void addDataList(DataRepository repo, BareJID user_id, final String subnode,
  													 final String key, final String[] list)
focal_class.identifier: addDataList
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, BareJID user_id, final String subnode,
  													 final String key, final String[] list)
focal_class.return: void
focal_class.signature: void addDataList(DataRepository repo, BareJID user_id, final String subnode,
  													 final String key, final String[] list)
focal_class.class_method_signature: JDBCRepository.addDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.full_signature: @Override public void addDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.identifier: addDataList
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.return: void
focal_class.signature: void addDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.class_method_signature: JDBCRepository.addUser(BareJID user_id)
focal_class.full_signature: @Override public void addUser(BareJID user_id)
focal_class.identifier: addUser
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id)
focal_class.return: void
focal_class.signature: void addUser(BareJID user_id)
focal_class.class_method_signature: JDBCRepository.addUser(BareJID user, final String password)
focal_class.full_signature: @Override public void addUser(BareJID user, final String password)
focal_class.identifier: addUser
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user, final String password)
focal_class.return: void
focal_class.signature: void addUser(BareJID user, final String password)
focal_class.class_method_signature: JDBCRepository.digestAuth(BareJID user, final String digest, final String id,
  														final String alg)
focal_class.full_signature: @Override @Deprecated public boolean digestAuth(BareJID user, final String digest, final String id,
  														final String alg)
focal_class.identifier: digestAuth
focal_class.modifiers: @Override @Deprecated public
focal_class.parameters: (BareJID user, final String digest, final String id,
  														final String alg)
focal_class.return: boolean
focal_class.signature: boolean digestAuth(BareJID user, final String digest, final String id,
  														final String alg)
focal_class.class_method_signature: JDBCRepository.getData(BareJID user_id, final String subnode, final String key,
  												final String def)
focal_class.full_signature: @Override public String getData(BareJID user_id, final String subnode, final String key,
  												final String def)
focal_class.identifier: getData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key,
  												final String def)
focal_class.return: String
focal_class.signature: String getData(BareJID user_id, final String subnode, final String key,
  												final String def)
focal_class.class_method_signature: JDBCRepository.getData(BareJID user_id, final String subnode, final String key)
focal_class.full_signature: @Override public String getData(BareJID user_id, final String subnode, final String key)
focal_class.identifier: getData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key)
focal_class.return: String
focal_class.signature: String getData(BareJID user_id, final String subnode, final String key)
focal_class.class_method_signature: JDBCRepository.getData(BareJID user_id, final String key)
focal_class.full_signature: @Override public String getData(BareJID user_id, final String key)
focal_class.identifier: getData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String key)
focal_class.return: String
focal_class.signature: String getData(BareJID user_id, final String key)
focal_class.class_method_signature: JDBCRepository.getDataList(BareJID user_id, final String subnode, final String key)
focal_class.full_signature: @Override public String[] getDataList(BareJID user_id, final String subnode, final String key)
focal_class.identifier: getDataList
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key)
focal_class.return: String[]
focal_class.signature: String[] getDataList(BareJID user_id, final String subnode, final String key)
focal_class.class_method_signature: JDBCRepository.getKeys(BareJID user_id, final String subnode)
focal_class.full_signature: @Override public String[] getKeys(BareJID user_id, final String subnode)
focal_class.identifier: getKeys
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode)
focal_class.return: String[]
focal_class.signature: String[] getKeys(BareJID user_id, final String subnode)
focal_class.class_method_signature: JDBCRepository.getKeys(BareJID user_id)
focal_class.full_signature: @Override public String[] getKeys(BareJID user_id)
focal_class.identifier: getKeys
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id)
focal_class.return: String[]
focal_class.signature: String[] getKeys(BareJID user_id)
focal_class.class_method_signature: JDBCRepository.getResourceUri()
focal_class.full_signature: @Override public String getResourceUri()
focal_class.identifier: getResourceUri
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getResourceUri()
focal_class.class_method_signature: JDBCRepository.getRepository()
focal_class.full_signature: protected DataRepository getRepository()
focal_class.identifier: getRepository
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: DataRepository
focal_class.signature: DataRepository getRepository()
focal_class.class_method_signature: JDBCRepository.getSubnodes(BareJID user_id, final String subnode)
focal_class.full_signature: @Override public String[] getSubnodes(BareJID user_id, final String subnode)
focal_class.identifier: getSubnodes
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode)
focal_class.return: String[]
focal_class.signature: String[] getSubnodes(BareJID user_id, final String subnode)
focal_class.class_method_signature: JDBCRepository.getSubnodes(BareJID user_id)
focal_class.full_signature: @Override public String[] getSubnodes(BareJID user_id)
focal_class.identifier: getSubnodes
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id)
focal_class.return: String[]
focal_class.signature: String[] getSubnodes(BareJID user_id)
focal_class.class_method_signature: JDBCRepository.getUserUID(BareJID user_id)
focal_class.full_signature: @Override public long getUserUID(BareJID user_id)
focal_class.identifier: getUserUID
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id)
focal_class.return: long
focal_class.signature: long getUserUID(BareJID user_id)
focal_class.class_method_signature: JDBCRepository.getUserUID(DataRepository repo, BareJID user_id)
focal_class.full_signature: public long getUserUID(DataRepository repo, BareJID user_id)
focal_class.identifier: getUserUID
focal_class.modifiers: public
focal_class.parameters: (DataRepository repo, BareJID user_id)
focal_class.return: long
focal_class.signature: long getUserUID(DataRepository repo, BareJID user_id)
focal_class.class_method_signature: JDBCRepository.getUsers()
focal_class.full_signature: @Override public List<BareJID> getUsers()
focal_class.identifier: getUsers
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<BareJID>
focal_class.signature: List<BareJID> getUsers()
focal_class.class_method_signature: JDBCRepository.getUsersCount()
focal_class.full_signature: @Override public long getUsersCount()
focal_class.identifier: getUsersCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getUsersCount()
focal_class.class_method_signature: JDBCRepository.getUsersCount(String domain)
focal_class.full_signature: @Override public long getUsersCount(String domain)
focal_class.identifier: getUsersCount
focal_class.modifiers: @Override public
focal_class.parameters: (String domain)
focal_class.return: long
focal_class.signature: long getUsersCount(String domain)
focal_class.class_method_signature: JDBCRepository.initRepository(final String connection_str, Map<String, String> params)
focal_class.full_signature: @Override public void initRepository(final String connection_str, Map<String, String> params)
focal_class.identifier: initRepository
focal_class.modifiers: @Override public
focal_class.parameters: (final String connection_str, Map<String, String> params)
focal_class.return: void
focal_class.signature: void initRepository(final String connection_str, Map<String, String> params)
focal_class.class_method_signature: JDBCRepository.logout(BareJID user)
focal_class.full_signature: @Override public void logout(BareJID user)
focal_class.identifier: logout
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user)
focal_class.return: void
focal_class.signature: void logout(BareJID user)
focal_class.class_method_signature: JDBCRepository.otherAuth(final Map<String, Object> props)
focal_class.full_signature: @Override public boolean otherAuth(final Map<String, Object> props)
focal_class.identifier: otherAuth
focal_class.modifiers: @Override public
focal_class.parameters: (final Map<String, Object> props)
focal_class.return: boolean
focal_class.signature: boolean otherAuth(final Map<String, Object> props)
focal_class.class_method_signature: JDBCRepository.plainAuth(BareJID user, final String password)
focal_class.full_signature: @Override @Deprecated public boolean plainAuth(BareJID user, final String password)
focal_class.identifier: plainAuth
focal_class.modifiers: @Override @Deprecated public
focal_class.parameters: (BareJID user, final String password)
focal_class.return: boolean
focal_class.signature: boolean plainAuth(BareJID user, final String password)
focal_class.class_method_signature: JDBCRepository.queryAuth(Map<String, Object> authProps)
focal_class.full_signature: @Override public void queryAuth(Map<String, Object> authProps)
focal_class.identifier: queryAuth
focal_class.modifiers: @Override public
focal_class.parameters: (Map<String, Object> authProps)
focal_class.return: void
focal_class.signature: void queryAuth(Map<String, Object> authProps)
focal_class.class_method_signature: JDBCRepository.removeData(BareJID user_id, final String subnode, final String key)
focal_class.full_signature: @Override public void removeData(BareJID user_id, final String subnode, final String key)
focal_class.identifier: removeData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key)
focal_class.return: void
focal_class.signature: void removeData(BareJID user_id, final String subnode, final String key)
focal_class.class_method_signature: JDBCRepository.removeData(DataRepository repo, BareJID user_id, final String subnode,
  													final String key)
focal_class.full_signature: private void removeData(DataRepository repo, BareJID user_id, final String subnode,
  													final String key)
focal_class.identifier: removeData
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, BareJID user_id, final String subnode,
  													final String key)
focal_class.return: void
focal_class.signature: void removeData(DataRepository repo, BareJID user_id, final String subnode,
  													final String key)
focal_class.class_method_signature: JDBCRepository.removeData(BareJID user_id, final String key)
focal_class.full_signature: @Override public void removeData(BareJID user_id, final String key)
focal_class.identifier: removeData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String key)
focal_class.return: void
focal_class.signature: void removeData(BareJID user_id, final String key)
focal_class.class_method_signature: JDBCRepository.removeSubnode(BareJID user_id, final String subnode)
focal_class.full_signature: @Override public void removeSubnode(BareJID user_id, final String subnode)
focal_class.identifier: removeSubnode
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode)
focal_class.return: void
focal_class.signature: void removeSubnode(BareJID user_id, final String subnode)
focal_class.class_method_signature: JDBCRepository.removeUser(BareJID user_id)
focal_class.full_signature: @Override public void removeUser(BareJID user_id)
focal_class.identifier: removeUser
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id)
focal_class.return: void
focal_class.signature: void removeUser(BareJID user_id)
focal_class.class_method_signature: JDBCRepository.setData(BareJID user_id, final String subnode, final String key,
  											final String value)
focal_class.full_signature: @Override public void setData(BareJID user_id, final String subnode, final String key,
  											final String value)
focal_class.identifier: setData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key,
  											final String value)
focal_class.return: void
focal_class.signature: void setData(BareJID user_id, final String subnode, final String key,
  											final String value)
focal_class.class_method_signature: JDBCRepository.setData(BareJID user_id, final String key, final String value)
focal_class.full_signature: @Override public void setData(BareJID user_id, final String key, final String value)
focal_class.identifier: setData
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String key, final String value)
focal_class.return: void
focal_class.signature: void setData(BareJID user_id, final String key, final String value)
focal_class.class_method_signature: JDBCRepository.setDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.full_signature: @Override public void setDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.identifier: setDataList
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.return: void
focal_class.signature: void setDataList(BareJID user_id, final String subnode, final String key,
  													final String[] list)
focal_class.class_method_signature: JDBCRepository.updatePassword(BareJID user, final String password)
focal_class.full_signature: @Override public void updatePassword(BareJID user, final String password)
focal_class.identifier: updatePassword
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user, final String password)
focal_class.return: void
focal_class.signature: void updatePassword(BareJID user, final String password)
focal_class.class_method_signature: JDBCRepository.userExists(BareJID user)
focal_class.full_signature: @Override public boolean userExists(BareJID user)
focal_class.identifier: userExists
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user)
focal_class.return: boolean
focal_class.signature: boolean userExists(BareJID user)
focal_class.class_method_signature: JDBCRepository.addNode(DataRepository repo, long uid, long parent_nid, String node_name)
focal_class.full_signature: private long addNode(DataRepository repo, long uid, long parent_nid, String node_name)
focal_class.identifier: addNode
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, long uid, long parent_nid, String node_name)
focal_class.return: long
focal_class.signature: long addNode(DataRepository repo, long uid, long parent_nid, String node_name)
focal_class.class_method_signature: JDBCRepository.addUserRepo( DataRepository repo, BareJID user_id )
focal_class.full_signature: private long addUserRepo( DataRepository repo, BareJID user_id )
focal_class.identifier: addUserRepo
focal_class.modifiers: private
focal_class.parameters: ( DataRepository repo, BareJID user_id )
focal_class.return: long
focal_class.signature: long addUserRepo( DataRepository repo, BareJID user_id )
focal_class.class_method_signature: JDBCRepository.isExceptionKeyViolation( SQLException ex )
focal_class.full_signature: protected boolean isExceptionKeyViolation( SQLException ex )
focal_class.identifier: isExceptionKeyViolation
focal_class.modifiers: protected
focal_class.parameters: ( SQLException ex )
focal_class.return: boolean
focal_class.signature: boolean isExceptionKeyViolation( SQLException ex )
focal_class.class_method_signature: JDBCRepository.buildNodeQuery(long uid, String node_path)
focal_class.full_signature: private String buildNodeQuery(long uid, String node_path)
focal_class.identifier: buildNodeQuery
focal_class.modifiers: private
focal_class.parameters: (long uid, String node_path)
focal_class.return: String
focal_class.signature: String buildNodeQuery(long uid, String node_path)
focal_class.class_method_signature: JDBCRepository.checkDBSchema()
focal_class.full_signature: private void checkDBSchema()
focal_class.identifier: checkDBSchema
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkDBSchema()
focal_class.class_method_signature: JDBCRepository.createNodePath(DataRepository repo, BareJID user_id, String node_path)
focal_class.full_signature: private long createNodePath(DataRepository repo, BareJID user_id, String node_path)
focal_class.identifier: createNodePath
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, BareJID user_id, String node_path)
focal_class.return: long
focal_class.signature: long createNodePath(DataRepository repo, BareJID user_id, String node_path)
focal_class.class_method_signature: JDBCRepository.deleteSubnode(DataRepository repo, long nid)
focal_class.full_signature: private void deleteSubnode(DataRepository repo, long nid)
focal_class.identifier: deleteSubnode
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, long nid)
focal_class.return: void
focal_class.signature: void deleteSubnode(DataRepository repo, long nid)
focal_class.class_method_signature: JDBCRepository.getNodeNID(DataRepository repo, long uid, String node_path)
focal_class.full_signature: private long getNodeNID(DataRepository repo, long uid, String node_path)
focal_class.identifier: getNodeNID
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, long uid, String node_path)
focal_class.return: long
focal_class.signature: long getNodeNID(DataRepository repo, long uid, String node_path)
focal_class.class_method_signature: JDBCRepository.getNodeNID(DataRepository repo, BareJID user_id, String node_path)
focal_class.full_signature: private long getNodeNID(DataRepository repo, BareJID user_id, String node_path)
focal_class.identifier: getNodeNID
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, BareJID user_id, String node_path)
focal_class.return: long
focal_class.signature: long getNodeNID(DataRepository repo, BareJID user_id, String node_path)
focal_class.class_method_signature: JDBCRepository.getUserUID(DataRepository repo, BareJID user_id, boolean autoCreate)
focal_class.full_signature: private long getUserUID(DataRepository repo, BareJID user_id, boolean autoCreate)
focal_class.identifier: getUserUID
focal_class.modifiers: private
focal_class.parameters: (DataRepository repo, BareJID user_id, boolean autoCreate)
focal_class.return: long
focal_class.signature: long getUserUID(DataRepository repo, BareJID user_id, boolean autoCreate)
focal_class.class_method_signature: JDBCRepository.getPassword(BareJID user)
focal_class.full_signature: @Override public String getPassword(BareJID user)
focal_class.identifier: getPassword
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user)
focal_class.return: String
focal_class.signature: String getPassword(BareJID user)
focal_class.class_method_signature: JDBCRepository.isUserDisabled(BareJID user)
focal_class.full_signature: @Override public boolean isUserDisabled(BareJID user)
focal_class.identifier: isUserDisabled
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user)
focal_class.return: boolean
focal_class.signature: boolean isUserDisabled(BareJID user)
focal_class.class_method_signature: JDBCRepository.setUserDisabled(BareJID user, Boolean value)
focal_class.full_signature: @Override public void setUserDisabled(BareJID user, Boolean value)
focal_class.identifier: setUserDisabled
focal_class.modifiers: @Override public
focal_class.parameters: (BareJID user, Boolean value)
focal_class.return: void
focal_class.signature: void setUserDisabled(BareJID user, Boolean value)
focal_method.body: @Override
  	public String getData(BareJID user_id, final String subnode, final String key,
  												final String def)
  					throws UserNotFoundException, TigaseDBException {
  
  		try {
  			long nid = getNodeNID(null, user_id, subnode);
  
  			if (log.isLoggable(Level.FINEST)) {
  				log.log(
  						Level.FINEST,
  						"Loading data for key: {0}, user: {1}, node: {2}, def: {3}, found nid: {4}",
  						new Object[] { key,
  													 user_id, subnode, def, nid });
  			}
  
  			if (nid > 0) {
  				ResultSet rs = null;
  
  				PreparedStatement data_for_node_st = data_repo.getPreparedStatement(user_id,
  						DATA_FOR_NODE_QUERY);
  
  				synchronized (data_for_node_st) {
  					try {
  						String result = def;
  
  						data_for_node_st.setLong(1, nid);
  						data_for_node_st.setString(2, key);
  						rs = data_for_node_st.executeQuery();
  						if (rs.next()) {
  							result = rs.getString(1);
  							if (log.isLoggable(Level.FINEST)) {
  								log.log(Level.FINEST, "Found data: {0}", result);
  							}
  						}
  
  						// cache.put(user_id+"/"+subnode+"/"+key, new String[] {result});
  						return result;
  					} finally {
  						data_repo.release(null, rs);
  					}
  				}
  			} else {
  				return def;
  			}    // end of if (nid > 0) else
  		} catch (SQLException e) {
  			throw new TigaseDBException("Error getting user data for: " + user_id + "/" +
  																	subnode + "/" + key, e);
  		} 
  	}
focal_method.class_method_signature: JDBCRepository.getData(BareJID user_id, final String subnode, final String key,
  												final String def)
focal_method.full_signature: @Override public String getData(BareJID user_id, final String subnode, final String key,
  												final String def)
focal_method.identifier: getData
focal_method.invocations: getNodeNID isLoggable log getPreparedStatement setLong setString executeQuery next getString isLoggable log release
focal_method.modifiers: @Override public
focal_method.parameters: (BareJID user_id, final String subnode, final String key,
  												final String def)
focal_method.return: String
focal_method.signature: String getData(BareJID user_id, final String subnode, final String key,
  												final String def)