1 9 package org.jboss.portal.setup.impl.dl.cmsloader; 10 11 import org.jboss.portal.setup.impl.config.ConfigurationImpl; 12 import org.jboss.portal.setup.dl.DataLoaderConfig; 13 import org.jboss.util.StringPropertyReplacer; 14 15 23 public class CmsDataLoaderConfig extends ConfigurationImpl implements DataLoaderConfig 24 { 25 private String m_dataQueryStr; 26 private String m_dataLoaderClassname; 27 private String m_dataDirectory; 28 29 30 33 public String getLocalDataDirectory() 34 { 35 return m_dataDirectory; 36 } 37 40 public void setLocalDataDirectory(String dataDirectory) 41 { 42 String result = dataDirectory; 43 m_dataDirectory = StringPropertyReplacer.replaceProperties(result); 44 } 45 49 public String getDataQueryString() 50 { 51 return m_dataQueryStr; 52 } 53 54 58 public void setDataQueryString(String queryString) 59 { 60 m_dataQueryStr = queryString; 61 } 62 63 64 68 public String getDataLoaderClass() 69 { 70 return m_dataLoaderClassname; 71 } 72 73 77 public void setDataLoaderClass(String className) 78 { 79 m_dataLoaderClassname = className; 80 } 81 82 85 public String getActionType() 86 { 87 return "CMS"; 88 } 89 90 91 } 92 | Popular Tags |