Class CMSTimeRestrictionModelMother
- java.lang.Object
-
- de.hybris.platform.cmsfacades.util.models.AbstractModelMother<CMSTimeRestrictionModel>
-
- de.hybris.platform.cmsfacades.util.models.CMSTimeRestrictionModelMother
-
public class CMSTimeRestrictionModelMother extends AbstractModelMother<CMSTimeRestrictionModel>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME_NEXT_WEEK
static java.lang.String
NAME_TODAY
static java.lang.String
NAME_TOMORROW
static java.lang.String
UID_NEXT_WEEK
static java.lang.String
UID_TODAY
static java.lang.String
UID_TOMORROW
-
Constructor Summary
Constructors Constructor Description CMSTimeRestrictionModelMother()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMSTimeRestrictionModel
createTodayRestrictionAndAssignToComponents(CatalogVersionModel catalogVersion, AbstractCMSComponentModel... components)
CMSTimeRestrictionModel
createTodayRestrictionAndAssignToPages(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
CMSRestrictionDao
getRestrictionDao()
CMSTimeRestrictionModel
nextWeek(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
void
setRestrictionDao(CMSRestrictionDao restrictionDao)
CMSTimeRestrictionModel
today(CatalogVersionModel catalogVersion)
CMSTimeRestrictionModel
tomorrow(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
-
Methods inherited from class de.hybris.platform.cmsfacades.util.models.AbstractModelMother
getFlexibleSearchService, getFromCollectionOrSaveAndReturn, getModelFromCollection, getModelService, getOrSaveAndReturn, saveModel, setFlexibleSearchService, setModelService
-
-
-
-
Field Detail
-
UID_TOMORROW
public static final java.lang.String UID_TOMORROW
- See Also:
- Constant Field Values
-
NAME_TOMORROW
public static final java.lang.String NAME_TOMORROW
- See Also:
- Constant Field Values
-
UID_TODAY
public static final java.lang.String UID_TODAY
- See Also:
- Constant Field Values
-
NAME_TODAY
public static final java.lang.String NAME_TODAY
- See Also:
- Constant Field Values
-
UID_NEXT_WEEK
public static final java.lang.String UID_NEXT_WEEK
- See Also:
- Constant Field Values
-
NAME_NEXT_WEEK
public static final java.lang.String NAME_NEXT_WEEK
- See Also:
- Constant Field Values
-
-
Method Detail
-
today
public CMSTimeRestrictionModel today(CatalogVersionModel catalogVersion)
-
createTodayRestrictionAndAssignToPages
public CMSTimeRestrictionModel createTodayRestrictionAndAssignToPages(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
-
createTodayRestrictionAndAssignToComponents
public CMSTimeRestrictionModel createTodayRestrictionAndAssignToComponents(CatalogVersionModel catalogVersion, AbstractCMSComponentModel... components)
-
tomorrow
public CMSTimeRestrictionModel tomorrow(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
-
nextWeek
public CMSTimeRestrictionModel nextWeek(CatalogVersionModel catalogVersion, AbstractPageModel... pages)
-
getRestrictionDao
public CMSRestrictionDao getRestrictionDao()
-
setRestrictionDao
public void setRestrictionDao(CMSRestrictionDao restrictionDao)
-
-