public interface DataTranslationHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName(Language language,
NamedEntity entity)
Returns the customized translation (or default value) for the name property of the given given entity, on the
given language
|
java.lang.String |
getName(NamedEntity entity)
Returns the customized translation (or default value) for the name property of the given given entity, on the
current language
|
java.lang.String |
getValue(BaseEntity entity,
com.querydsl.core.types.dsl.StringPath path)
Returns the customized translation (or default value) for the given property of the given given entity, on the
current language
|
java.lang.String |
getValue(Language language,
BaseEntity entity,
com.querydsl.core.types.dsl.StringPath path)
Returns the customized translation (or default value) for the given property of the given given entity, on the
given language
|
java.util.Map<java.lang.String,java.lang.String> |
getValues(BaseEntity entity,
boolean fallbackToDefault)
Returns the customized translations for each property of the given given entity, on the current language,
optionally filling the map with the
default property values
|
java.util.Map<java.lang.String,java.lang.String> |
getValues(Language language,
BaseEntity entity,
boolean fallbackToDefault)
Returns the customized translations for each property of the given given entity, on the given language,
optionally filling the map with the
default property values
|
java.lang.String getName(Language language, NamedEntity entity) throws FrameworkException
FrameworkExceptionjava.lang.String getName(NamedEntity entity) throws FrameworkException
FrameworkExceptionjava.lang.String getValue(BaseEntity entity, com.querydsl.core.types.dsl.StringPath path) throws FrameworkException
FrameworkExceptionjava.lang.String getValue(Language language, BaseEntity entity, com.querydsl.core.types.dsl.StringPath path) throws FrameworkException
FrameworkExceptionjava.util.Map<java.lang.String,java.lang.String> getValues(BaseEntity entity, boolean fallbackToDefault) throws FrameworkException
FrameworkExceptionjava.util.Map<java.lang.String,java.lang.String> getValues(Language language, BaseEntity entity, boolean fallbackToDefault) throws FrameworkException
FrameworkException