Class PictureConversion
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.api.PictureConversion
-
- All Implemented Interfaces:
Comparable<PictureConversion>
- Direct Known Subclasses:
PictureTemplate
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 Summary
Fields Modifier and Type Field Description protected String
chainId
protected String
description
protected Boolean
enabled
protected List<String>
filterIds
protected String
id
protected Integer
maxSize
protected Integer
order
protected Boolean
rendition
protected Boolean
renditionVisible
protected String
tag
-
Constructor Summary
Constructors Constructor Description PictureConversion()
PictureConversion(String id, String description, String tag, Integer maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PictureConversion
clone()
int
compareTo(PictureConversion other)
boolean
equals(Object obj)
String
getChainId()
String
getDescription()
List<String>
getFilterIds()
String
getId()
Integer
getMaxSize()
int
getOrder()
String
getTag()
String
getTitle()
Deprecated.since 7.1.int
hashCode()
boolean
isEnabled()
boolean
isRendition()
boolean
isRenditionVisible()
void
merge(PictureConversion other)
void
setChainId(String chainId)
void
setDescription(String description)
void
setEnabled(Boolean enabled)
void
setFilterIds(List<String> filterIds)
void
setMaxSize(Integer maxSize)
void
setOrder(Integer order)
void
setRendition(Boolean rendition)
void
setRenditionVisible(Boolean renditionVisible)
void
setTag(String tag)
String
toString()
-
-
-
Field Detail
-
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
-
rendition
protected Boolean rendition
- Since:
- 7.2
-
renditionVisible
protected Boolean renditionVisible
- Since:
- 7.2
-
-
Method Detail
-
getId
public String getId()
-
getOrder
public int getOrder()
-
getDescription
public String getDescription()
-
getTag
public String getTag()
-
isEnabled
public boolean isEnabled()
-
getChainId
public String getChainId()
-
getTitle
@Deprecated public String getTitle()
Deprecated.since 7.1. UsegetId()
.For compat withPictureTemplate
.
-
getMaxSize
public Integer getMaxSize()
-
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)
-
isRenditionVisible
public boolean isRenditionVisible()
-
isRendition
public boolean isRendition()
-
setRendition
public void setRendition(Boolean rendition)
-
setRenditionVisible
public void setRenditionVisible(Boolean renditionVisible)
-
compareTo
public int compareTo(PictureConversion other)
- Specified by:
compareTo
in interfaceComparable<PictureConversion>
-
clone
public PictureConversion clone()
-
merge
public void merge(PictureConversion other)
-
-