Package org.teamapps.model.controlcenter
Class UdbOrganizationUnitTypeView
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitTypeView>
org.teamapps.model.controlcenter.UdbOrganizationUnitTypeView
- All Implemented Interfaces:
OrganizationUnitTypeView,org.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<OrganizationUnitTypeView>
public class UdbOrganizationUnitTypeView extends org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitTypeView> implements OrganizationUnitTypeView
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.translation.TranslatableTextIndexabbreviationprotected static org.teamapps.universaldb.index.bool.BooleanIndexallowUserContainerprotected 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.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.OrganizationUnitTypeView
FIELD_ABBREVIATION, FIELD_ALLOW_USER_CONTAINER, FIELD_DEFAULT_CHILD_TYPE, FIELD_GEO_LOCATION_TYPE, FIELD_ICON, FIELD_NAME, FIELD_POSSIBLE_CHILDREN_TYPES, FIELD_TRANSLATE_ORGANIZATION_UNITS -
Constructor Summary
Constructors Constructor Description UdbOrganizationUnitTypeView()UdbOrganizationUnitTypeView(int id, boolean createEntity) -
Method Summary
Modifier and Type Method Description OrganizationUnitTypeViewbuild()OrganizationUnitTypeViewbuild(int id)voiddelete()voiddelete(org.teamapps.universaldb.transaction.Transaction transaction)org.teamapps.universaldb.index.translation.TranslatableTextgetAbbreviation()static java.util.List<OrganizationUnitTypeView>getAll()booleangetAllowUserContainer()static intgetCount()OrganizationUnitTypeViewgetDefaultChildType()GeoLocationTypegetGeoLocationType()java.lang.StringgetIcon()org.teamapps.universaldb.index.translation.TranslatableTextgetName()java.util.List<OrganizationUnitTypeView>getPossibleChildrenTypes()java.util.BitSetgetPossibleChildrenTypesAsBitSet()intgetPossibleChildrenTypesCount()booleangetTranslateOrganizationUnits()booleanisAllowUserContainer()booleanisTranslateOrganizationUnits()UdbOrganizationUnitTypeViewsave()UdbOrganizationUnitTypeViewsave(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)UdbOrganizationUnitTypeViewsaveTransactional(boolean strictChangeVerification)static java.util.List<OrganizationUnitTypeView>sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)static java.util.List<OrganizationUnitTypeView>sort(java.util.List<OrganizationUnitTypeView> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)java.lang.StringtoString()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, sortMethods 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 -
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 -
allowUserContainer
protected static org.teamapps.universaldb.index.bool.BooleanIndex allowUserContainer -
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
-
UdbOrganizationUnitTypeView
public UdbOrganizationUnitTypeView() -
UdbOrganizationUnitTypeView
public UdbOrganizationUnitTypeView(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<OrganizationUnitTypeView> sort(java.util.List<OrganizationUnitTypeView> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<OrganizationUnitTypeView> 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<OrganizationUnitTypeView>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<OrganizationUnitTypeView>
-
getName
public org.teamapps.universaldb.index.translation.TranslatableText getName()- Specified by:
getNamein interfaceOrganizationUnitTypeView
-
getAbbreviation
public org.teamapps.universaldb.index.translation.TranslatableText getAbbreviation()- Specified by:
getAbbreviationin interfaceOrganizationUnitTypeView
-
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceOrganizationUnitTypeView
-
getTranslateOrganizationUnits
public boolean getTranslateOrganizationUnits()- Specified by:
getTranslateOrganizationUnitsin interfaceOrganizationUnitTypeView
-
isTranslateOrganizationUnits
public boolean isTranslateOrganizationUnits()- Specified by:
isTranslateOrganizationUnitsin interfaceOrganizationUnitTypeView
-
getAllowUserContainer
public boolean getAllowUserContainer()- Specified by:
getAllowUserContainerin interfaceOrganizationUnitTypeView
-
isAllowUserContainer
public boolean isAllowUserContainer()- Specified by:
isAllowUserContainerin interfaceOrganizationUnitTypeView
-
getDefaultChildType
- Specified by:
getDefaultChildTypein interfaceOrganizationUnitTypeView
-
getPossibleChildrenTypes
- Specified by:
getPossibleChildrenTypesin interfaceOrganizationUnitTypeView
-
getPossibleChildrenTypesCount
public int getPossibleChildrenTypesCount()- Specified by:
getPossibleChildrenTypesCountin interfaceOrganizationUnitTypeView
-
getPossibleChildrenTypesAsBitSet
public java.util.BitSet getPossibleChildrenTypesAsBitSet()- Specified by:
getPossibleChildrenTypesAsBitSetin interfaceOrganizationUnitTypeView
-
getGeoLocationType
- Specified by:
getGeoLocationTypein interfaceOrganizationUnitTypeView
-
save
public UdbOrganizationUnitTypeView save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitTypeView>
-
toString
public java.lang.String toString()- Overrides:
toStringin classorg.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitTypeView>
-