Class PictureViewImpl
java.lang.Object
org.nuxeo.ecm.platform.picture.api.PictureViewImpl
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionasMap()Convert thisPictureViewas a MAp to be stored inside a document.getBlob()Returns theBlobof the picture view.intReturns theImageInfoof the picture view.getTag()getTitle()intgetWidth()voidSets theBlobof this picture view.voidsetDescription(String description) voidsetFilename(String filename) voidsetHeight(int height) voidsetImageInfo(ImageInfo info) Sets theImageInfoof the picture view.voidvoidvoidsetWidth(int width)
-
Constructor Details
-
PictureViewImpl
public PictureViewImpl()- Since:
- 5.7
-
PictureViewImpl
- Since:
- 5.7
-
-
Method Details
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacePictureView
-
setWidth
public void setWidth(int width) - Specified by:
setWidthin interfacePictureView
-
getTitle
- Specified by:
getTitlein interfacePictureView
-
setTitle
- Specified by:
setTitlein interfacePictureView
-
getDescription
- Specified by:
getDescriptionin interfacePictureView
-
setDescription
- Specified by:
setDescriptionin interfacePictureView
-
getTag
- Specified by:
getTagin interfacePictureView
-
setTag
- Specified by:
setTagin interfacePictureView
-
getFilename
- Specified by:
getFilenamein interfacePictureView
-
setFilename
- Specified by:
setFilenamein interfacePictureView
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacePictureView
-
setHeight
public void setHeight(int height) - Specified by:
setHeightin interfacePictureView
-
getBlob
Description copied from interface:PictureViewReturns theBlobof the picture view.- Specified by:
getBlobin interfacePictureView
-
setBlob
Description copied from interface:PictureViewSets theBlobof this picture view.- Specified by:
setBlobin interfacePictureView
-
getImageInfo
Description copied from interface:PictureViewReturns theImageInfoof the picture view.- Specified by:
getImageInfoin interfacePictureView
-
setImageInfo
Description copied from interface:PictureViewSets theImageInfoof the picture view.- Specified by:
setImageInfoin interfacePictureView
-
asMap
Description copied from interface:PictureViewConvert thisPictureViewas a MAp to be stored inside a document.- Specified by:
asMapin interfacePictureView
-