Interface Message

All Superinterfaces:
org.teamapps.universaldb.pojo.Entity<Message>, org.teamapps.universaldb.pojo.Identifiable
All Known Implementing Classes:
UdbMessage

public interface Message
extends org.teamapps.universaldb.pojo.Entity<Message>
  • Field Details

    • FIELD_META_CREATION_DATE

      static final java.lang.String FIELD_META_CREATION_DATE
      See Also:
      Constant Field Values
    • FIELD_META_CREATED_BY

      static final java.lang.String FIELD_META_CREATED_BY
      See Also:
      Constant Field Values
    • FIELD_META_MODIFICATION_DATE

      static final java.lang.String FIELD_META_MODIFICATION_DATE
      See Also:
      Constant Field Values
    • FIELD_META_MODIFIED_BY

      static final java.lang.String FIELD_META_MODIFIED_BY
      See Also:
      Constant Field Values
    • FIELD_META_DELETION_DATE

      static final java.lang.String FIELD_META_DELETION_DATE
      See Also:
      Constant Field Values
    • FIELD_META_DELETED_BY

      static final java.lang.String FIELD_META_DELETED_BY
      See Also:
      Constant Field Values
    • FIELD_META_RESTORE_DATE

      static final java.lang.String FIELD_META_RESTORE_DATE
      See Also:
      Constant Field Values
    • FIELD_META_RESTORED_BY

      static final java.lang.String FIELD_META_RESTORED_BY
      See Also:
      Constant Field Values
    • FIELD_MESSAGE_RECIPIENT_TYPE

      static final java.lang.String FIELD_MESSAGE_RECIPIENT_TYPE
      See Also:
      Constant Field Values
    • FIELD_PRIVATE_RECIPIENTS

      static final java.lang.String FIELD_PRIVATE_RECIPIENTS
      See Also:
      Constant Field Values
    • FIELD_GROUP_FOLDER

      static final java.lang.String FIELD_GROUP_FOLDER
      See Also:
      Constant Field Values
    • FIELD_APPLICATION_FOLDER

      static final java.lang.String FIELD_APPLICATION_FOLDER
      See Also:
      Constant Field Values
    • FIELD_SUBJECT

      static final java.lang.String FIELD_SUBJECT
      See Also:
      Constant Field Values
    • FIELD_MESSAGE

      static final java.lang.String FIELD_MESSAGE
      See Also:
      Constant Field Values
    • FIELD_MESSAGE_TYPE

      static final java.lang.String FIELD_MESSAGE_TYPE
      See Also:
      Constant Field Values
    • FIELD_FILE

      static final java.lang.String FIELD_FILE
      See Also:
      Constant Field Values
    • FIELD_APPOINTMENT

      static final java.lang.String FIELD_APPOINTMENT
      See Also:
      Constant Field Values
    • FIELD_APPOINTMENT_SERIES

      static final java.lang.String FIELD_APPOINTMENT_SERIES
      See Also:
      Constant Field Values
  • Method Details

    • create

      static Message create()
    • create

      static Message create​(int id)
    • getById

      static Message getById​(int id)
    • getBuilder

      static org.teamapps.universaldb.record.EntityBuilder<Message> getBuilder()
    • getMetaCreationDate

      java.time.Instant getMetaCreationDate()
    • setMetaCreationDate

      Message setMetaCreationDate​(java.time.Instant value)
    • getMetaCreationDateAsEpochSecond

      int getMetaCreationDateAsEpochSecond()
    • setMetaCreationDateAsEpochSecond

      Message setMetaCreationDateAsEpochSecond​(int value)
    • getMetaCreationDateAsEpochMilli

      long getMetaCreationDateAsEpochMilli()
    • setMetaCreationDateAsEpochMilli

      Message setMetaCreationDateAsEpochMilli​(long value)
    • getMetaCreatedBy

      int getMetaCreatedBy()
    • setMetaCreatedBy

      Message setMetaCreatedBy​(int value)
    • getMetaModificationDate

      java.time.Instant getMetaModificationDate()
    • setMetaModificationDate

      Message setMetaModificationDate​(java.time.Instant value)
    • getMetaModificationDateAsEpochSecond

      int getMetaModificationDateAsEpochSecond()
    • setMetaModificationDateAsEpochSecond

      Message setMetaModificationDateAsEpochSecond​(int value)
    • getMetaModificationDateAsEpochMilli

      long getMetaModificationDateAsEpochMilli()
    • setMetaModificationDateAsEpochMilli

      Message setMetaModificationDateAsEpochMilli​(long value)
    • getMetaModifiedBy

      int getMetaModifiedBy()
    • setMetaModifiedBy

      Message setMetaModifiedBy​(int value)
    • getMetaDeletionDate

      java.time.Instant getMetaDeletionDate()
    • setMetaDeletionDate

      Message setMetaDeletionDate​(java.time.Instant value)
    • getMetaDeletionDateAsEpochSecond

      int getMetaDeletionDateAsEpochSecond()
    • setMetaDeletionDateAsEpochSecond

      Message setMetaDeletionDateAsEpochSecond​(int value)
    • getMetaDeletionDateAsEpochMilli

      long getMetaDeletionDateAsEpochMilli()
    • setMetaDeletionDateAsEpochMilli

      Message setMetaDeletionDateAsEpochMilli​(long value)
    • getMetaDeletedBy

      int getMetaDeletedBy()
    • setMetaDeletedBy

      Message setMetaDeletedBy​(int value)
    • getMetaRestoreDate

      java.time.Instant getMetaRestoreDate()
    • setMetaRestoreDate

      Message setMetaRestoreDate​(java.time.Instant value)
    • getMetaRestoreDateAsEpochSecond

      int getMetaRestoreDateAsEpochSecond()
    • setMetaRestoreDateAsEpochSecond

      Message setMetaRestoreDateAsEpochSecond​(int value)
    • getMetaRestoreDateAsEpochMilli

      long getMetaRestoreDateAsEpochMilli()
    • setMetaRestoreDateAsEpochMilli

      Message setMetaRestoreDateAsEpochMilli​(long value)
    • getMetaRestoredBy

      int getMetaRestoredBy()
    • setMetaRestoredBy

      Message setMetaRestoredBy​(int value)
    • getMessageRecipientType

      MessageRecipientType getMessageRecipientType()
    • setMessageRecipientType

      Message setMessageRecipientType​(MessageRecipientType value)
    • getPrivateRecipients

      java.util.List<User> getPrivateRecipients()
    • setPrivateRecipients

      Message setPrivateRecipients​(java.util.List<User> value)
    • getPrivateRecipientsCount

      int getPrivateRecipientsCount()
    • setPrivateRecipients

      Message setPrivateRecipients​(User... value)
    • getPrivateRecipientsAsBitSet

      java.util.BitSet getPrivateRecipientsAsBitSet()
    • addPrivateRecipients

      Message addPrivateRecipients​(java.util.List<User> value)
    • addPrivateRecipients

      Message addPrivateRecipients​(User... value)
    • removePrivateRecipients

      Message removePrivateRecipients​(java.util.List<User> value)
    • removePrivateRecipients

      Message removePrivateRecipients​(User... value)
    • removeAllPrivateRecipients

      Message removeAllPrivateRecipients()
    • getGroupFolder

      GroupFolder getGroupFolder()
    • setGroupFolder

      Message setGroupFolder​(GroupFolder value)
    • getApplicationFolder

      ApplicationFolder getApplicationFolder()
    • setApplicationFolder

      Message setApplicationFolder​(ApplicationFolder value)
    • getSubject

      java.lang.String getSubject()
    • setSubject

      Message setSubject​(java.lang.String value)
    • getMessage

      java.lang.String getMessage()
    • setMessage

      Message setMessage​(java.lang.String value)
    • getMessageType

      MessageType getMessageType()
    • setMessageType

      Message setMessageType​(MessageType value)
    • getFile

      org.teamapps.universaldb.index.file.FileValue getFile()
    • setFile

      Message setFile​(java.io.File value)
    • setFile

      Message setFile​(java.io.File value, java.lang.String fileName)
    • getAppointment

      Appointment getAppointment()
    • setAppointment

      Message setAppointment​(Appointment value)
    • getAppointmentSeries

      AppointmentSeries getAppointmentSeries()
    • setAppointmentSeries

      Message setAppointmentSeries​(AppointmentSeries value)
    • getAll

      static java.util.List<Message> getAll()
    • getDeletedRecords

      static java.util.List<Message> getDeletedRecords()
    • sort

      static java.util.List<Message> sort​(java.util.List<Message> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path)
    • getCount

      static int getCount()
    • filter

      static MessageQuery filter()