Package org.teamapps.model.controlcenter
Class UdbChatChannel
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<ChatChannel>
org.teamapps.model.controlcenter.UdbChatChannel
- All Implemented Interfaces:
ChatChannel,org.teamapps.universaldb.pojo.Entity<ChatChannel>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<ChatChannel>
public class UdbChatChannel extends org.teamapps.universaldb.pojo.AbstractUdbEntity<ChatChannel> implements ChatChannel
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndexchatMessagesprotected 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.numeric.IntegerIndexmetaRestoreDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoredByprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.text.TextIndextitleFields inherited from interface org.teamapps.model.controlcenter.ChatChannel
FIELD_CHAT_MESSAGES, 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_META_RESTORE_DATE, FIELD_META_RESTORED_BY, FIELD_TITLE -
Constructor Summary
Constructors Constructor Description UdbChatChannel()UdbChatChannel(int id, boolean createEntity) -
Method Summary
Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, createEntityList, createEntityList, createEntityList, deleteRecord, deleteRecord, 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, isRestorable, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, restoreDeletedRecord, saveAsynchronously, saveRecord, saveRecord, saveRecord, 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, 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, isRestorable, 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 -
metaRestoreDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoreDate -
metaRestoredBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoredBy -
title
protected static org.teamapps.universaldb.index.text.TextIndex title -
chatMessages
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex chatMessages
-
-
Constructor Details
-
UdbChatChannel
public UdbChatChannel() -
UdbChatChannel
public UdbChatChannel(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
getDeletedRecords
-
sort
public static java.util.List<ChatChannel> sort(java.util.List<ChatChannel> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
sort
public static java.util.List<ChatChannel> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<ChatChannel>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<ChatChannel>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceChatChannel
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceChatChannel
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceChatChannel
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceChatChannel
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceChatChannel
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceChatChannel
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceChatChannel
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceChatChannel
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceChatChannel
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceChatChannel
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceChatChannel
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceChatChannel
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceChatChannel
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceChatChannel
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceChatChannel
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceChatChannel
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceChatChannel
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceChatChannel
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceChatChannel
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceChatChannel
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceChatChannel
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceChatChannel
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceChatChannel
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceChatChannel
-
getMetaRestoreDate
public java.time.Instant getMetaRestoreDate()- Specified by:
getMetaRestoreDatein interfaceChatChannel
-
setMetaRestoreDate
- Specified by:
setMetaRestoreDatein interfaceChatChannel
-
getMetaRestoreDateAsEpochSecond
public int getMetaRestoreDateAsEpochSecond()- Specified by:
getMetaRestoreDateAsEpochSecondin interfaceChatChannel
-
setMetaRestoreDateAsEpochSecond
- Specified by:
setMetaRestoreDateAsEpochSecondin interfaceChatChannel
-
getMetaRestoreDateAsEpochMilli
public long getMetaRestoreDateAsEpochMilli()- Specified by:
getMetaRestoreDateAsEpochMilliin interfaceChatChannel
-
setMetaRestoreDateAsEpochMilli
- Specified by:
setMetaRestoreDateAsEpochMilliin interfaceChatChannel
-
getMetaRestoredBy
public int getMetaRestoredBy()- Specified by:
getMetaRestoredByin interfaceChatChannel
-
setMetaRestoredBy
- Specified by:
setMetaRestoredByin interfaceChatChannel
-
getTitle
public java.lang.String getTitle()- Specified by:
getTitlein interfaceChatChannel
-
setTitle
- Specified by:
setTitlein interfaceChatChannel
-
getChatMessages
- Specified by:
getChatMessagesin interfaceChatChannel
-
setChatMessages
- Specified by:
setChatMessagesin interfaceChatChannel
-
getChatMessagesCount
public int getChatMessagesCount()- Specified by:
getChatMessagesCountin interfaceChatChannel
-
setChatMessages
- Specified by:
setChatMessagesin interfaceChatChannel
-
getChatMessagesAsBitSet
public java.util.BitSet getChatMessagesAsBitSet()- Specified by:
getChatMessagesAsBitSetin interfaceChatChannel
-
addChatMessages
- Specified by:
addChatMessagesin interfaceChatChannel
-
addChatMessages
- Specified by:
addChatMessagesin interfaceChatChannel
-
removeChatMessages
- Specified by:
removeChatMessagesin interfaceChatChannel
-
removeChatMessages
- Specified by:
removeChatMessagesin interfaceChatChannel
-
removeAllChatMessages
- Specified by:
removeAllChatMessagesin interfaceChatChannel
-
save
public UdbChatChannel save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-
restoreDeleted
public void restoreDeleted()- Specified by:
restoreDeletedin interfaceorg.teamapps.universaldb.pojo.Entity<ChatChannel>
-