public class MultiviewPictureAdapter extends Object implements MultiviewPicture
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_BYLINE |
static String |
FIELD_CAPTION |
static String |
FIELD_CREDIT |
static String |
FIELD_DATELINE |
static String |
FIELD_GENRE |
static String |
FIELD_HEADLINE |
static String |
FIELD_INFO |
static String |
FIELD_LANGUAGE |
static String |
FIELD_ORIGIN |
static String |
FIELD_SLUGLINE |
static String |
FIELD_SOURCE |
static String |
FIELD_SUBHEADLINE |
static String |
FIELD_TYPAGE |
static String |
SCHEMA_NAME |
Constructor and Description |
---|
MultiviewPictureAdapter(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
void |
addView(PictureView view) |
String |
getByline() |
String |
getCaption() |
String |
getCredit() |
String |
getDateline() |
String |
getGenre() |
String |
getHeadline() |
String |
getLanguage() |
String |
getOrigin() |
String |
getSlugline() |
String |
getSource() |
String |
getSubheadline() |
String |
getTypage() |
PictureView |
getView(String title) |
PictureView[] |
getViews() |
static PictureView |
mapToView(Map<String,Object> map) |
void |
removeAllView() |
void |
removeView(String name) |
void |
setByline(String byline) |
void |
setCaption(String caption) |
void |
setCredit(String credit) |
void |
setDateline(String dateline) |
void |
setGenre(String genre) |
void |
setHeadline(String headline) |
void |
setLanguage(String language) |
void |
setOrigin(String origin) |
void |
setSlugline(String slugline) |
void |
setSource(String source) |
void |
setSubheadline(String subheadline) |
void |
setTypage(String typage) |
static Map<String,Object> |
viewToMap(PictureView view) |
public static final String FIELD_HEADLINE
public static final String FIELD_SUBHEADLINE
public static final String FIELD_BYLINE
public static final String FIELD_DATELINE
public static final String FIELD_SLUGLINE
public static final String FIELD_CREDIT
public static final String FIELD_LANGUAGE
public static final String FIELD_SOURCE
public static final String FIELD_ORIGIN
public static final String FIELD_GENRE
public static final String FIELD_CAPTION
public static final String FIELD_TYPAGE
public static final String FIELD_INFO
public static final String SCHEMA_NAME
public MultiviewPictureAdapter(DocumentModel docModel)
public static Map<String,Object> viewToMap(PictureView view)
public static PictureView mapToView(Map<String,Object> map)
public PictureView[] getViews()
getViews
in interface MultiviewPicture
public PictureView getView(String title)
getView
in interface MultiviewPicture
public void removeView(String name)
removeView
in interface MultiviewPicture
public void addView(PictureView view)
addView
in interface MultiviewPicture
public void removeAllView()
removeAllView
in interface MultiviewPicture
public String getHeadline()
getHeadline
in interface MultiviewPicture
public void setHeadline(String headline)
setHeadline
in interface MultiviewPicture
public String getSubheadline()
getSubheadline
in interface MultiviewPicture
public void setSubheadline(String subheadline)
setSubheadline
in interface MultiviewPicture
public String getByline()
getByline
in interface MultiviewPicture
public void setByline(String byline)
setByline
in interface MultiviewPicture
public String getDateline()
getDateline
in interface MultiviewPicture
public void setDateline(String dateline)
setDateline
in interface MultiviewPicture
public String getSlugline()
getSlugline
in interface MultiviewPicture
public void setSlugline(String slugline)
setSlugline
in interface MultiviewPicture
public String getCredit()
getCredit
in interface MultiviewPicture
public void setCredit(String credit)
setCredit
in interface MultiviewPicture
public String getLanguage()
getLanguage
in interface MultiviewPicture
public void setLanguage(String language)
setLanguage
in interface MultiviewPicture
public String getSource()
getSource
in interface MultiviewPicture
public void setSource(String source)
setSource
in interface MultiviewPicture
public String getOrigin()
getOrigin
in interface MultiviewPicture
public void setOrigin(String origin)
setOrigin
in interface MultiviewPicture
public String getGenre()
getGenre
in interface MultiviewPicture
public void setGenre(String genre)
setGenre
in interface MultiviewPicture
public String getCaption()
getCaption
in interface MultiviewPicture
public void setCaption(String caption)
setCaption
in interface MultiviewPicture
public String getTypage()
getTypage
in interface MultiviewPicture
public void setTypage(String typage)
setTypage
in interface MultiviewPicture
Copyright © 2017 Nuxeo. All rights reserved.