public abstract class ServicelayerTest extends ServicelayerBaseTest
| Modifier and Type | Field and Description |
|---|---|
protected ImportService |
importService |
jaloSession| Modifier | Constructor and Description |
|---|---|
protected |
ServicelayerTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCoreData() |
static void |
createDefaultCatalog() |
static void |
createDefaultUsers() |
static void |
createHardwareCatalog() |
protected ApplicationContext |
getApplicationContext() |
protected static void |
importCsv(java.lang.String csvFile,
java.lang.String encoding)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importCsv(java.lang.String, java.lang.String)
|
void |
importData(ImpExResource resource)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImpExResource, de.hybris.platform.servicelayer.impex.ImportService)
|
ImportResult |
importData(ImportConfig config)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(de.hybris.platform.servicelayer.impex.ImportConfig, de.hybris.platform.servicelayer.impex.ImportService)
|
void |
importData(java.lang.String resource,
java.lang.String encoding)
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#importData(java.lang.String, java.lang.String, de.hybris.platform.servicelayer.impex.ImportService)
|
protected static void |
importStream(java.io.InputStream is,
java.lang.String encoding,
java.lang.String resourceName) |
protected static void |
importStream(java.io.InputStream is,
java.lang.String encoding,
java.lang.String resourceName,
boolean hijackExceptions) |
protected boolean |
isPrefetchModeNone()
Delegates to de.hybris.platform.servicelayer.ServicelayerTestLogic#isPrefetchModeNone()
|
autowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionprotected ImportService importService
public static void createCoreData()
throws java.lang.Exception
java.lang.Exceptionpublic static void createDefaultCatalog()
throws java.lang.Exception
java.lang.Exceptionpublic static void createHardwareCatalog()
throws java.lang.Exception
java.lang.Exceptionpublic static void createDefaultUsers()
throws java.lang.Exception
java.lang.Exceptionpublic void importData(java.lang.String resource,
java.lang.String encoding)
throws ImpExException
resource - location of classpath resource that will be importedencoding - encoding of classpath resourceImpExExceptionpublic void importData(ImpExResource resource) throws ImpExException
resource - impex resource to loadImpExExceptionpublic ImportResult importData(ImportConfig config) throws ImpExException
config - with import details.ImpExExceptionprotected ApplicationContext getApplicationContext()
getApplicationContext in class ServicelayerBaseTestprotected static void importCsv(java.lang.String csvFile,
java.lang.String encoding)
throws ImpExException
csvFile - name of file to import from classpathencoding - encoding to useImpExExceptionprotected static void importStream(java.io.InputStream is,
java.lang.String encoding,
java.lang.String resourceName)
throws ImpExException
ImpExExceptionprotected static void importStream(java.io.InputStream is,
java.lang.String encoding,
java.lang.String resourceName,
boolean hijackExceptions)
throws ImpExException
ImpExExceptionprotected boolean isPrefetchModeNone()
Copyright © 2018 SAP SE. All Rights Reserved.