KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > setup > dl > DataLoaderConfig


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.setup.dl;
10
11 import org.jboss.portal.setup.config.HibernateConfig;
12 import org.jboss.portal.setup.config.Configuration;
13
14 import java.util.List JavaDoc;
15 import java.net.MalformedURLException JavaDoc;
16 import java.io.FileNotFoundException JavaDoc;
17
18 /**
19  * @author palber; Date: Apr 7, 2005; Time: 3:40:48 PM
20  * @since Spitfire
21  * Interface org.jboss.portal.setup.dl.DataLoaderConfig
22  * is an abstraction of a Data Loader configuration.
23  */

24 public interface DataLoaderConfig extends Configuration
25 {
26    /**
27     * @return a sql query string that will be used to validae data existence.
28     */

29    String JavaDoc getDataQueryString();
30
31    /**
32     * @param queryString a sql query string that will be used to validae data existence.
33     */

34    void setDataQueryString(String JavaDoc queryString);
35
36
37    /**
38     * @return a data loader implementation class name
39     */

40    String JavaDoc getDataLoaderClass();
41
42    /**
43     * @param className a class name of DataLoader implementation
44     */

45    void setDataLoaderClass(String JavaDoc className);
46
47
48    /**
49     * @return DataLoader action type : suppoprted types are JDBC, CMS, Hibernate
50     */

51    String JavaDoc getActionType();
52
53 }
54
Popular Tags