| |
|
| java.lang.Object com.knowgate.acl.UserLoader
UserLoader | public class UserLoader implements ImportLoader(Code) | | Load user data from a single source
author: Sergio Montoro Ten version: 1.0 |
Method Summary | |
public void | close() | public int | columnCount() | public String[] | columnNames() | public Object | get(int iColumnIndex) | public Object | get(String sColumnName) | public int | getColumnIndex(String sColumnName) | public void | prepare(Connection oConn, ColumnList oColList) Prepare statements for execution
This method needs to be called only once if the default constructor was used.
If ContactLoader(Connection) constructor was used, there is no need to call prepare()
and a SQLException will be raised if the attempt is made.
It is neccesary to call close() always for prepared instances as a failure
to do so will leave open cursors on the database causing it eventually to stop. | public void | put(int iColumnIndex, Object oValue) | public void | put(String sColumnName, Object oValue) | public void | putAll(Map oValues) | public void | setAllColumnsToNull() | public void | store(Connection oConn, String sWorkArea, int iFlags) |
bo_active | public static int bo_active(Code) | | |
bo_change_pwd | public static int bo_change_pwd(Code) | | |
bo_searchable | public static int bo_searchable(Code) | | |
de_title | public static int de_title(Code) | | |
dt_birth | public static int dt_birth(Code) | | |
dt_cancel | public static int dt_cancel(Code) | | |
dt_created | public static int dt_created(Code) | | |
dt_last_update | public static int dt_last_update(Code) | | |
dt_last_visit | public static int dt_last_visit(Code) | | |
dt_pwd_expires | public static int dt_pwd_expires(Code) | | |
gu_acl_group | public static int gu_acl_group(Code) | | |
gu_category | public static int gu_category(Code) | | |
gu_user | public static int gu_user(Code) | | |
gu_workarea | public static int gu_workarea(Code) | | |
icq_id | public static int icq_id(Code) | | |
id_account | public static int id_account(Code) | | |
id_domain | public static int id_domain(Code) | | |
id_gender | public static int id_gender(Code) | | |
len_quota | public static int len_quota(Code) | | |
marital_status | public static int marital_status(Code) | | |
max_quota | public static int max_quota(Code) | | |
nm_acl_group | public static int nm_acl_group(Code) | | |
nm_company | public static int nm_company(Code) | | |
nm_user | public static int nm_user(Code) | | |
nm_workarea | public static int nm_workarea(Code) | | |
ny_age | public static int ny_age(Code) | | |
sn_passport | public static int sn_passport(Code) | | |
tp_account | public static int tp_account(Code) | | |
tp_passport | public static int tp_passport(Code) | | |
tx_alt_email | public static int tx_alt_email(Code) | | |
tx_challenge | public static int tx_challenge(Code) | | |
tx_comments | public static int tx_comments(Code) | | |
tx_education | public static int tx_education(Code) | | |
tx_main_email | public static int tx_main_email(Code) | | |
tx_nickname | public static int tx_nickname(Code) | | |
tx_pwd | public static int tx_pwd(Code) | | |
tx_pwd_sign | public static int tx_pwd_sign(Code) | | |
tx_reply | public static int tx_reply(Code) | | |
tx_surname1 | public static int tx_surname1(Code) | | |
tx_surname2 | public static int tx_surname2(Code) | | |
UserLoader | public UserLoader()(Code) | | |
columnCount | public int columnCount()(Code) | | |
getColumnIndex | public int getColumnIndex(String sColumnName)(Code) | | Get column index at ColumnNames array given its name
This method performs binary search assuming that ColumnNames is sorted in
ascending order
Parameters: sColumnName - String Column name (case insensitive) int Column index or -1 if not found |
prepare | public void prepare(Connection oConn, ColumnList oColList) throws SQLException(Code) | | Prepare statements for execution
This method needs to be called only once if the default constructor was used.
If ContactLoader(Connection) constructor was used, there is no need to call prepare()
and a SQLException will be raised if the attempt is made.
It is neccesary to call close() always for prepared instances as a failure
to do so will leave open cursors on the database causing it eventually to stop.
Parameters: oConn - Connection Open JDBC database connection Parameters: oColList - ColumnList This parameter is ignored throws: SQLException - |
putAll | public void putAll(Map oValues)(Code) | | Put all values from a map on their corresponding columns matching by name
Parameters: oValues - Map |
setAllColumnsToNull | public void setAllColumnsToNull()(Code) | | Set all column values to null
|
|
|
|