Class DynamicDocument
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.contentmanagement.Document
-
- org.cyclos.entities.contentmanagement.SharedDocument
-
- org.cyclos.entities.contentmanagement.DynamicDocument
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasContentScript,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,UsesScript
@Entity public class DynamicDocument extends SharedDocument implements HasContentScript
A Document of type Dynamic
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description DynamicDocument()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()CustomScriptgetContentScript()StringgetContentScriptParameters()List<DocumentCustomField>getFormFields()DocumentNaturegetNature()CustomScriptUsedInTypegetScriptUsedInType()Returns the type of script usagebooleanisHasFile()voidsetContent(String content)voidsetContentScript(CustomScript contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetFormFields(List<DocumentCustomField> formFields)-
Methods inherited from class org.cyclos.entities.contentmanagement.SharedDocument
getCategory, getDataTranslationType, getInternalName, setCategory, setInternalName
-
Methods inherited from class org.cyclos.entities.contentmanagement.Document
getDescription, getDiscriminator, getNetwork, isEnable, setDescription, setEnable, setNetwork
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getContent
public String getContent()
-
getContentScript
public CustomScript getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScript
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScript
-
getFormFields
public List<DocumentCustomField> getFormFields()
-
getNature
public DocumentNature getNature()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
setContent
public void setContent(String content)
-
setContentScript
public void setContentScript(CustomScript contentScript)
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
-
setFormFields
public void setFormFields(List<DocumentCustomField> formFields)
-
-