Class BaseStaticContentDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.contentmanagement.staticcontents.BaseStaticContentDTO
-
- All Implemented Interfaces:
Serializable,HasContentScriptDTO,IEntity
- Direct Known Subclasses:
BaseHelpContentDTO,BaseSectionContentDTO
public abstract class BaseStaticContentDTO extends EntityDTO implements HasContentScriptDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<ConfigurationVO,BaseStaticContentDTO>CONFIGURATIONstatic BasicProperty<String,BaseStaticContentDTO>CONTENTstatic BasicProperty<CustomScriptVO,BaseStaticContentDTO>CONTENT_SCRIPTstatic BasicProperty<String,BaseStaticContentDTO>CONTENT_SCRIPT_PARAMETERSstatic BasicProperty<StaticContentNature,BaseStaticContentDTO>NATURE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BaseStaticContentDTO()BaseStaticContentDTO(Long id)BaseStaticContentDTO(Property<T,? super BaseStaticContentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()ConfigurationVOgetConfiguration()StringgetContent()CustomScriptVOgetContentScript()StringgetContentScriptParameters()StaticContentNaturegetNature()voidsetConfiguration(ConfigurationVO configuration)voidsetContent(String content)voidsetContentScript(CustomScriptVO contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetNature(StaticContentNature nature)-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, 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
-
CONFIGURATION
public static final BasicProperty<ConfigurationVO,BaseStaticContentDTO> CONFIGURATION
-
CONTENT
public static final BasicProperty<String,BaseStaticContentDTO> CONTENT
-
CONTENT_SCRIPT
public static final BasicProperty<CustomScriptVO,BaseStaticContentDTO> CONTENT_SCRIPT
-
CONTENT_SCRIPT_PARAMETERS
public static final BasicProperty<String,BaseStaticContentDTO> CONTENT_SCRIPT_PARAMETERS
-
NATURE
public static final BasicProperty<StaticContentNature,BaseStaticContentDTO> NATURE
-
-
Constructor Detail
-
BaseStaticContentDTO
public BaseStaticContentDTO()
-
BaseStaticContentDTO
public BaseStaticContentDTO(Long id)
-
BaseStaticContentDTO
public BaseStaticContentDTO(Property<T,? super BaseStaticContentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getConfiguration
public ConfigurationVO getConfiguration()
-
setConfiguration
public void setConfiguration(ConfigurationVO configuration)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getContentScript
public CustomScriptVO getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScriptDTO
-
setContentScript
public void setContentScript(CustomScriptVO contentScript)
- Specified by:
setContentScriptin interfaceHasContentScriptDTO
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScriptDTO
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
- Specified by:
setContentScriptParametersin interfaceHasContentScriptDTO
-
getNature
public StaticContentNature getNature()
-
setNature
public void setNature(StaticContentNature nature)
-
-