Package org.teamapps.model.controlcenter
Class UdbLanguage
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<Language>
org.teamapps.model.controlcenter.UdbLanguage
- All Implemented Interfaces:
Language,org.teamapps.universaldb.pojo.Entity<Language>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<Language>
public class UdbLanguage extends org.teamapps.universaldb.pojo.AbstractUdbEntity<Language> implements Language
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.text.TextIndexenglishDisplayNameprotected static org.teamapps.universaldb.index.text.TextIndexiconprotected static org.teamapps.universaldb.index.text.TextIndexisoCodeprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexlocalizationKeyprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreatedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletionDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaModificationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaModifiedByprotected static org.teamapps.universaldb.index.bool.BooleanIndexnonLatinScriptprotected static org.teamapps.universaldb.index.bool.BooleanIndexrightToLeftLanguageprotected static org.teamapps.universaldb.index.TableIndextableFields inherited from interface org.teamapps.model.controlcenter.Language
FIELD_ENGLISH_DISPLAY_NAME, FIELD_ICON, FIELD_ISO_CODE, FIELD_LOCALIZATION_KEY, FIELD_META_CREATED_BY, FIELD_META_CREATION_DATE, FIELD_META_DELETED_BY, FIELD_META_DELETION_DATE, FIELD_META_MODIFICATION_DATE, FIELD_META_MODIFIED_BY, FIELD_NON_LATIN_SCRIPT, FIELD_RIGHT_TO_LEFT_LANGUAGE -
Constructor Summary
Constructors Constructor Description UdbLanguage()UdbLanguage(int id, boolean createEntity) -
Method Summary
Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, createEntityList, createEntityList, createEntityList, delete, delete, equals, getBooleanValue, getChangedValue, getChangeValue, getCorrelationId, getDateAsEpochMilli, getDateTimeAsEpochMilli, getDateTimeValue, getDateValue, getDoubleValue, getEntityId, getEntityValue, getEnumValue, getFloatValue, getId, getIntValue, getLocalDateValue, getLongValue, getMultiReferenceValue, getMultiReferenceValueAsBitSet, getMultiReferenceValueCount, getQualifiedName, getReferenceChangeValue, getShortValue, getTableIndex, getTextValue, getTimestampAsEpochMilli, getTimestampAsEpochSecond, getTimestampValue, getTimeValue, getTransaction, getTranslatableTextValue, hashCode, isChanged, isDeleted, isModified, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, save, save, save, saveAsynchronously, setBooleanValue, setChangeValue, setDateAsEpochMilli, setDateTimeAsEpochMilli, setDateTimeValue, setDateValue, setDoubleValue, setEntityValue, setEnumValue, setFloatValue, setIntValue, setLocalDateAsEpochMilli, setLocalDateValue, setLongValue, setMultiReferenceValue, setShortValue, setSingleReferenceValue, setTextValue, setTimestampAsEpochMilli, setTimestampAsEpochSecond, setTimestampValue, setTimeValue, setTranslatableTextValue, sort, sort, sort, sort, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.universaldb.pojo.Entity
clearChanges, getEntityValue, getId, isDeleted, isModified, isStored, save, saveTransactional, setEntityValueMethods inherited from interface org.teamapps.universaldb.pojo.Identifiable
getQualifiedName
-
Field Details
-
table
protected static org.teamapps.universaldb.index.TableIndex table -
metaCreationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreationDate -
metaCreatedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreatedBy -
metaModificationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModificationDate -
metaModifiedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModifiedBy -
metaDeletionDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletionDate -
metaDeletedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletedBy -
isoCode
protected static org.teamapps.universaldb.index.text.TextIndex isoCode -
icon
protected static org.teamapps.universaldb.index.text.TextIndex icon -
englishDisplayName
protected static org.teamapps.universaldb.index.text.TextIndex englishDisplayName -
nonLatinScript
protected static org.teamapps.universaldb.index.bool.BooleanIndex nonLatinScript -
rightToLeftLanguage
protected static org.teamapps.universaldb.index.bool.BooleanIndex rightToLeftLanguage -
localizationKey
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex localizationKey
-
-
Constructor Details
-
UdbLanguage
public UdbLanguage() -
UdbLanguage
public UdbLanguage(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
-
sort
public static java.util.List<Language> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Language>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Language>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceLanguage
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceLanguage
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceLanguage
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceLanguage
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceLanguage
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceLanguage
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceLanguage
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceLanguage
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceLanguage
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceLanguage
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceLanguage
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceLanguage
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceLanguage
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceLanguage
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceLanguage
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceLanguage
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceLanguage
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceLanguage
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceLanguage
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceLanguage
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceLanguage
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceLanguage
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceLanguage
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceLanguage
-
getIsoCode
public java.lang.String getIsoCode()- Specified by:
getIsoCodein interfaceLanguage
-
setIsoCode
- Specified by:
setIsoCodein interfaceLanguage
-
getIcon
public java.lang.String getIcon() -
setIcon
-
getEnglishDisplayName
public java.lang.String getEnglishDisplayName()- Specified by:
getEnglishDisplayNamein interfaceLanguage
-
setEnglishDisplayName
- Specified by:
setEnglishDisplayNamein interfaceLanguage
-
getNonLatinScript
public boolean getNonLatinScript()- Specified by:
getNonLatinScriptin interfaceLanguage
-
setNonLatinScript
- Specified by:
setNonLatinScriptin interfaceLanguage
-
isNonLatinScript
public boolean isNonLatinScript()- Specified by:
isNonLatinScriptin interfaceLanguage
-
getRightToLeftLanguage
public boolean getRightToLeftLanguage()- Specified by:
getRightToLeftLanguagein interfaceLanguage
-
setRightToLeftLanguage
- Specified by:
setRightToLeftLanguagein interfaceLanguage
-
isRightToLeftLanguage
public boolean isRightToLeftLanguage()- Specified by:
isRightToLeftLanguagein interfaceLanguage
-
getLocalizationKey
- Specified by:
getLocalizationKeyin interfaceLanguage
-
setLocalizationKey
- Specified by:
setLocalizationKeyin interfaceLanguage
-
save
public UdbLanguage save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Language>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<Language>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Language>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Language>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Language>
-