Record Class CorrespondenceActionResource.LoadRecipientsRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceActionResource.LoadRecipientsRequestBean
- Enclosing class:
CorrespondenceActionResource
public static record CorrespondenceActionResource.LoadRecipientsRequestBean(EntitySelectionBean selection, CorrespondenceSettings.FormProperties formProperties, int recordsPerPage, int page, String search, boolean updateTotalCount, boolean loadInvalidRecipients)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLoadRecipientsRequestBean(EntitySelectionBean selection, CorrespondenceSettings.FormProperties formProperties, int recordsPerPage, int page, String search, boolean updateTotalCount, boolean loadInvalidRecipients) Creates an instance of aLoadRecipientsRequestBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theformPropertiesrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theloadInvalidRecipientsrecord component.intpage()Returns the value of thepagerecord 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.booleanReturns the value of theupdateTotalCountrecord component.
-
Constructor Details
-
LoadRecipientsRequestBean
public LoadRecipientsRequestBean(EntitySelectionBean selection, CorrespondenceSettings.FormProperties formProperties, int recordsPerPage, int page, String search, boolean updateTotalCount, boolean loadInvalidRecipients) Creates an instance of aLoadRecipientsRequestBeanrecord class.- Parameters:
selection- the value for theselectionrecord componentformProperties- the value for theformPropertiesrecord componentrecordsPerPage- the value for therecordsPerPagerecord componentpage- the value for thepagerecord componentsearch- the value for thesearchrecord componentupdateTotalCount- the value for theupdateTotalCountrecord componentloadInvalidRecipients- the value for theloadInvalidRecipientsrecord component
-
-
Method Details
-
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 '=='. -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
formProperties
Returns the value of theformPropertiesrecord component.- Returns:
- the value of the
formPropertiesrecord component
-
recordsPerPage
public int recordsPerPage()Returns the value of therecordsPerPagerecord component.- Returns:
- the value of the
recordsPerPagerecord component
-
page
public int page()Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
search
Returns the value of thesearchrecord component.- Returns:
- the value of the
searchrecord component
-
updateTotalCount
public boolean updateTotalCount()Returns the value of theupdateTotalCountrecord component.- Returns:
- the value of the
updateTotalCountrecord component
-
loadInvalidRecipients
public boolean loadInvalidRecipients()Returns the value of theloadInvalidRecipientsrecord component.- Returns:
- the value of the
loadInvalidRecipientsrecord component
-