org.pentaho.platform.dataaccess.datasource.wizard.service.agile
Class AgileHelper

java.lang.Object
  extended by org.pentaho.platform.dataaccess.datasource.wizard.service.agile.AgileHelper

public class AgileHelper
extends Object


Field Summary
static String PLUGIN_NAME
           
 
Constructor Summary
AgileHelper()
           
 
Method Summary
static String generateTableName(String filename)
           
static Connection getConnection(String jndiName)
           
static long getContentLength()
           
static int getCsvSampleRowSize()
           
static org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()
           
static String getDatasourceSolutionStorage()
           
static String getDialect(org.pentaho.di.core.database.DatabaseMeta meta)
           
static String getFolderPath(String project)
           
static String getJndiName()
           
static String getProjectMetadataFolder(String project)
           
static String getSchemaName()
           
static String getTmpFolderPath(String project)
           
static void setContentLength(long contentLength)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_NAME

public static final String PLUGIN_NAME
See Also:
Constant Field Values
Constructor Detail

AgileHelper

public AgileHelper()
Method Detail

getSchemaName

public static String getSchemaName()

getDatasourceSolutionStorage

public static String getDatasourceSolutionStorage()

getDialect

public static String getDialect(org.pentaho.di.core.database.DatabaseMeta meta)

generateTableName

public static String generateTableName(String filename)

getJndiName

public static String getJndiName()

getCsvSampleRowSize

public static int getCsvSampleRowSize()

getDatabaseMeta

public static org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()

getConnection

public static Connection getConnection(String jndiName)
                                throws DatasourceServiceException,
                                       SQLException
Throws:
DatasourceServiceException
SQLException

getFolderPath

public static String getFolderPath(String project)

getTmpFolderPath

public static String getTmpFolderPath(String project)

getProjectMetadataFolder

public static String getProjectMetadataFolder(String project)

getContentLength

public static long getContentLength()

setContentLength

public static void setContentLength(long contentLength)