Class DynamicDocumentDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.documents.DocumentDTO
-
- org.cyclos.model.contentmanagement.documents.SharedDocumentDTO
-
- org.cyclos.model.contentmanagement.documents.DynamicDocumentDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,HasContentScriptDTO,IEntity,IInternalNamedEntity,INamedEntity
public class DynamicDocumentDTO extends SharedDocumentDTO implements HasContentScriptDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,DynamicDocumentDTO>CONTENTstatic BasicProperty<CustomScriptVO,DynamicDocumentDTO>CONTENT_SCRIPTstatic BasicProperty<String,DynamicDocumentDTO>CONTENT_SCRIPT_PARAMETERS-
Fields inherited from class org.cyclos.model.contentmanagement.documents.SharedDocumentDTO
CATEGORY, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.contentmanagement.documents.DocumentDTO
DESCRIPTION, ENABLE
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description DynamicDocumentDTO()DynamicDocumentDTO(Long id)DynamicDocumentDTO(Property<T,? super DynamicDocumentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetContent()CustomScriptVOgetContentScript()StringgetContentScriptParameters()voidsetContent(String content)voidsetContentScript(CustomScriptVO contentScript)voidsetContentScriptParameters(String contentScriptParameters)-
Methods inherited from class org.cyclos.model.contentmanagement.documents.SharedDocumentDTO
getCategory, getInternalName, setCategory, setInternalName
-
Methods inherited from class org.cyclos.model.contentmanagement.documents.DocumentDTO
getDescription, isEnable, setDescription, setEnable
-
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,DynamicDocumentDTO> CONTENT
-
CONTENT_SCRIPT
public static final BasicProperty<CustomScriptVO,DynamicDocumentDTO> CONTENT_SCRIPT
-
CONTENT_SCRIPT_PARAMETERS
public static final BasicProperty<String,DynamicDocumentDTO> CONTENT_SCRIPT_PARAMETERS
-
-
Constructor Detail
-
DynamicDocumentDTO
public DynamicDocumentDTO()
-
DynamicDocumentDTO
public DynamicDocumentDTO(Long id)
-
DynamicDocumentDTO
public DynamicDocumentDTO(Property<T,? super DynamicDocumentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classSharedDocumentDTO
-
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
-
-