Record Class MailActionRecipientResource.LoadRecipientsRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionRecipientResource.LoadRecipientsRequestBean
- Enclosing class:
MailActionRecipientResource
public static record MailActionRecipientResource.LoadRecipientsRequestBean(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search, boolean countRecipients, boolean countExpectedEmails, boolean findInvalidRecipients)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoadRecipientsRequestBean(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search, boolean countRecipients, boolean countExpectedEmails, boolean findInvalidRecipients) Creates an instance of aLoadRecipientsRequestBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecountExpectedEmailsrecord component.booleanReturns the value of thecountRecipientsrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of thefindInvalidRecipientsrecord component.Returns the value of theformPropertiesrecord component.final inthashCode()Returns a hash code value for this object.intoffset()intpage()Returns the value of thepagerecord component.Returns the value of therecipientOptionsrecord component.intReturns the value of therecordsPerPagerecord component.search()Returns the value of thesearchrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LoadRecipientsRequestBean
public LoadRecipientsRequestBean(FormProperties formProperties, EntitySelectionBean selection, MailSettings.RecipientOptions recipientOptions, int page, int recordsPerPage, String search, boolean countRecipients, boolean countExpectedEmails, boolean findInvalidRecipients) Creates an instance of aLoadRecipientsRequestBeanrecord class.- Parameters:
formProperties- the value for theformPropertiesrecord componentselection- the value for theselectionrecord componentrecipientOptions- the value for therecipientOptionsrecord componentpage- the value for thepagerecord componentrecordsPerPage- the value for therecordsPerPagerecord componentsearch- the value for thesearchrecord componentcountRecipients- the value for thecountRecipientsrecord componentcountExpectedEmails- the value for thecountExpectedEmailsrecord componentfindInvalidRecipients- the value for thefindInvalidRecipientsrecord component
-
-
Method Details
-
offset
public int offset() -
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
formProperties
Returns the value of theformPropertiesrecord component.- Returns:
- the value of the
formPropertiesrecord component
-
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
recipientOptions
Returns the value of therecipientOptionsrecord component.- Returns:
- the value of the
recipientOptionsrecord component
-
page
public int page()Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
recordsPerPage
public int recordsPerPage()Returns the value of therecordsPerPagerecord component.- Returns:
- the value of the
recordsPerPagerecord component
-
search
Returns the value of thesearchrecord component.- Returns:
- the value of the
searchrecord component
-
countRecipients
public boolean countRecipients()Returns the value of thecountRecipientsrecord component.- Returns:
- the value of the
countRecipientsrecord component
-
countExpectedEmails
public boolean countExpectedEmails()Returns the value of thecountExpectedEmailsrecord component.- Returns:
- the value of the
countExpectedEmailsrecord component
-
findInvalidRecipients
public boolean findInvalidRecipients()Returns the value of thefindInvalidRecipientsrecord component.- Returns:
- the value of the
findInvalidRecipientsrecord component
-