Class BannerData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<BannerDTO>
-
- org.cyclos.model.contentmanagement.contentitems.BannerData
-
- All Implemented Interfaces:
Serializable,HasContentData
public class BannerData extends EntityData<BannerDTO> implements HasContentData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CustomScriptVO,BannerData>CONTENT_SCRIPTSstatic BasicProperty<BannerNature,BannerData>NATUREstatic ListProperty<ParameterVO,BannerData>PARAMETERS-
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 BannerData()BannerData(Property<T,? super BannerData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<CustomScriptVO>getContentScripts()BannerNaturegetNature()List<ParameterVO>getParameters()voidsetContentScripts(List<CustomScriptVO> contentScripts)voidsetNature(BannerNature nature)voidsetParameters(List<ParameterVO> parameters)-
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,BannerData> CONTENT_SCRIPTS
-
NATURE
public static final BasicProperty<BannerNature,BannerData> NATURE
-
PARAMETERS
public static final ListProperty<ParameterVO,BannerData> PARAMETERS
-
-
Constructor Detail
-
BannerData
public BannerData()
-
BannerData
public BannerData(Property<T,? super BannerData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<BannerDTO>
-
getContentScripts
public List<CustomScriptVO> getContentScripts()
- Specified by:
getContentScriptsin interfaceHasContentData
-
setContentScripts
public void setContentScripts(List<CustomScriptVO> contentScripts)
- Specified by:
setContentScriptsin interfaceHasContentData
-
getNature
public BannerNature getNature()
-
setNature
public void setNature(BannerNature nature)
-
getParameters
public List<ParameterVO> getParameters()
- Specified by:
getParametersin interfaceHasContentData
-
setParameters
public void setParameters(List<ParameterVO> parameters)
- Specified by:
setParametersin interfaceHasContentData
-
-