public class SiteModelMother extends AbstractModelMother<CMSSiteModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
APPAREL |
static String |
ELECTRONICS |
static String |
POWERTOOL |
static String |
PREVIEW_URL |
static String |
REDIRECT_URL |
| Constructor and Description |
|---|
SiteModelMother() |
| Modifier and Type | Method and Description |
|---|---|
CMSSiteModel |
createElectronicsWithAppleCatalog() |
CMSSiteModel |
createElectronicsWithAppleStagedAndOnlineCatalog() |
CMSSiteModel |
createNorthAmericaElectronicsWithAppleStagedCatalog() |
protected CMSSiteModel |
defaultSite() |
protected BaseStoreModelMother |
getBaseStoreModelMother() |
protected ContentCatalogModelMother |
getCatalogModelMother() |
protected CatalogVersionModelMother |
getCatalogVersionModelMother() |
protected CMSSiteDao |
getCmsSiteDao() |
protected LanguageModelMother |
getLanguageModelMother() |
void |
setBaseStoreModelMother(BaseStoreModelMother baseStoreModelMother) |
void |
setCatalogModelMother(ContentCatalogModelMother catalogModelMother) |
void |
setCatalogVersionModelMother(CatalogVersionModelMother catalogVersionModelMother) |
void |
setCmsSiteDao(CMSSiteDao cmsSiteDao) |
void |
setLanguageModelMother(LanguageModelMother languageModelMother) |
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelServicepublic static final String ELECTRONICS
public static final String APPAREL
public static final String POWERTOOL
public static final String PREVIEW_URL
public static final String REDIRECT_URL
protected CMSSiteModel defaultSite()
public CMSSiteModel createElectronicsWithAppleCatalog()
public CMSSiteModel createElectronicsWithAppleStagedAndOnlineCatalog()
public CMSSiteModel createNorthAmericaElectronicsWithAppleStagedCatalog()
protected LanguageModelMother getLanguageModelMother()
public void setLanguageModelMother(LanguageModelMother languageModelMother)
protected ContentCatalogModelMother getCatalogModelMother()
public void setCatalogModelMother(ContentCatalogModelMother catalogModelMother)
protected CMSSiteDao getCmsSiteDao()
public void setCmsSiteDao(CMSSiteDao cmsSiteDao)
protected BaseStoreModelMother getBaseStoreModelMother()
public void setBaseStoreModelMother(BaseStoreModelMother baseStoreModelMother)
protected CatalogVersionModelMother getCatalogVersionModelMother()
public void setCatalogVersionModelMother(CatalogVersionModelMother catalogVersionModelMother)
Copyright © 2000-2016 SAP SE. All Rights Reserved.