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 thisPictureView
as a MAp to be stored inside a document.Blob
getBlob()
Returns theBlob
of the picture view.Blob
getContent()
Returns theBlob
of the picture view.String
getDescription()
String
getFilename()
int
getHeight()
ImageInfo
getImageInfo()
Returns theImageInfo
of the picture view.String
getTag()
String
getTitle()
int
getWidth()
void
setBlob(Blob blob)
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
setTag(String tag)
void
setTitle(String title)
void
setWidth(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:
getWidth
in interfacePictureView
-
setWidth
public void setWidth(int width)
- Specified by:
setWidth
in interfacePictureView
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfacePictureView
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfacePictureView
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacePictureView
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfacePictureView
-
getTag
public String getTag()
- Specified by:
getTag
in interfacePictureView
-
setTag
public void setTag(String tag)
- Specified by:
setTag
in interfacePictureView
-
getFilename
public String getFilename()
- Specified by:
getFilename
in interfacePictureView
-
setFilename
public void setFilename(String filename)
- Specified by:
setFilename
in interfacePictureView
-
getContent
public Blob getContent()
Description copied from interface:PictureView
Returns theBlob
of the picture view.- Specified by:
getContent
in interfacePictureView
-
getHeight
public int getHeight()
- Specified by:
getHeight
in interfacePictureView
-
setHeight
public void setHeight(int height)
- Specified by:
setHeight
in interfacePictureView
-
getBlob
public Blob getBlob()
Description copied from interface:PictureView
Returns theBlob
of the picture view.- Specified by:
getBlob
in interfacePictureView
-
setBlob
public void setBlob(Blob blob)
Description copied from interface:PictureView
Sets theBlob
of this picture view.- Specified by:
setBlob
in interfacePictureView
-
getImageInfo
public ImageInfo getImageInfo()
Description copied from interface:PictureView
Returns theImageInfo
of the picture view.- Specified by:
getImageInfo
in interfacePictureView
-
setImageInfo
public void setImageInfo(ImageInfo info)
Description copied from interface:PictureView
Sets theImageInfo
of the picture view.- Specified by:
setImageInfo
in interfacePictureView
-
asMap
public Map<String,Serializable> asMap()
Description copied from interface:PictureView
Convert thisPictureView
as a MAp to be stored inside a document.- Specified by:
asMap
in interfacePictureView
-
-