Class BaseEnabledContentDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.contentmanagement.staticcontents.BaseStaticContentDTO
-
- org.cyclos.model.contentmanagement.staticcontents.BaseSectionContentDTO
-
- org.cyclos.model.contentmanagement.staticcontents.BaseEnabledContentDTO
-
- All Implemented Interfaces:
Serializable,HasContentScriptDTO,IEntity
- Direct Known Subclasses:
HomeContentDTO,WelcomeContentDTO
public class BaseEnabledContentDTO extends BaseSectionContentDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,BaseEnabledContentDTO>ENABLED-
Fields inherited from class org.cyclos.model.contentmanagement.staticcontents.BaseSectionContentDTO
CUSTOMIZED
-
Fields inherited from class org.cyclos.model.contentmanagement.staticcontents.BaseStaticContentDTO
CONFIGURATION, CONTENT, CONTENT_SCRIPT, CONTENT_SCRIPT_PARAMETERS, NATURE
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BaseEnabledContentDTO()BaseEnabledContentDTO(Long id)BaseEnabledContentDTO(Property<T,? super BaseEnabledContentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanisEnabled()voidsetEnabled(boolean enabled)-
Methods inherited from class org.cyclos.model.contentmanagement.staticcontents.BaseSectionContentDTO
isCustomized, setCustomized
-
Methods inherited from class org.cyclos.model.contentmanagement.staticcontents.BaseStaticContentDTO
getConfiguration, getContent, getContentScript, getContentScriptParameters, getNature, setConfiguration, setContent, setContentScript, setContentScriptParameters, setNature
-
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, 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
-
ENABLED
public static final BasicProperty<Boolean,BaseEnabledContentDTO> ENABLED
-
-
Constructor Detail
-
BaseEnabledContentDTO
public BaseEnabledContentDTO()
-
BaseEnabledContentDTO
public BaseEnabledContentDTO(Long id)
-
BaseEnabledContentDTO
public BaseEnabledContentDTO(Property<T,? super BaseEnabledContentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseSectionContentDTO
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
-