Package org.teamapps.model.controlcenter
Class UdbOrganizationUnitType
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitType>
org.teamapps.model.controlcenter.UdbOrganizationUnitType
- All Implemented Interfaces:
OrganizationUnitType,org.teamapps.universaldb.pojo.Entity<OrganizationUnitType>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<OrganizationUnitType>
public class UdbOrganizationUnitType extends org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitType> implements OrganizationUnitType
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.translation.TranslatableTextIndexabbreviationprotected static org.teamapps.universaldb.index.bool.BooleanIndexallowUsersprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexdefaultChildTypeprotected static org.teamapps.universaldb.index.numeric.ShortIndexgeoLocationTypeprotected static org.teamapps.universaldb.index.text.TextIndexiconprotected 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.translation.TranslatableTextIndexnameprotected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndexpossibleChildrenTypesprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.bool.BooleanIndextranslateOrganizationUnitsFields inherited from interface org.teamapps.model.controlcenter.OrganizationUnitType
FIELD_ABBREVIATION, FIELD_ALLOW_USERS, FIELD_DEFAULT_CHILD_TYPE, FIELD_GEO_LOCATION_TYPE, FIELD_ICON, 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_NAME, FIELD_POSSIBLE_CHILDREN_TYPES, FIELD_TRANSLATE_ORGANIZATION_UNITS -
Constructor Summary
Constructors Constructor Description UdbOrganizationUnitType()UdbOrganizationUnitType(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 -
name
protected static org.teamapps.universaldb.index.translation.TranslatableTextIndex name -
abbreviation
protected static org.teamapps.universaldb.index.translation.TranslatableTextIndex abbreviation -
icon
protected static org.teamapps.universaldb.index.text.TextIndex icon -
translateOrganizationUnits
protected static org.teamapps.universaldb.index.bool.BooleanIndex translateOrganizationUnits -
allowUsers
protected static org.teamapps.universaldb.index.bool.BooleanIndex allowUsers -
defaultChildType
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex defaultChildType -
possibleChildrenTypes
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex possibleChildrenTypes -
geoLocationType
protected static org.teamapps.universaldb.index.numeric.ShortIndex geoLocationType
-
-
Constructor Details
-
UdbOrganizationUnitType
public UdbOrganizationUnitType() -
UdbOrganizationUnitType
public UdbOrganizationUnitType(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<OrganizationUnitType> sort(java.util.List<OrganizationUnitType> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<OrganizationUnitType> 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<OrganizationUnitType>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<OrganizationUnitType>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceOrganizationUnitType
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceOrganizationUnitType
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceOrganizationUnitType
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceOrganizationUnitType
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceOrganizationUnitType
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceOrganizationUnitType
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceOrganizationUnitType
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceOrganizationUnitType
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceOrganizationUnitType
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceOrganizationUnitType
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceOrganizationUnitType
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceOrganizationUnitType
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceOrganizationUnitType
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceOrganizationUnitType
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceOrganizationUnitType
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceOrganizationUnitType
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceOrganizationUnitType
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceOrganizationUnitType
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceOrganizationUnitType
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceOrganizationUnitType
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceOrganizationUnitType
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceOrganizationUnitType
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceOrganizationUnitType
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceOrganizationUnitType
-
getName
public org.teamapps.universaldb.index.translation.TranslatableText getName()- Specified by:
getNamein interfaceOrganizationUnitType
-
setName
public OrganizationUnitType setName(org.teamapps.universaldb.index.translation.TranslatableText value)- Specified by:
setNamein interfaceOrganizationUnitType
-
getAbbreviation
public org.teamapps.universaldb.index.translation.TranslatableText getAbbreviation()- Specified by:
getAbbreviationin interfaceOrganizationUnitType
-
setAbbreviation
public OrganizationUnitType setAbbreviation(org.teamapps.universaldb.index.translation.TranslatableText value)- Specified by:
setAbbreviationin interfaceOrganizationUnitType
-
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceOrganizationUnitType
-
setIcon
- Specified by:
setIconin interfaceOrganizationUnitType
-
getTranslateOrganizationUnits
public boolean getTranslateOrganizationUnits()- Specified by:
getTranslateOrganizationUnitsin interfaceOrganizationUnitType
-
setTranslateOrganizationUnits
- Specified by:
setTranslateOrganizationUnitsin interfaceOrganizationUnitType
-
isTranslateOrganizationUnits
public boolean isTranslateOrganizationUnits()- Specified by:
isTranslateOrganizationUnitsin interfaceOrganizationUnitType
-
getAllowUsers
public boolean getAllowUsers()- Specified by:
getAllowUsersin interfaceOrganizationUnitType
-
setAllowUsers
- Specified by:
setAllowUsersin interfaceOrganizationUnitType
-
isAllowUsers
public boolean isAllowUsers()- Specified by:
isAllowUsersin interfaceOrganizationUnitType
-
getDefaultChildType
- Specified by:
getDefaultChildTypein interfaceOrganizationUnitType
-
setDefaultChildType
- Specified by:
setDefaultChildTypein interfaceOrganizationUnitType
-
getPossibleChildrenTypes
- Specified by:
getPossibleChildrenTypesin interfaceOrganizationUnitType
-
setPossibleChildrenTypes
- Specified by:
setPossibleChildrenTypesin interfaceOrganizationUnitType
-
getPossibleChildrenTypesCount
public int getPossibleChildrenTypesCount()- Specified by:
getPossibleChildrenTypesCountin interfaceOrganizationUnitType
-
setPossibleChildrenTypes
- Specified by:
setPossibleChildrenTypesin interfaceOrganizationUnitType
-
getPossibleChildrenTypesAsBitSet
public java.util.BitSet getPossibleChildrenTypesAsBitSet()- Specified by:
getPossibleChildrenTypesAsBitSetin interfaceOrganizationUnitType
-
addPossibleChildrenTypes
- Specified by:
addPossibleChildrenTypesin interfaceOrganizationUnitType
-
addPossibleChildrenTypes
- Specified by:
addPossibleChildrenTypesin interfaceOrganizationUnitType
-
removePossibleChildrenTypes
public OrganizationUnitType removePossibleChildrenTypes(java.util.List<OrganizationUnitType> value)- Specified by:
removePossibleChildrenTypesin interfaceOrganizationUnitType
-
removePossibleChildrenTypes
- Specified by:
removePossibleChildrenTypesin interfaceOrganizationUnitType
-
removeAllPossibleChildrenTypes
- Specified by:
removeAllPossibleChildrenTypesin interfaceOrganizationUnitType
-
getGeoLocationType
- Specified by:
getGeoLocationTypein interfaceOrganizationUnitType
-
setGeoLocationType
- Specified by:
setGeoLocationTypein interfaceOrganizationUnitType
-
save
public UdbOrganizationUnitType save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitType>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitType>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitType>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitType>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitType>
-