Package org.ametys.plugins.linkdirectory
Record Class LinkDirectoryThemesInputDataHelper.ThemesInputData
java.lang.Object
java.lang.Record
org.ametys.plugins.linkdirectory.LinkDirectoryThemesInputDataHelper.ThemesInputData
- Record Components:
id- the input data idtemplates- the templates of the themesthemes- the themes in the input dataconfigurable-trueif the themes are configurabledisplayUserLinks-trueto have the user links
- Enclosing class:
LinkDirectoryThemesInputDataHelper
public static record LinkDirectoryThemesInputDataHelper.ThemesInputData(String id, List<String> templates, List<Map<String,String>> themes, boolean configurable, boolean displayUserLinks)
extends Record
A record representing a themes input data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theconfigurablerecord component.booleanReturns the value of thedisplayUserLinksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thetemplatesrecord component.themes()Returns the value of thethemesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ThemesInputData
public ThemesInputData(String id, List<String> templates, List<Map<String, String>> themes, boolean configurable, boolean displayUserLinks) Creates an instance of aThemesInputDatarecord class.- Parameters:
id- the value for theidrecord componenttemplates- the value for thetemplatesrecord componentthemes- the value for thethemesrecord componentconfigurable- the value for theconfigurablerecord componentdisplayUserLinks- the value for thedisplayUserLinksrecord 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 '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
templates
Returns the value of thetemplatesrecord component.- Returns:
- the value of the
templatesrecord component
-
themes
Returns the value of thethemesrecord component.- Returns:
- the value of the
themesrecord component
-
configurable
Returns the value of theconfigurablerecord component.- Returns:
- the value of the
configurablerecord component
-
displayUserLinks
Returns the value of thedisplayUserLinksrecord component.- Returns:
- the value of the
displayUserLinksrecord component
-