Class StaticDocumentData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<DocumentDTO>
-
- org.cyclos.model.contentmanagement.documents.DocumentData
-
- org.cyclos.model.contentmanagement.documents.StaticDocumentData
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserDocumentData
public class StaticDocumentData extends DocumentData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,StaticDocumentData>CLASSIC_URL_TEMPLATEstatic BasicProperty<RawFileVO,StaticDocumentData>FILEstatic BasicProperty<String,StaticDocumentData>NEW_URL_TEMPLATE-
Fields inherited from class org.cyclos.model.contentmanagement.documents.DocumentData
CATEGORIES
-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description StaticDocumentData()StaticDocumentData(Property<T,? super StaticDocumentData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetClassicUrlTemplate()RawFileVOgetFile()StringgetNewUrlTemplate()voidsetClassicUrlTemplate(String classicUrlTemplate)voidsetFile(RawFileVO file)voidsetNewUrlTemplate(String newUrlTemplate)-
Methods inherited from class org.cyclos.model.contentmanagement.documents.DocumentData
getCategories, setCategories
-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CLASSIC_URL_TEMPLATE
public static final BasicProperty<String,StaticDocumentData> CLASSIC_URL_TEMPLATE
-
FILE
public static final BasicProperty<RawFileVO,StaticDocumentData> FILE
-
NEW_URL_TEMPLATE
public static final BasicProperty<String,StaticDocumentData> NEW_URL_TEMPLATE
-
-
Constructor Detail
-
StaticDocumentData
public StaticDocumentData()
-
StaticDocumentData
public StaticDocumentData(Property<T,? super StaticDocumentData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classDocumentData
-
getClassicUrlTemplate
public String getClassicUrlTemplate()
-
setClassicUrlTemplate
public void setClassicUrlTemplate(String classicUrlTemplate)
-
getFile
public RawFileVO getFile()
-
setFile
public void setFile(RawFileVO file)
-
getNewUrlTemplate
public String getNewUrlTemplate()
-
setNewUrlTemplate
public void setNewUrlTemplate(String newUrlTemplate)
-
className
public String className()
- Overrides:
classNamein classDocumentData
-
-