Record Class BlueMindMailFolder

java.lang.Object
java.lang.Record
org.exoplatform.bluemind.client.model.BlueMindMailFolder
Record Components:
internalId - the folder's internal id
fullName - the folder's full name, its path from the mailbox root, / between levels
uid - the folder's uid

public record BlueMindMailFolder(long internalId, String fullName, String uid) extends Record
One folder of a mailbox, as BlueMind's folder listing (IMailboxFolders.all) answers it: what a filter rule's move names. BlueMind's webmail writes a move with the folder's internalId and its fullName, and delivery finds the folder by the id first, by the name when the id is null (RuleEngine, master 302bc396).
  • Constructor Details

    • BlueMindMailFolder

      public BlueMindMailFolder(long internalId, String fullName, String uid)
      Creates an instance of a BlueMindMailFolder record class.
      Parameters:
      internalId - the value for the internalId record component
      fullName - the value for the fullName record component
      uid - the value for the uid record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • internalId

      public long internalId()
      Returns the value of the internalId record component.
      Returns:
      the value of the internalId record component
    • fullName

      public String fullName()
      Returns the value of the fullName record component.
      Returns:
      the value of the fullName record component
    • uid

      public String uid()
      Returns the value of the uid record component.
      Returns:
      the value of the uid record component