public abstract class EntityData<DTO extends EntityDTO> extends Bean
EntityDTO and other contextual data needed to edit that
DTO, such as possible data for relationships, logs, permissions and other data| Modifier and Type | Field and Description |
|---|---|
static BasicProperty<java.lang.Boolean,EntityData> |
CAN_VIEW_HISTORY_LOG |
static BasicProperty<IPasswordInputDTO,EntityData> |
CONFIRMATION_PASSWORD_INPUT |
static BasicProperty<EntityDTO,EntityData> |
DTO |
static BasicProperty<java.lang.Boolean,EntityData> |
EDITABLE |
static BasicProperty<IEntityLogType,EntityData> |
LOG_TYPE |
static BasicProperty<java.lang.Boolean,EntityData> |
REMOVABLE |
static MapProperty<java.lang.String,IDataTranslationPropertyType,EntityData> |
TRANSLATED_PROPERTY_TYPES |
static MapProperty<java.lang.String,java.lang.String,EntityData> |
TRANSLATED_VALUES |
| Constructor and Description |
|---|
EntityData() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Property<?,?>> |
doGetProperties() |
IPasswordInputDTO |
getConfirmationPasswordInput() |
DTO |
getDto() |
IEntityLogType |
getLogType() |
java.util.Map<java.lang.String,IDataTranslationPropertyType> |
getTranslatedPropertyTypes() |
java.util.Map<java.lang.String,java.lang.String> |
getTranslatedValues() |
boolean |
isCanViewHistoryLog() |
boolean |
isEditable() |
boolean |
isRemovable() |
void |
setCanViewHistoryLog(boolean canViewHistoryLog) |
void |
setConfirmationPasswordInput(IPasswordInputDTO confirmationPasswordInput) |
void |
setDto(DTO dto) |
void |
setEditable(boolean editable) |
void |
setLogType(IEntityLogType logType) |
void |
setRemovable(boolean removable) |
void |
setTranslatedPropertyTypes(java.util.Map<java.lang.String,IDataTranslationPropertyType> translatedPropertyTypes) |
void |
setTranslatedValues(java.util.Map<java.lang.String,java.lang.String> translatedValues) |
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, className, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationIdpublic static final BasicProperty<EntityDTO,EntityData> DTO
public static final BasicProperty<IPasswordInputDTO,EntityData> CONFIRMATION_PASSWORD_INPUT
public static final BasicProperty<java.lang.Boolean,EntityData> EDITABLE
public static final BasicProperty<java.lang.Boolean,EntityData> REMOVABLE
public static final MapProperty<java.lang.String,IDataTranslationPropertyType,EntityData> TRANSLATED_PROPERTY_TYPES
public static final MapProperty<java.lang.String,java.lang.String,EntityData> TRANSLATED_VALUES
public static final BasicProperty<java.lang.Boolean,EntityData> CAN_VIEW_HISTORY_LOG
public static final BasicProperty<IEntityLogType,EntityData> LOG_TYPE
public IPasswordInputDTO getConfirmationPasswordInput()
public DTO getDto()
public IEntityLogType getLogType()
public java.util.Map<java.lang.String,IDataTranslationPropertyType> getTranslatedPropertyTypes()
public java.util.Map<java.lang.String,java.lang.String> getTranslatedValues()
public boolean isCanViewHistoryLog()
public boolean isEditable()
public boolean isRemovable()
public void setCanViewHistoryLog(boolean canViewHistoryLog)
public void setConfirmationPasswordInput(IPasswordInputDTO confirmationPasswordInput)
public void setDto(DTO dto)
public void setEditable(boolean editable)
public void setLogType(IEntityLogType logType)
public void setRemovable(boolean removable)
public void setTranslatedPropertyTypes(java.util.Map<java.lang.String,IDataTranslationPropertyType> translatedPropertyTypes)
public void setTranslatedValues(java.util.Map<java.lang.String,java.lang.String> translatedValues)
protected java.util.List<Property<?,?>> doGetProperties()
doGetProperties in class Bean