Class SharedDocumentDTO
- 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
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
DynamicDocumentDTO,StaticDocumentDTO
public abstract class SharedDocumentDTO extends DocumentDTO implements IInternalNamedEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<DocumentCategoryVO,SharedDocumentDTO>CATEGORYstatic StringCLASS_NAMEstatic BasicProperty<String,SharedDocumentDTO>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 SharedDocumentDTO()SharedDocumentDTO(Long id)SharedDocumentDTO(Property<T,? super SharedDocumentDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()DocumentCategoryVOgetCategory()StringgetInternalName()voidsetCategory(DocumentCategoryVO category)voidsetInternalName(String internalName)-
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, className, 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
-
CATEGORY
public static final BasicProperty<DocumentCategoryVO,SharedDocumentDTO> CATEGORY
-
INTERNAL_NAME
public static final BasicProperty<String,SharedDocumentDTO> INTERNAL_NAME
-
-
Constructor Detail
-
SharedDocumentDTO
public SharedDocumentDTO()
-
SharedDocumentDTO
public SharedDocumentDTO(Long id)
-
SharedDocumentDTO
public SharedDocumentDTO(Property<T,? super SharedDocumentDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classDocumentDTO
-
getCategory
public DocumentCategoryVO getCategory()
-
setCategory
public void setCategory(DocumentCategoryVO category)
-
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.
-
-