Record Class SkinContentViewHelper.SkinContentView

java.lang.Object
java.lang.Record
org.ametys.web.contenttype.SkinContentViewHelper.SkinContentView
Record Components:
skinName - the skin name
name - the view name
modelViewName - the model view used by this rendering view
format - the output format (html, pdf, doc, ..)
label - the view label
description - the view description
iconGlyph - the icon glyph. Can be null.
iconDecorator - the icon decoration. Can be null.
iconSmall - the small icon. Can be null.
iconMedium - the medium icon. Can be null.
iconLarge - the large icon. Can be null.
Enclosing class:
SkinContentViewHelper

public static record SkinContentViewHelper.SkinContentView(String skinName, String name, String modelViewName, String format, I18nizableText label, I18nizableText description, String iconGlyph, String iconDecorator, String iconSmall, String iconMedium, String iconLarge) extends Record
Rendering view of a content brought by a skin
  • Constructor Details

  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • skinName

      public String skinName()
      Returns the value of the skinName record component.
      Returns:
      the value of the skinName record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • modelViewName

      Returns the value of the modelViewName record component.
      Returns:
      the value of the modelViewName record component
    • format

      public String format()
      Returns the value of the format record component.
      Returns:
      the value of the format record component
    • label

      Returns the value of the label record component.
      Returns:
      the value of the label record component
    • description

      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • iconGlyph

      public String iconGlyph()
      Returns the value of the iconGlyph record component.
      Returns:
      the value of the iconGlyph record component
    • iconDecorator

      Returns the value of the iconDecorator record component.
      Returns:
      the value of the iconDecorator record component
    • iconSmall

      public String iconSmall()
      Returns the value of the iconSmall record component.
      Returns:
      the value of the iconSmall record component
    • iconMedium

      public String iconMedium()
      Returns the value of the iconMedium record component.
      Returns:
      the value of the iconMedium record component
    • iconLarge

      public String iconLarge()
      Returns the value of the iconLarge record component.
      Returns:
      the value of the iconLarge record component