Package org.teamapps.model.controlcenter
Class UdbMessage
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<Message>
org.teamapps.model.controlcenter.UdbMessage
- All Implemented Interfaces:
Message,org.teamapps.universaldb.pojo.Entity<Message>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<Message>
public class UdbMessage extends org.teamapps.universaldb.pojo.AbstractUdbEntity<Message> implements Message
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexapplicationFolderprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexappointmentprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexappointmentSeriesprotected static org.teamapps.universaldb.index.file.FileIndexfileprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexgroupFolderprotected static org.teamapps.universaldb.index.text.TextIndexmessageprotected static org.teamapps.universaldb.index.numeric.ShortIndexmessageRecipientTypeprotected static org.teamapps.universaldb.index.numeric.ShortIndexmessageTypeprotected 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.multi.MultiReferenceIndexprivateRecipientsprotected static org.teamapps.universaldb.index.text.TextIndexsubjectprotected static org.teamapps.universaldb.index.TableIndextableFields inherited from interface org.teamapps.model.controlcenter.Message
FIELD_APPLICATION_FOLDER, FIELD_APPOINTMENT, FIELD_APPOINTMENT_SERIES, FIELD_FILE, FIELD_GROUP_FOLDER, FIELD_MESSAGE, FIELD_MESSAGE_RECIPIENT_TYPE, FIELD_MESSAGE_TYPE, 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_PRIVATE_RECIPIENTS, FIELD_SUBJECT -
Constructor Summary
Constructors Constructor Description UdbMessage()UdbMessage(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 -
messageRecipientType
protected static org.teamapps.universaldb.index.numeric.ShortIndex messageRecipientType -
privateRecipients
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex privateRecipients -
groupFolder
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex groupFolder -
applicationFolder
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex applicationFolder -
subject
protected static org.teamapps.universaldb.index.text.TextIndex subject -
message
protected static org.teamapps.universaldb.index.text.TextIndex message -
messageType
protected static org.teamapps.universaldb.index.numeric.ShortIndex messageType -
file
protected static org.teamapps.universaldb.index.file.FileIndex file -
appointment
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex appointment -
appointmentSeries
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex appointmentSeries
-
-
Constructor Details
-
UdbMessage
public UdbMessage() -
UdbMessage
public UdbMessage(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
-
sort
public static java.util.List<Message> 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<Message>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Message>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceMessage
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceMessage
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceMessage
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceMessage
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceMessage
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceMessage
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceMessage
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceMessage
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceMessage
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceMessage
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceMessage
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceMessage
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceMessage
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceMessage
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceMessage
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceMessage
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceMessage
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceMessage
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceMessage
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceMessage
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceMessage
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceMessage
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceMessage
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceMessage
-
getMessageRecipientType
- Specified by:
getMessageRecipientTypein interfaceMessage
-
setMessageRecipientType
- Specified by:
setMessageRecipientTypein interfaceMessage
-
getPrivateRecipients
- Specified by:
getPrivateRecipientsin interfaceMessage
-
setPrivateRecipients
- Specified by:
setPrivateRecipientsin interfaceMessage
-
getPrivateRecipientsCount
public int getPrivateRecipientsCount()- Specified by:
getPrivateRecipientsCountin interfaceMessage
-
setPrivateRecipients
- Specified by:
setPrivateRecipientsin interfaceMessage
-
getPrivateRecipientsAsBitSet
public java.util.BitSet getPrivateRecipientsAsBitSet()- Specified by:
getPrivateRecipientsAsBitSetin interfaceMessage
-
addPrivateRecipients
- Specified by:
addPrivateRecipientsin interfaceMessage
-
addPrivateRecipients
- Specified by:
addPrivateRecipientsin interfaceMessage
-
removePrivateRecipients
- Specified by:
removePrivateRecipientsin interfaceMessage
-
removePrivateRecipients
- Specified by:
removePrivateRecipientsin interfaceMessage
-
removeAllPrivateRecipients
- Specified by:
removeAllPrivateRecipientsin interfaceMessage
-
getGroupFolder
- Specified by:
getGroupFolderin interfaceMessage
-
setGroupFolder
- Specified by:
setGroupFolderin interfaceMessage
-
getApplicationFolder
- Specified by:
getApplicationFolderin interfaceMessage
-
setApplicationFolder
- Specified by:
setApplicationFolderin interfaceMessage
-
getSubject
public java.lang.String getSubject()- Specified by:
getSubjectin interfaceMessage
-
setSubject
- Specified by:
setSubjectin interfaceMessage
-
getMessage
public java.lang.String getMessage()- Specified by:
getMessagein interfaceMessage
-
setMessage
- Specified by:
setMessagein interfaceMessage
-
getMessageType
- Specified by:
getMessageTypein interfaceMessage
-
setMessageType
- Specified by:
setMessageTypein interfaceMessage
-
getFile
public org.teamapps.universaldb.index.file.FileValue getFile() -
setFile
-
setFile
-
getAppointment
- Specified by:
getAppointmentin interfaceMessage
-
setAppointment
- Specified by:
setAppointmentin interfaceMessage
-
getAppointmentSeries
- Specified by:
getAppointmentSeriesin interfaceMessage
-
setAppointmentSeries
- Specified by:
setAppointmentSeriesin interfaceMessage
-
save
public UdbMessage save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Message>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<Message>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Message>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Message>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Message>
-