Source Code Cross Referenced for BusinessObjectFactory.java in  » Web-Framework » JAT » com » jat » business » 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 » JAT » com.jat.business 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        package com.jat.business;
02:
03:        import com.jat.integration.IntegrationException;
04:        import java.io.Serializable;
05:
06:        /**
07:         * <p>Title: JAT</p>
08:         * <p>Description: This class is a factory to get a list of Business Object ({@link com.jat.business.BusinessObjectList}).
09:         * <br/> Is possible to obtain a list of Business Object using {@link getBusinessObjectList} methods from an instance of this class.
10:         * </p>
11:         * <p>
12:         * If you want to build your own Business Object, you must create:
13:         * <ul>
14:         * <li>The Business Object extending {@link com.jat.business.BusinessObject} class</li>
15:         * <li>The Business Object Factory extending {@link com.jat.business.BusinessObjectFactory} class</li>
16:         * <li>The Business Object List object extending {@link com.jat.business.BusinessObjectList} class</li>
17:         * </ul>
18:         * </p>
19:         * <p>Copyright: Copyright (c) 2004 -2005 Stefano Fratini (stefano.fratini@gmail.com)</p>
20:         * <p>Distributed under the terms of the GNU Lesser General Public License, v2.1 or later</p>
21:         * @author stf
22:         * @version 1.2
23:         * @since 1.0
24:         * @see com.jat.business.BusinessObject
25:         * @see com.jat.business.BusinessObjectList
26:         */
27:
28:        public abstract class BusinessObjectFactory implements  Serializable {
29:
30:            /**
31:             * Return a list of business object loaded from a data source by an operation using the specific properties
32:             * @param dataSourceName the configured data source (see {@link com.jat.integration.DataSource} configuration)
33:             * @param name the operation name of the data source (see {@link com.jat.integration.DataSource} configuration)
34:             * @param properties the list of property used by the specified operation. It can be null.
35:             * @return the list of Business Object matching with properties in the operation of the data source
36:             * @throws java.lang.Exception if an error occours
37:             */
38:            public final BusinessObjectList getBusinessObjectList(
39:                    String dataSourceName, String name,
40:                    BusinessObjectProperties properties)
41:                    throws IntegrationException, BusinessException {
42:                return BusinessObjectList.getBusinessObjectList(this ,
43:                        dataSourceName, name, properties);
44:            }
45:
46:            /**
47:             * Return a list of business object loaded from a data source by an operation
48:             * @param dataSourceName the configured data source (see {@link com.jat.integration.DataSource} configuration)
49:             * @param name the operation name of the data source (see {@link com.jat.integration.DataSource} configuration)
50:             * @return the list of Business Object matching loaded by the operation of the data source
51:             * @throws java.lang.Exception if an error occours
52:             */
53:            public final BusinessObjectList getBusinessObjectList(
54:                    String dataSourceName, String name)
55:                    throws BusinessException, IntegrationException {
56:                return getBusinessObjectList(dataSourceName, name, null);
57:            }
58:
59:            /**
60:             * return a Business Object List from a set of properties.
61:             * <br/>Implement this method to build a new instance of your Business Object List
62:             * using the constructor with data source name and {@link com.jat.BusinessObjectPropertyList}
63:             * @param dataSourceName the configured data source (see {@link com.jat.integration.DataSource} configuration)
64:             * @param properties the list of properties
65:             * @return a new instance of a Business Object List implementation
66:             */
67:            protected abstract BusinessObjectList getBusinessObjectList(
68:                    String dataSourceName, BusinessObjectPropertyList properties);
69:
70:            /** @link dependency
71:             * @stereotype instantiate*/
72:            /*# BusinessObjectList lnkBusinessObjectList; */
73:
74:            /** @link dependency
75:             * @stereotype use*/
76:            /*# com.jat.integration.DataSourceFactory lnkDataSourceFactory; */
77:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.