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
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
Convert thisPictureView
as a MAp to be stored inside a document.getBlob()
Returns theBlob
of the picture view.int
Returns theImageInfo
of the picture view.getTag()
getTitle()
int
getWidth()
void
Sets theBlob
of this picture view.void
setDescription
(String description) void
setFilename
(String filename) void
setHeight
(int height) void
setImageInfo
(ImageInfo info) Sets theImageInfo
of the picture view.void
void
void
setWidth
(int width)
-
Constructor Details
-
PictureViewImpl
public PictureViewImpl()- Since:
- 5.7
-
PictureViewImpl
- Since:
- 5.7
-
-
Method Details
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfacePictureView
-
setWidth
public void setWidth(int width) - Specified by:
setWidth
in interfacePictureView
-
getTitle
- Specified by:
getTitle
in interfacePictureView
-
setTitle
- Specified by:
setTitle
in interfacePictureView
-
getDescription
- Specified by:
getDescription
in interfacePictureView
-
setDescription
- Specified by:
setDescription
in interfacePictureView
-
getTag
- Specified by:
getTag
in interfacePictureView
-
setTag
- Specified by:
setTag
in interfacePictureView
-
getFilename
- Specified by:
getFilename
in interfacePictureView
-
setFilename
- Specified by:
setFilename
in interfacePictureView
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfacePictureView
-
setHeight
public void setHeight(int height) - Specified by:
setHeight
in interfacePictureView
-
getBlob
Description copied from interface:PictureView
Returns theBlob
of the picture view.- Specified by:
getBlob
in interfacePictureView
-
setBlob
Description copied from interface:PictureView
Sets theBlob
of this picture view.- Specified by:
setBlob
in interfacePictureView
-
getImageInfo
Description copied from interface:PictureView
Returns theImageInfo
of the picture view.- Specified by:
getImageInfo
in interfacePictureView
-
setImageInfo
Description copied from interface:PictureView
Sets theImageInfo
of the picture view.- Specified by:
setImageInfo
in interfacePictureView
-
asMap
Description copied from interface:PictureView
Convert thisPictureView
as a MAp to be stored inside a document.- Specified by:
asMap
in interfacePictureView
-