Class MobilePageDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.mobilepages.MobilePageDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,HasContentScriptDTO,IEntity,IInternalNamedEntity,INamedEntity
public class MobilePageDTO extends NamedEntityDTO implements IInternalNamedEntity, HasContentScriptDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<ConfigurationVO,MobilePageDTO>CONFIGURATIONstatic BasicProperty<String,MobilePageDTO>CONTENTstatic BasicProperty<CustomScriptVO,MobilePageDTO>CONTENT_SCRIPTstatic BasicProperty<String,MobilePageDTO>CONTENT_SCRIPT_PARAMETERSstatic BasicProperty<String,MobilePageDTO>EXTERNAL_URLstatic BasicProperty<String,MobilePageDTO>ICONstatic BasicProperty<String,MobilePageDTO>INTERNAL_NAMEstatic BasicProperty<MobilePageShowInOption,MobilePageDTO>SHOW_INstatic BasicProperty<Boolean,MobilePageDTO>USE_FULL_SPACE-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description MobilePageDTO()MobilePageDTO(Long id)MobilePageDTO(Property<T,? super MobilePageDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()ConfigurationVOgetConfiguration()StringgetContent()CustomScriptVOgetContentScript()StringgetContentScriptParameters()StringgetExternalUrl()StringgetIcon()StringgetInternalName()MobilePageShowInOptiongetShowIn()booleanisUseFullSpace()voidsetConfiguration(ConfigurationVO configuration)voidsetContent(String content)voidsetContentScript(CustomScriptVO contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetExternalUrl(String externalUrl)voidsetIcon(String icon)voidsetInternalName(String internalName)voidsetShowIn(MobilePageShowInOption showIn)voidsetUseFullSpace(boolean useFullSpace)-
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
-
CONFIGURATION
public static final BasicProperty<ConfigurationVO,MobilePageDTO> CONFIGURATION
-
CONTENT
public static final BasicProperty<String,MobilePageDTO> CONTENT
-
CONTENT_SCRIPT
public static final BasicProperty<CustomScriptVO,MobilePageDTO> CONTENT_SCRIPT
-
CONTENT_SCRIPT_PARAMETERS
public static final BasicProperty<String,MobilePageDTO> CONTENT_SCRIPT_PARAMETERS
-
EXTERNAL_URL
public static final BasicProperty<String,MobilePageDTO> EXTERNAL_URL
-
ICON
public static final BasicProperty<String,MobilePageDTO> ICON
-
INTERNAL_NAME
public static final BasicProperty<String,MobilePageDTO> INTERNAL_NAME
-
SHOW_IN
public static final BasicProperty<MobilePageShowInOption,MobilePageDTO> SHOW_IN
-
USE_FULL_SPACE
public static final BasicProperty<Boolean,MobilePageDTO> USE_FULL_SPACE
-
-
Constructor Detail
-
MobilePageDTO
public MobilePageDTO()
-
MobilePageDTO
public MobilePageDTO(Long id)
-
MobilePageDTO
public MobilePageDTO(Property<T,? super MobilePageDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
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
-
getExternalUrl
public String getExternalUrl()
-
setExternalUrl
public void setExternalUrl(String externalUrl)
-
getIcon
public String getIcon()
-
setIcon
public void setIcon(String icon)
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
getShowIn
public MobilePageShowInOption getShowIn()
-
setShowIn
public void setShowIn(MobilePageShowInOption showIn)
-
isUseFullSpace
public boolean isUseFullSpace()
-
setUseFullSpace
public void setUseFullSpace(boolean useFullSpace)
-
-