Class PictureConversion

java.lang.Object
org.nuxeo.ecm.platform.picture.api.PictureConversion
All Implemented Interfaces:
Comparable<PictureConversion>

public class PictureConversion extends Object implements Comparable<PictureConversion>
Object to store the definition of a picture conversion, to be used when computing views for a given image.
Since:
7.1
Author:
Thomas Roger
  • Field Details

    • id

      protected String id
    • order

      protected Integer order
    • description

      protected String description
    • enabled

      protected Boolean enabled
    • chainId

      protected String chainId
    • tag

      protected String tag
    • maxSize

      protected Integer maxSize
    • filterIds

      protected List<String> filterIds
    • rendition

      protected Boolean rendition
      Since:
      7.2
    • renditionVisible

      protected Boolean renditionVisible
      Since:
      7.2
  • Constructor Details

    • PictureConversion

      public PictureConversion()
    • PictureConversion

      public PictureConversion(String id, String description, String tag, Integer maxSize)
  • Method Details

    • getId

      public String getId()
    • getOrder

      public int getOrder()
    • getDescription

      public String getDescription()
    • getTag

      public String getTag()
    • isEnabled

      public boolean isEnabled()
    • getChainId

      public String getChainId()
    • getMaxSize

      public Integer getMaxSize()
    • getFilterIds

      public List<String> getFilterIds()
    • setOrder

      public void setOrder(Integer order)
    • setDescription

      public void setDescription(String description)
    • setEnabled

      public void setEnabled(Boolean enabled)
    • setChainId

      public void setChainId(String chainId)
    • setTag

      public void setTag(String tag)
    • setMaxSize

      public void setMaxSize(Integer maxSize)
    • setFilterIds

      public void setFilterIds(List<String> filterIds)
    • isRenditionVisible

      public boolean isRenditionVisible()
    • isRendition

      public boolean isRendition()
    • setRendition

      public void setRendition(Boolean rendition)
    • setRenditionVisible

      public void setRenditionVisible(Boolean renditionVisible)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • compareTo

      public int compareTo(PictureConversion other)
      Specified by:
      compareTo in interface Comparable<PictureConversion>
    • clone

      public PictureConversion clone()
      Overrides:
      clone in class Object
    • merge

      public void merge(PictureConversion other)
    • toString

      public String toString()
      Overrides:
      toString in class Object