Record Class CorrespondenceRecipientService.RecipientSetup
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.service.CorrespondenceRecipientService.RecipientSetup
- Enclosing class:
CorrespondenceRecipientService
public static record CorrespondenceRecipientService.RecipientSetup(PrimaryKeyList selectedKeys, CorrespondenceSettings.FormProperties formProperties, CorrespondenceActionResource.RecipientSettings recipientSettings, CorrespondenceRecipientService.SearchProperties searchProperties)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientSetup(PrimaryKeyList selectedKeys, CorrespondenceSettings.FormProperties formProperties, CorrespondenceActionResource.RecipientSettings recipientSettings, CorrespondenceRecipientService.SearchProperties searchProperties) Creates an instance of aRecipientSetuprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theformPropertiesrecord component.from(PrimaryKeyList selectedKeys, CorrespondenceActionResource.LoadRecipientsRequestBean loadRecipientsBean) from(PrimaryKeyList selectedKeys, CorrespondenceActionResource.SaveRequestBean saveBean) final inthashCode()Returns a hash code value for this object.Returns the value of therecipientSettingsrecord component.Returns the value of thesearchPropertiesrecord component.Returns the value of theselectedKeysrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecipientSetup
public RecipientSetup(PrimaryKeyList selectedKeys, CorrespondenceSettings.FormProperties formProperties, CorrespondenceActionResource.RecipientSettings recipientSettings, CorrespondenceRecipientService.SearchProperties searchProperties) Creates an instance of aRecipientSetuprecord class.- Parameters:
selectedKeys- the value for theselectedKeysrecord componentformProperties- the value for theformPropertiesrecord componentrecipientSettings- the value for therecipientSettingsrecord componentsearchProperties- the value for thesearchPropertiesrecord component
-
-
Method Details
-
from
public static CorrespondenceRecipientService.RecipientSetup from(PrimaryKeyList selectedKeys, CorrespondenceActionResource.LoadRecipientsRequestBean loadRecipientsBean) -
from
public static CorrespondenceRecipientService.RecipientSetup from(PrimaryKeyList selectedKeys, CorrespondenceActionResource.SaveRequestBean saveBean) -
sourceModel
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
selectedKeys
Returns the value of theselectedKeysrecord component.- Returns:
- the value of the
selectedKeysrecord component
-
formProperties
Returns the value of theformPropertiesrecord component.- Returns:
- the value of the
formPropertiesrecord component
-
recipientSettings
Returns the value of therecipientSettingsrecord component.- Returns:
- the value of the
recipientSettingsrecord component
-
searchProperties
Returns the value of thesearchPropertiesrecord component.- Returns:
- the value of the
searchPropertiesrecord component
-