public class ScriptExecutorImpl extends Object implements ScriptExecutor
| Constructor and Description |
|---|
ScriptExecutorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeScriptUrl(String scriptUrl) |
static int |
getMaxStringLength() |
void |
setDataSource(DataSource dataSource) |
void |
setDialect(Dialect dialect)
Sets the previously auto-detected Hibernate dialect.
|
void |
setGlobalProperties(Properties globalProperties)
Sets the properties map from which we look up some configuration settings.
|
static String |
trimStringForTextFields(String value)
Truncates or returns a string that will fit into the string columns in the schema.
|
public static final int getMaxStringLength()
public static final String trimStringForTextFields(String value)
DEFAULT_MAX_STRING_LENGTH.value - the string to checkgetMaxStringLength()public void setDialect(Dialect dialect)
dialect - the dialectpublic void setDataSource(DataSource dataSource)
public void setGlobalProperties(Properties globalProperties)
globalProperties - the global propertiespublic void executeScriptUrl(String scriptUrl) throws Exception
executeScriptUrl in interface ScriptExecutorExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.