Class BannerDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
-
- org.cyclos.model.contentmanagement.contentitems.BannerDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,HasContentScriptDTO,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
ClassicBannerDTO,FrontendBannerDTO
public abstract class BannerDTO extends ContentItemDTO implements HasContentScriptDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,BannerDTO>CONTENTstatic BasicProperty<CustomScriptVO,BannerDTO>CONTENT_SCRIPTstatic BasicProperty<String,BannerDTO>CONTENT_SCRIPT_PARAMETERSstatic BasicProperty<Boolean,BannerDTO>THEMED-
Fields inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
CONFIGURATION, INTERNAL_NAME, VISIBILITY
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()StringgetContent()CustomScriptVOgetContentScript()StringgetContentScriptParameters()booleanisThemed()voidsetContent(String content)voidsetContentScript(CustomScriptVO contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetThemed(boolean themed)-
Methods inherited from class org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
className, getConfiguration, getInternalName, getVisibility, setConfiguration, setInternalName, setVisibility
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONTENT
public static final BasicProperty<String,BannerDTO> CONTENT
-
CONTENT_SCRIPT
public static final BasicProperty<CustomScriptVO,BannerDTO> CONTENT_SCRIPT
-
CONTENT_SCRIPT_PARAMETERS
public static final BasicProperty<String,BannerDTO> CONTENT_SCRIPT_PARAMETERS
-
THEMED
public static final BasicProperty<Boolean,BannerDTO> THEMED
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classContentItemDTO
-
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
-
isThemed
public boolean isThemed()
-
setThemed
public void setThemed(boolean themed)
-
-