Package org.ametys.plugins.forms.helper
Record Class FormAdminDashboardHelper.DashboardAdminParameters
java.lang.Object
java.lang.Record
org.ametys.plugins.forms.helper.FormAdminDashboardHelper.DashboardAdminParameters
- Record Components:
form- the formcriterionTree- the criterion tree for form entry searchuserInputs- the form search user inputsactionableEntriesOnly- whether to filter only entries with at least one available action for the current userlang- the form locale
- Enclosing class:
FormAdminDashboardHelper
public static record FormAdminDashboardHelper.DashboardAdminParameters(Form form, AbstractTreeNode<SearchServiceCriterion<?>> criterionTree, FormSearchUserInputs userInputs, boolean actionableEntriesOnly, String lang)
extends Record
A record grouping all parameters needed for searching form entries in the admin dashboard
-
Constructor Summary
ConstructorsConstructorDescriptionDashboardAdminParameters(Form form, AbstractTreeNode<SearchServiceCriterion<?>> criterionTree, FormSearchUserInputs userInputs, boolean actionableEntriesOnly, String lang) Creates an instance of aDashboardAdminParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theactionableEntriesOnlyrecord component.Returns the value of thecriterionTreerecord component.final booleanIndicates whether some other object is "equal to" this one.form()Returns the value of theformrecord component.final inthashCode()Returns a hash code value for this object.lang()Returns the value of thelangrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserInputsrecord component.
-
Constructor Details
-
DashboardAdminParameters
public DashboardAdminParameters(Form form, AbstractTreeNode<SearchServiceCriterion<?>> criterionTree, FormSearchUserInputs userInputs, boolean actionableEntriesOnly, String lang) Creates an instance of aDashboardAdminParametersrecord class.- Parameters:
form- the value for theformrecord componentcriterionTree- the value for thecriterionTreerecord componentuserInputs- the value for theuserInputsrecord componentactionableEntriesOnly- the value for theactionableEntriesOnlyrecord componentlang- the value for thelangrecord 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
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 '=='. -
form
Returns the value of theformrecord component.- Returns:
- the value of the
formrecord component
-
criterionTree
Returns the value of thecriterionTreerecord component.- Returns:
- the value of the
criterionTreerecord component
-
userInputs
Returns the value of theuserInputsrecord component.- Returns:
- the value of the
userInputsrecord component
-
actionableEntriesOnly
Returns the value of theactionableEntriesOnlyrecord component.- Returns:
- the value of the
actionableEntriesOnlyrecord component
-
lang
Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-