public class CMSTimeRestrictionModel extends AbstractRestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ACTIVEFROM
Generated constant - Attribute key of
CMSTimeRestriction.activeFrom attribute defined at extension cms2. |
static java.lang.String |
ACTIVEUNTIL
Generated constant - Attribute key of
CMSTimeRestriction.activeUntil attribute defined at extension cms2. |
static java.lang.String |
USESTORETIMEZONE
Generated constant - Attribute key of
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2. |
_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 |
|---|
CMSTimeRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
CMSTimeRestrictionModel(CatalogVersionModel _catalogVersion,
ItemModel _owner,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSTimeRestrictionModel(CatalogVersionModel _catalogVersion,
java.lang.String _uid)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CMSTimeRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getActiveFrom()
Generated method - Getter of the
CMSTimeRestriction.activeFrom attribute defined at extension cms2. |
java.util.Date |
getActiveUntil()
Generated method - Getter of the
CMSTimeRestriction.activeUntil attribute defined at extension cms2. |
java.lang.Boolean |
getUseStoreTimeZone()
Generated method - Getter of the
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2. |
void |
setActiveFrom(java.util.Date value)
Generated method - Setter of
CMSTimeRestriction.activeFrom attribute defined at extension cms2. |
void |
setActiveUntil(java.util.Date value)
Generated method - Setter of
CMSTimeRestriction.activeUntil attribute defined at extension cms2. |
void |
setUseStoreTimeZone(java.lang.Boolean value)
Generated method - Setter of
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2. |
getComponents, 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 ACTIVEFROM
CMSTimeRestriction.activeFrom attribute defined at extension cms2.public static final java.lang.String ACTIVEUNTIL
CMSTimeRestriction.activeUntil attribute defined at extension cms2.public static final java.lang.String USESTORETIMEZONE
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2.public CMSTimeRestrictionModel()
public CMSTimeRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CMSTimeRestrictionModel(CatalogVersionModel _catalogVersion, java.lang.String _uid)
_catalogVersion - initial attribute declared by type CMSItem at extension cms2_uid - initial attribute declared by type CMSItem at extension cms2@Deprecated public CMSTimeRestrictionModel(CatalogVersionModel _catalogVersion, ItemModel _owner, java.lang.String _uid)
_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="activeFrom", type=GETTER) public java.util.Date getActiveFrom()
CMSTimeRestriction.activeFrom attribute defined at extension cms2.@Accessor(qualifier="activeUntil", type=GETTER) public java.util.Date getActiveUntil()
CMSTimeRestriction.activeUntil attribute defined at extension cms2.@Accessor(qualifier="useStoreTimeZone", type=GETTER) public java.lang.Boolean getUseStoreTimeZone()
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2.@Accessor(qualifier="activeFrom", type=SETTER) public void setActiveFrom(java.util.Date value)
CMSTimeRestriction.activeFrom attribute defined at extension cms2.value - the activeFrom@Accessor(qualifier="activeUntil", type=SETTER) public void setActiveUntil(java.util.Date value)
CMSTimeRestriction.activeUntil attribute defined at extension cms2.value - the activeUntil@Accessor(qualifier="useStoreTimeZone", type=SETTER) public void setUseStoreTimeZone(java.lang.Boolean value)
CMSTimeRestriction.useStoreTimeZone attribute defined at extension cms2.value - the useStoreTimeZone - If true then use the dates relative to the store time zoneCopyright © 2018 SAP SE. All Rights Reserved.