public class CMSBaseStoreTimeRestrictionModel extends CMSTimeRestrictionModel
Extension of the CMSTimeRestriction to restrict for a specific set of BaseStores.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
BASESTORES
Generated constant - Attribute key of
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2. |
static java.lang.String |
PASSIFSTOREDOESNTMATCH
Generated constant - Attribute key of
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2. |
ACTIVEFROM, ACTIVEUNTIL, USESTORETIMEZONE_RESTRICTIONSFORCOMPONENTS, _RESTRICTIONSFORPAGES, COMPONENTS, DESCRIPTION, INVERSERESTRICTIONS, PAGES, TYPE, TYPECODECATALOGVERSION, NAME, UID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CMSBaseStoreTimeRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
CMSBaseStoreTimeRestrictionModel(java.util.Collection<BaseStoreModel> _baseStores,
CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSBaseStoreTimeRestrictionModel(java.util.Collection<BaseStoreModel> _baseStores,
CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSBaseStoreTimeRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<BaseStoreModel> |
getBaseStores()
Generated method - Getter of the
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2. |
java.lang.Boolean |
getPassIfStoreDoesntMatch()
Generated method - Getter of the
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2. |
void |
setBaseStores(java.util.Collection<BaseStoreModel> value)
Generated method - Setter of
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2. |
void |
setPassIfStoreDoesntMatch(java.lang.Boolean value)
Generated method - Setter of
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2. |
getActiveFrom, getActiveUntil, getUseStoreTimeZone, setActiveFrom, setActiveUntil, setUseStoreTimeZonegetComponents, getDescription, getInverseRestrictions, getPages, getType, getType, getTypeCode, setComponents, setInverseRestrictions, setPagesgetCatalogVersion, getName, getUid, setCatalogVersion, setName, setUidgetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String PASSIFSTOREDOESNTMATCH
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.public static final java.lang.String BASESTORES
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2.public CMSBaseStoreTimeRestrictionModel()
public CMSBaseStoreTimeRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSBaseStoreTimeRestrictionModel(java.util.Collection<BaseStoreModel> _baseStores, CatalogVersionModel _catalogVersion, java.lang.String _uid)
_baseStores - initial attribute declared by type CMSBaseStoreTimeRestriction at extension cms2_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSBaseStoreTimeRestrictionModel(java.util.Collection<BaseStoreModel> _baseStores, CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_baseStores - initial attribute declared by type CMSBaseStoreTimeRestriction at extension cms2_catalogVersion - initial attribute declared by type CMSItem at extension cms2_owner - initial attribute declared by type Item at extension core_uid - initial attribute declared by type CMSItem at extension cms2@Accessor(qualifier="baseStores", type=GETTER) public java.util.Collection<BaseStoreModel> getBaseStores()
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="passIfStoreDoesntMatch", type=GETTER) public java.lang.Boolean getPassIfStoreDoesntMatch()
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.@Accessor(qualifier="baseStores", type=SETTER) public void setBaseStores(java.util.Collection<BaseStoreModel> value)
CMSBaseStoreTimeRestriction.baseStores attribute defined at extension cms2.value - the baseStores@Accessor(qualifier="passIfStoreDoesntMatch", type=SETTER) public void setPassIfStoreDoesntMatch(java.lang.Boolean value)
CMSBaseStoreTimeRestriction.passIfStoreDoesntMatch attribute defined at extension cms2.value - the passIfStoreDoesntMatch - If session store doesn't match store of the restriction then allow a passCopyright © 2018 SAP SE. All Rights Reserved.