Class ContentItemDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.contentmanagement.contentitems.ContentItemDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
BannerDTO,MenuEntryDTO
public class ContentItemDTO extends NamedEntityDTO implements IInternalNamedEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<ConfigurationVO,ContentItemDTO>CONFIGURATIONstatic BasicProperty<String,ContentItemDTO>INTERNAL_NAMEstatic BasicProperty<ContentItemVisibility,ContentItemDTO>VISIBILITY-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ContentItemDTO()ContentItemDTO(Long id)ContentItemDTO(Property<T,? super ContentItemDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()ConfigurationVOgetConfiguration()StringgetInternalName()ContentItemVisibilitygetVisibility()voidsetConfiguration(ConfigurationVO configuration)voidsetInternalName(String internalName)voidsetVisibility(ContentItemVisibility visibility)-
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
-
CONFIGURATION
public static final BasicProperty<ConfigurationVO,ContentItemDTO> CONFIGURATION
-
INTERNAL_NAME
public static final BasicProperty<String,ContentItemDTO> INTERNAL_NAME
-
VISIBILITY
public static final BasicProperty<ContentItemVisibility,ContentItemDTO> VISIBILITY
-
-
Constructor Detail
-
ContentItemDTO
public ContentItemDTO()
-
ContentItemDTO
public ContentItemDTO(Long id)
-
ContentItemDTO
public ContentItemDTO(Property<T,? super ContentItemDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
getConfiguration
public ConfigurationVO getConfiguration()
-
setConfiguration
public void setConfiguration(ConfigurationVO configuration)
-
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.
-
getVisibility
public ContentItemVisibility getVisibility()
-
setVisibility
public void setVisibility(ContentItemVisibility visibility)
-
-