Java Doc for UserLoader.java in  » Groupware » hipergate » com » knowgate » acl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » hipergate » com.knowgate.acl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Field Summary
public static  intbo_active
    
public static  intbo_change_pwd
    
public static  intbo_searchable
    
public static  intde_title
    
public static  intdt_birth
    
public static  intdt_cancel
    
public static  intdt_created
    
public static  intdt_last_update
    
public static  intdt_last_visit
    
public static  intdt_pwd_expires
    
public static  intgu_acl_group
    
public static  intgu_category
    
public static  intgu_user
    
public static  intgu_workarea
    
public static  inticq_id
    
public static  intid_account
    
public static  intid_domain
    
public static  intid_gender
    
public static  intlen_quota
    
public static  intmarital_status
    
public static  intmax_quota
    
public static  intnm_acl_group
    
public static  intnm_company
    
public static  intnm_user
    
public static  intnm_workarea
    
public static  intny_age
    
public static  intsn_passport
    
public static  inttp_account
    
public static  inttp_passport
    
public static  inttx_alt_email
    
public static  inttx_challenge
    
public static  inttx_comments
    
public static  inttx_education
    
public static  inttx_main_email
    
public static  inttx_nickname
    
public static  inttx_pwd
    
public static  inttx_pwd_sign
    
public static  inttx_reply
    
public static  inttx_surname1
    
public static  inttx_surname2
    

Constructor Summary
public  UserLoader()
    

Method Summary
public  voidclose()
    
public  intcolumnCount()
    
public  String[]columnNames()
    
public  Objectget(int iColumnIndex)
    
public  Objectget(String sColumnName)
    
public  intgetColumnIndex(String sColumnName)
    
public  voidprepare(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  voidput(int iColumnIndex, Object oValue)
    
public  voidput(String sColumnName, Object oValue)
    
public  voidputAll(Map oValues)
    
public  voidsetAllColumnsToNull()
    
public  voidstore(Connection oConn, String sWorkArea, int iFlags)
    

Field Detail
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)




Constructor Detail
UserLoader
public UserLoader()(Code)




Method Detail
close
public void close() throws SQLException(Code)



columnCount
public int columnCount()(Code)



columnNames
public String[] columnNames() throws IllegalStateException(Code)



get
public Object get(int iColumnIndex) throws ArrayIndexOutOfBoundsException(Code)
Get column by index
Parameters:
  iColumnIndex - int Colunm index [0..getColumnCount()-1] Object Column value
throws:
  ArrayIndexOutOfBoundsException -



get
public Object get(String sColumnName) throws ArrayIndexOutOfBoundsException(Code)
Get column by name
Parameters:
  sColumnName - String Column name (case sensitive) Object Column value
throws:
  ArrayIndexOutOfBoundsException - If no column with sucjh name was found



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 -



put
public void put(int iColumnIndex, Object oValue) throws ArrayIndexOutOfBoundsException(Code)
Put value for a given column
Parameters:
  iColumnIndex - Column index [0..getColumnCount()-1]
Parameters:
  oValue - Value for column
throws:
  ArrayIndexOutOfBoundsException -



put
public void put(String sColumnName, Object oValue) throws ArrayIndexOutOfBoundsException(Code)

Put value for a given column

If a previous value already exists then it is replaced
Parameters:
  sColumnName - Column name (case sensitive)
Parameters:
  oValue - Value for column
throws:
  ArrayIndexOutOfBoundsException -



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



store
public void store(Connection oConn, String sWorkArea, int iFlags) throws SQLException, IllegalArgumentException, NullPointerException, ClassCastException, NumberFormatException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.