Class PictureViewImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.picture.api.PictureViewImpl
-
- All Implemented Interfaces:
PictureView
public class PictureViewImpl extends Object implements PictureView
-
-
Field Summary
-
Fields inherited from interface org.nuxeo.ecm.platform.picture.api.PictureView
FIELD_CONTENT, FIELD_DESCRIPTION, FIELD_FILENAME, FIELD_HEIGHT, FIELD_INFO, FIELD_TAG, FIELD_TITLE, FIELD_WIDTH
-
-
Constructor Summary
Constructors Constructor Description PictureViewImpl()PictureViewImpl(Map<String,Serializable> m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>asMap()Convert thisPictureViewas a MAp to be stored inside a document.BlobgetBlob()Returns theBlobof the picture view.BlobgetContent()Returns theBlobof the picture view.StringgetDescription()StringgetFilename()intgetHeight()ImageInfogetImageInfo()Returns theImageInfoof the picture view.StringgetTag()StringgetTitle()intgetWidth()voidsetBlob(Blob blob)Sets theBlobof this picture view.voidsetDescription(String description)voidsetFilename(String filename)voidsetHeight(int height)voidsetImageInfo(ImageInfo info)Sets theImageInfoof the picture view.voidsetTag(String tag)voidsetTitle(String title)voidsetWidth(int width)
-
-
-
Constructor Detail
-
PictureViewImpl
public PictureViewImpl()
- Since:
- 5.7
-
PictureViewImpl
public PictureViewImpl(Map<String,Serializable> m)
- Since:
- 5.7
-
-
Method Detail
-
getWidth
public int getWidth()
- Specified by:
getWidthin interfacePictureView
-
setWidth
public void setWidth(int width)
- Specified by:
setWidthin interfacePictureView
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfacePictureView
-
setTitle
public void setTitle(String title)
- Specified by:
setTitlein interfacePictureView
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacePictureView
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfacePictureView
-
getTag
public String getTag()
- Specified by:
getTagin interfacePictureView
-
setTag
public void setTag(String tag)
- Specified by:
setTagin interfacePictureView
-
getFilename
public String getFilename()
- Specified by:
getFilenamein interfacePictureView
-
setFilename
public void setFilename(String filename)
- Specified by:
setFilenamein interfacePictureView
-
getContent
public Blob getContent()
Description copied from interface:PictureViewReturns theBlobof the picture view.- Specified by:
getContentin interfacePictureView
-
getHeight
public int getHeight()
- Specified by:
getHeightin interfacePictureView
-
setHeight
public void setHeight(int height)
- Specified by:
setHeightin interfacePictureView
-
getBlob
public Blob getBlob()
Description copied from interface:PictureViewReturns theBlobof the picture view.- Specified by:
getBlobin interfacePictureView
-
setBlob
public void setBlob(Blob blob)
Description copied from interface:PictureViewSets theBlobof this picture view.- Specified by:
setBlobin interfacePictureView
-
getImageInfo
public ImageInfo getImageInfo()
Description copied from interface:PictureViewReturns theImageInfoof the picture view.- Specified by:
getImageInfoin interfacePictureView
-
setImageInfo
public void setImageInfo(ImageInfo info)
Description copied from interface:PictureViewSets theImageInfoof the picture view.- Specified by:
setImageInfoin interfacePictureView
-
asMap
public Map<String,Serializable> asMap()
Description copied from interface:PictureViewConvert thisPictureViewas a MAp to be stored inside a document.- Specified by:
asMapin interfacePictureView
-
-