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_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 SCHEMA_NAME
public MultiviewPictureAdapter(DocumentModel docModel) throws ClientException
ClientException
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) throws ClientException
removeView
in interface MultiviewPicture
ClientException
public void addView(PictureView view) throws ClientException
addView
in interface MultiviewPicture
ClientException
public void removeAllView() throws ClientException
removeAllView
in interface MultiviewPicture
ClientException
public String getHeadline() throws ClientException
getHeadline
in interface MultiviewPicture
ClientException
public void setHeadline(String headline) throws ClientException
setHeadline
in interface MultiviewPicture
ClientException
public String getSubheadline() throws ClientException
getSubheadline
in interface MultiviewPicture
ClientException
public void setSubheadline(String subheadline) throws ClientException
setSubheadline
in interface MultiviewPicture
ClientException
public String getByline() throws ClientException
getByline
in interface MultiviewPicture
ClientException
public void setByline(String byline) throws ClientException
setByline
in interface MultiviewPicture
ClientException
public String getDateline() throws ClientException
getDateline
in interface MultiviewPicture
ClientException
public void setDateline(String dateline) throws ClientException
setDateline
in interface MultiviewPicture
ClientException
public String getSlugline() throws ClientException
getSlugline
in interface MultiviewPicture
ClientException
public void setSlugline(String slugline) throws ClientException
setSlugline
in interface MultiviewPicture
ClientException
public String getCredit() throws ClientException
getCredit
in interface MultiviewPicture
ClientException
public void setCredit(String credit) throws ClientException
setCredit
in interface MultiviewPicture
ClientException
public String getLanguage() throws ClientException
getLanguage
in interface MultiviewPicture
ClientException
public void setLanguage(String language) throws ClientException
setLanguage
in interface MultiviewPicture
ClientException
public String getSource() throws ClientException
getSource
in interface MultiviewPicture
ClientException
public void setSource(String source) throws ClientException
setSource
in interface MultiviewPicture
ClientException
public String getOrigin() throws ClientException
getOrigin
in interface MultiviewPicture
ClientException
public void setOrigin(String origin) throws ClientException
setOrigin
in interface MultiviewPicture
ClientException
public String getGenre() throws ClientException
getGenre
in interface MultiviewPicture
ClientException
public void setGenre(String genre) throws ClientException
setGenre
in interface MultiviewPicture
ClientException
public String getCaption() throws ClientException
getCaption
in interface MultiviewPicture
ClientException
public void setCaption(String caption) throws ClientException
setCaption
in interface MultiviewPicture
ClientException
public String getTypage() throws ClientException
getTypage
in interface MultiviewPicture
ClientException
public void setTypage(String typage) throws ClientException
setTypage
in interface MultiviewPicture
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.