Package org.teamapps.model.controlcenter
Class UdbUserContainer
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<UserContainer>
org.teamapps.model.controlcenter.UdbUserContainer
- All Implemented Interfaces:
UserContainer,org.teamapps.universaldb.pojo.Entity<UserContainer>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<UserContainer>
public class UdbUserContainer extends org.teamapps.universaldb.pojo.AbstractUdbEntity<UserContainer> implements UserContainer
-
Field Summary
Fields Modifier and Type Field Description protected 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.reference.single.SingleReferenceIndexorganizationUnitprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndexusersFields inherited from interface org.teamapps.model.controlcenter.UserContainer
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_ORGANIZATION_UNIT, FIELD_USERS -
Constructor Summary
Constructors Constructor Description UdbUserContainer()UdbUserContainer(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, 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, 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 -
organizationUnit
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex organizationUnit -
users
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex users
-
-
Constructor Details
-
UdbUserContainer
public UdbUserContainer() -
UdbUserContainer
public UdbUserContainer(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<UserContainer> sort(java.util.List<UserContainer> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<UserContainer> 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<UserContainer>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<UserContainer>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceUserContainer
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceUserContainer
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceUserContainer
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceUserContainer
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceUserContainer
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceUserContainer
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceUserContainer
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceUserContainer
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceUserContainer
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceUserContainer
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceUserContainer
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceUserContainer
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceUserContainer
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceUserContainer
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceUserContainer
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceUserContainer
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceUserContainer
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceUserContainer
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceUserContainer
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceUserContainer
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceUserContainer
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceUserContainer
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceUserContainer
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceUserContainer
-
getOrganizationUnit
- Specified by:
getOrganizationUnitin interfaceUserContainer
-
setOrganizationUnit
- Specified by:
setOrganizationUnitin interfaceUserContainer
-
getUsers
- Specified by:
getUsersin interfaceUserContainer
-
setUsers
- Specified by:
setUsersin interfaceUserContainer
-
getUsersCount
public int getUsersCount()- Specified by:
getUsersCountin interfaceUserContainer
-
setUsers
- Specified by:
setUsersin interfaceUserContainer
-
getUsersAsBitSet
public java.util.BitSet getUsersAsBitSet()- Specified by:
getUsersAsBitSetin interfaceUserContainer
-
addUsers
- Specified by:
addUsersin interfaceUserContainer
-
addUsers
- Specified by:
addUsersin interfaceUserContainer
-
removeUsers
- Specified by:
removeUsersin interfaceUserContainer
-
removeUsers
- Specified by:
removeUsersin interfaceUserContainer
-
removeAllUsers
- Specified by:
removeAllUsersin interfaceUserContainer
-
save
public UdbUserContainer save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<UserContainer>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<UserContainer>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<UserContainer>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<UserContainer>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<UserContainer>
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-