Class BaseStaticContent
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.contentmanagement.BaseStaticContent
-
- All Implemented Interfaces:
Cloneable,HasContentScript,HasNetwork,ProcessableForProxying,IEntity,UsesScript
- Direct Known Subclasses:
BaseHelpContent,BaseSectionContent
@Entity public abstract class BaseStaticContent extends BaseEntity implements HasContentScript
Base class for static pages which hold content for website sections (header, footer, etc) and helps.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description BaseStaticContent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConfiguration()StringgetContent()CustomScriptgetContentScript()StringgetContentScriptParameters()DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeDategetLastModified()LonggetLastModifiedMillis()abstract StaticContentNaturegetNature()NetworkgetNetwork()Returns the network this entity belongs toCustomScriptUsedInTypegetScriptUsedInType()Returns the type of script usageabstract booleanisCustomized()voidsetConfiguration(Configuration configuration)voidsetContent(String content)voidsetContentScript(CustomScript contentScript)voidsetContentScriptParameters(String contentScriptParameters)voidsetLastModified(Date lastModified)-
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, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
Methods inherited from interface org.cyclos.model.system.scripts.UsesScript
isEnabled
-
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
-
getContent
public String getContent()
-
getContentScript
public CustomScript getContentScript()
- Specified by:
getContentScriptin interfaceHasContentScript
-
getContentScriptParameters
public String getContentScriptParameters()
- Specified by:
getContentScriptParametersin interfaceHasContentScript
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getLastModified
public Date getLastModified()
-
getLastModifiedMillis
public Long getLastModifiedMillis()
-
getNature
public abstract StaticContentNature getNature()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage- Specified by:
getScriptUsedInTypein interfaceUsesScript
-
isCustomized
public abstract boolean isCustomized()
-
setConfiguration
public void setConfiguration(Configuration configuration)
-
setContent
public void setContent(String content)
-
setContentScript
public void setContentScript(CustomScript contentScript)
-
setContentScriptParameters
public void setContentScriptParameters(String contentScriptParameters)
-
setLastModified
public void setLastModified(Date lastModified)
-
-