Java Doc for TurbineMapBuilder.java in  » Web-Framework » TURBINE » org » apache » turbine » util » db » map » 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 » Web Framework » TURBINE » org.apache.turbine.util.db.map 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.turbine.util.db.map.TurbineMapBuilder

TurbineMapBuilder
public class TurbineMapBuilder implements MapBuilder(Code)
Default Builder for Database/Table/Column Maps within the Turbine System. If you decide to use your own table schema, then you probably will want to implement this class on your own. It is then defined within the TurbineResources.properties file.
author:
   John D. McNally
author:
   Daniel Rall
version:
   $Id: TurbineMapBuilder.java 534527 2007-05-02 16:10:59Z tv $


Field Summary
protected  DatabaseMapdbMap
     The database map.


Method Summary
public  voiddoBuild()
     Build up the databasemapping.
public  StringgetConfirmValue()
     Column used to store the user's confirmation flag.
public  StringgetCreated()
     Column used to store the user's record cration time.
public  DatabaseMapgetDatabaseMap()
     Gets the databasemap this map builder built.
public  StringgetEmail()
     Column used to store the user's email.
public  StringgetFirstName()
     Column used to store the user's first name.
public  StringgetGroupId()
     Column used for the id of the Group table.
public  StringgetGroupName()
     Column used for the name of a Group.
public  StringgetGroup_GroupId()
     Fully qualified column name for Group id.
public  StringgetGroup_Name()
     Fully qualified column name for Group name.
public  StringgetGroup_ObjectData()
     Fully qualified column name for ObjectData column.
public  StringgetLastLogin()
     Column used to record the last login time for visitor.
public  StringgetLastName()
     Column used to store the user's last name.
public  StringgetModified()
     Column used to store the user's data modification time.
public  StringgetObjectData()
     Column used to record general visitor data from a hashmap.
public  StringgetPassword()
     Column used to record the users password.
public  StringgetPermissionId()
     Column used for the id of the Permission table.
public  StringgetPermissionName()
     Column used for the name of a Permission.
public  StringgetPermission_Name()
     Fully qualified column name for Permission table name of the permission.
public  StringgetPermission_ObjectData()
     Fully qualified column name for ObjectData column.
public  StringgetPermission_PermissionId()
     Fully qualified column name for Permission table unique key.
public  StringgetRoleId()
     Column used for the unique id to a Role.
public  StringgetRoleName()
     Column used for the name of Role.
public  StringgetRolePermission_PermissionId()
     Fully qualified column name for RolePermission permission id.
public  StringgetRolePermission_RoleId()
     Fully qualified column name for RolePermission role id.
public  StringgetRole_Name()
     Fully qualified column name for Role name.
public  StringgetRole_ObjectData()
     Fully qualified column name for ObjectData column.
public  StringgetRole_RoleId()
     Fully qualified column name for Role unique key.
public  StringgetSequenceGroup()
     GROUP_SEQUENCE.
public  StringgetSequencePermission()
     PERMISSION_SEQUENCE.
public  StringgetSequenceRole()
     ROLE_SEQUENCE.
public  StringgetSequenceUser()
     USER_SEQUENCE.
public  StringgetTableGroup()
     Get the Group table.
public  StringgetTablePermission()
     Get the Permission table.
public  StringgetTableRole()
     Get the UserRole table.
public  StringgetTableRolePermission()
     Get the RolePermission table.
public  StringgetTableUser()
     Get the User table.
public  StringgetTableUserGroupRole()
     Get the UserGroupRole table.
public  StringgetUserGroupRole_GroupId()
     Fully qualified column name for UserGroupRole group id.
public  StringgetUserGroupRole_RoleId()
     Fully qualified column name for UserGroupRole role id.
public  StringgetUserGroupRole_UserId()
     Fully qualified column name for UserGroupRole visitor id.
public  StringgetUserId()
     Internal Unique key to the visitor table.
public  StringgetUser_ConfirmValue()
     Fully qualified column used to store the user's confirmation flag.
public  StringgetUser_Created()
     Fully qualified column used to store the user's record cration time.
public  StringgetUser_Email()
     Fully qualified column used to store the user's email.
public  StringgetUser_FirstName()
     Fully qualified column used to store the user's last name.
public  StringgetUser_LastLogin()
     Fully qualified column used to record the last login time for visitor.
public  StringgetUser_LastName()
     Fully qualified column used to store the user's last name.
public  StringgetUser_Modified()
     Fully qualified column used to store the user's data modification time.
public  StringgetUser_ObjectData()
     Fully qualified column used to record general visitor data from a hashmap.
public  StringgetUser_Password()
     Fully qualified column used to record the visitors password.
public  StringgetUser_UserId()
     Fully qualified Unique key to the visitor table.
public  StringgetUser_Username()
     Fully qualified column used to record the visitors username.
public  StringgetUsername()
     Column used to record the users username.
public  booleanisBuilt()
     Tells us if this DatabaseMapBuilder is built so that we don't have to re-build it every time.

Field Detail
dbMap
protected DatabaseMap dbMap(Code)
The database map.





Method Detail
doBuild
public void doBuild() throws Exception(Code)
Build up the databasemapping. It should probably be modified to read a .xml file representation of the database to build this.
exception:
  Exception - a generic exception.



getConfirmValue
public String getConfirmValue()(Code)
Column used to store the user's confirmation flag. Override this if using your custom table. A String.



getCreated
public String getCreated()(Code)
Column used to store the user's record cration time. Override this if using your custom table. A String.



getDatabaseMap
public DatabaseMap getDatabaseMap()(Code)
Gets the databasemap this map builder built. A DatabaseMap.



getEmail
public String getEmail()(Code)
Column used to store the user's email. Override this if using your custom table. A String.



getFirstName
public String getFirstName()(Code)
Column used to store the user's first name. Override this if using your custom table. A String.



getGroupId
public String getGroupId()(Code)
Column used for the id of the Group table. Override this if using your custom table. A String.



getGroupName
public String getGroupName()(Code)
Column used for the name of a Group. Override this if using your custom table. A String.



getGroup_GroupId
public String getGroup_GroupId()(Code)
Fully qualified column name for Group id. Shouldn't need to override this as it uses the above methods. A String.



getGroup_Name
public String getGroup_Name()(Code)
Fully qualified column name for Group name. Shouldn't need to override this as it uses the above methods. A String.



getGroup_ObjectData
public String getGroup_ObjectData()(Code)
Fully qualified column name for ObjectData column. Shouldn't need to override this as it uses the above methods. A String.



getLastLogin
public String getLastLogin()(Code)
Column used to record the last login time for visitor. Override this if using your custom table. A String.



getLastName
public String getLastName()(Code)
Column used to store the user's last name. Override this if using your custom table. A String.



getModified
public String getModified()(Code)
Column used to store the user's data modification time. Override this if using your custom table. A String.



getObjectData
public String getObjectData()(Code)
Column used to record general visitor data from a hashmap. Override this if using your custom table. A String.



getPassword
public String getPassword()(Code)
Column used to record the users password. Override this if using your custom table. A String.



getPermissionId
public String getPermissionId()(Code)
Column used for the id of the Permission table. Override this if using your custom table. A String.



getPermissionName
public String getPermissionName()(Code)
Column used for the name of a Permission. Override this if using your custom table. A String.



getPermission_Name
public String getPermission_Name()(Code)
Fully qualified column name for Permission table name of the permission. Shouldn't need to override this as it uses the above methods. A String.



getPermission_ObjectData
public String getPermission_ObjectData()(Code)
Fully qualified column name for ObjectData column. Shouldn't need to override this as it uses the above methods. A String.



getPermission_PermissionId
public String getPermission_PermissionId()(Code)
Fully qualified column name for Permission table unique key. Shouldn't need to override this as it uses the above methods. A String.



getRoleId
public String getRoleId()(Code)
Column used for the unique id to a Role. Override this if using your custom table A String.



getRoleName
public String getRoleName()(Code)
Column used for the name of Role. Override this if using your custom table. A String.



getRolePermission_PermissionId
public String getRolePermission_PermissionId()(Code)
Fully qualified column name for RolePermission permission id. Shouldn't need to override this as it uses the above methods. A String.



getRolePermission_RoleId
public String getRolePermission_RoleId()(Code)
Fully qualified column name for RolePermission role id. Shouldn't need to override this as it uses the above methods. A String.



getRole_Name
public String getRole_Name()(Code)
Fully qualified column name for Role name. Shouldn't need to override this as it uses the above methods. A String.



getRole_ObjectData
public String getRole_ObjectData()(Code)
Fully qualified column name for ObjectData column. Shouldn't need to override this as it uses the above methods. A String.



getRole_RoleId
public String getRole_RoleId()(Code)
Fully qualified column name for Role unique key. Shouldn't need to override this as it uses the above methods. A String.



getSequenceGroup
public String getSequenceGroup()(Code)
GROUP_SEQUENCE. A String.



getSequencePermission
public String getSequencePermission()(Code)
PERMISSION_SEQUENCE. A String.



getSequenceRole
public String getSequenceRole()(Code)
ROLE_SEQUENCE. A String.



getSequenceUser
public String getSequenceUser()(Code)
USER_SEQUENCE. A String.



getTableGroup
public String getTableGroup()(Code)
Get the Group table. A String.



getTablePermission
public String getTablePermission()(Code)
Get the Permission table. A String.



getTableRole
public String getTableRole()(Code)
Get the UserRole table. A String.



getTableRolePermission
public String getTableRolePermission()(Code)
Get the RolePermission table. A String.



getTableUser
public String getTableUser()(Code)
Get the User table. A String.



getTableUserGroupRole
public String getTableUserGroupRole()(Code)
Get the UserGroupRole table. A String.



getUserGroupRole_GroupId
public String getUserGroupRole_GroupId()(Code)
Fully qualified column name for UserGroupRole group id. Shouldn't need to override this as it uses the above methods. A String.



getUserGroupRole_RoleId
public String getUserGroupRole_RoleId()(Code)
Fully qualified column name for UserGroupRole role id. Shouldn't need to override this as it uses the above methods. A String.



getUserGroupRole_UserId
public String getUserGroupRole_UserId()(Code)
Fully qualified column name for UserGroupRole visitor id. Shouldn't need to override this as it uses the above methods. A String.



getUserId
public String getUserId()(Code)
Internal Unique key to the visitor table. Override this if using your custom table. A String.



getUser_ConfirmValue
public String getUser_ConfirmValue()(Code)
Fully qualified column used to store the user's confirmation flag. Shouldn't need to override this as it uses the above methods. A String.



getUser_Created
public String getUser_Created()(Code)
Fully qualified column used to store the user's record cration time. Shouldn't need to override this as it uses the above methods. A String.



getUser_Email
public String getUser_Email()(Code)
Fully qualified column used to store the user's email. Shouldn't need to override this as it uses the above methods. A String.



getUser_FirstName
public String getUser_FirstName()(Code)
Fully qualified column used to store the user's last name. Shouldn't need to override this as it uses the above methods. A String.



getUser_LastLogin
public String getUser_LastLogin()(Code)
Fully qualified column used to record the last login time for visitor. Shouldn't need to override this as it uses the above methods. A String.



getUser_LastName
public String getUser_LastName()(Code)
Fully qualified column used to store the user's last name. Shouldn't need to override this as it uses the above methods. A String.



getUser_Modified
public String getUser_Modified()(Code)
Fully qualified column used to store the user's data modification time. Shouldn't need to override this as it uses the above methods. A String.



getUser_ObjectData
public String getUser_ObjectData()(Code)
Fully qualified column used to record general visitor data from a hashmap. Shouldn't need to override this as it uses the above methods. A String.



getUser_Password
public String getUser_Password()(Code)
Fully qualified column used to record the visitors password. Shouldn't need to override this as it uses the above methods. A String.



getUser_UserId
public String getUser_UserId()(Code)
Fully qualified Unique key to the visitor table. Shouldn't need to override this as it uses the above methods. A String.



getUser_Username
public String getUser_Username()(Code)
Fully qualified column used to record the visitors username. Shouldn't need to override this as it uses the above methods. A String.



getUsername
public String getUsername()(Code)
Column used to record the users username. Override this if using your custom table. A String.



isBuilt
public boolean isBuilt()(Code)
Tells us if this DatabaseMapBuilder is built so that we don't have to re-build it every time. True if DatabaseMapBuilder is built.



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.