Class StaticContentData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<BaseStaticContentDTO>
-
- org.cyclos.model.contentmanagement.staticcontents.StaticContentData
-
- All Implemented Interfaces:
Serializable,HasContentData
- Direct Known Subclasses:
HelpStaticContentData
public class StaticContentData extends EntityData<BaseStaticContentDTO> implements HasContentData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CustomScriptVO,StaticContentData>CONTENT_SCRIPTSstatic BasicProperty<Boolean,StaticContentData>GLOBAL_DEFAULT_CONFIGstatic BasicProperty<BaseStaticContentDTO,StaticContentData>INHERITED_STATIC_CONTENTstatic BasicProperty<StaticContentThemeData,StaticContentData>INHERITED_THEME_DATAstatic BasicProperty<String,StaticContentData>MOBILE_SCHEMEstatic ListProperty<ParameterVO,StaticContentData>PARAMETERSstatic BasicProperty<StaticContentThemeData,StaticContentData>THEME_DATA-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description StaticContentData()StaticContentData(Property<T,? super StaticContentData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<CustomScriptVO>getContentScripts()BaseStaticContentDTOgetInheritedStaticContent()StaticContentThemeDatagetInheritedThemeData()StringgetMobileScheme()List<ParameterVO>getParameters()StaticContentThemeDatagetThemeData()booleanisGlobalDefaultConfig()voidsetContentScripts(List<CustomScriptVO> contentScripts)voidsetGlobalDefaultConfig(boolean globalDefaultConfig)voidsetInheritedStaticContent(BaseStaticContentDTO inheritedStaticContent)voidsetInheritedThemeData(StaticContentThemeData inheritedThemeData)voidsetMobileScheme(String mobileScheme)voidsetParameters(List<ParameterVO> parameters)voidsetThemeData(StaticContentThemeData themeData)-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONTENT_SCRIPTS
public static final ListProperty<CustomScriptVO,StaticContentData> CONTENT_SCRIPTS
-
GLOBAL_DEFAULT_CONFIG
public static final BasicProperty<Boolean,StaticContentData> GLOBAL_DEFAULT_CONFIG
-
INHERITED_STATIC_CONTENT
public static final BasicProperty<BaseStaticContentDTO,StaticContentData> INHERITED_STATIC_CONTENT
-
INHERITED_THEME_DATA
public static final BasicProperty<StaticContentThemeData,StaticContentData> INHERITED_THEME_DATA
-
MOBILE_SCHEME
public static final BasicProperty<String,StaticContentData> MOBILE_SCHEME
-
PARAMETERS
public static final ListProperty<ParameterVO,StaticContentData> PARAMETERS
-
THEME_DATA
public static final BasicProperty<StaticContentThemeData,StaticContentData> THEME_DATA
-
-
Constructor Detail
-
StaticContentData
public StaticContentData()
-
StaticContentData
public StaticContentData(Property<T,? super StaticContentData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<BaseStaticContentDTO>
-
getContentScripts
public List<CustomScriptVO> getContentScripts()
- Specified by:
getContentScriptsin interfaceHasContentData
-
setContentScripts
public void setContentScripts(List<CustomScriptVO> contentScripts)
- Specified by:
setContentScriptsin interfaceHasContentData
-
isGlobalDefaultConfig
public boolean isGlobalDefaultConfig()
-
setGlobalDefaultConfig
public void setGlobalDefaultConfig(boolean globalDefaultConfig)
-
getInheritedStaticContent
public BaseStaticContentDTO getInheritedStaticContent()
-
setInheritedStaticContent
public void setInheritedStaticContent(BaseStaticContentDTO inheritedStaticContent)
-
getInheritedThemeData
public StaticContentThemeData getInheritedThemeData()
-
setInheritedThemeData
public void setInheritedThemeData(StaticContentThemeData inheritedThemeData)
-
getMobileScheme
public String getMobileScheme()
-
setMobileScheme
public void setMobileScheme(String mobileScheme)
-
getParameters
public List<ParameterVO> getParameters()
- Specified by:
getParametersin interfaceHasContentData
-
setParameters
public void setParameters(List<ParameterVO> parameters)
- Specified by:
setParametersin interfaceHasContentData
-
getThemeData
public StaticContentThemeData getThemeData()
-
setThemeData
public void setThemeData(StaticContentThemeData themeData)
-
-