org.nuxeo.ecm.platform.picture.api.adapters
Class MultiviewPictureAdapter
java.lang.Object
org.nuxeo.ecm.platform.picture.api.adapters.MultiviewPictureAdapter
- All Implemented Interfaces:
- MultiviewPicture
public class MultiviewPictureAdapter
- extends java.lang.Object
- implements MultiviewPicture
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIELD_HEADLINE
public static final java.lang.String FIELD_HEADLINE
- See Also:
- Constant Field Values
FIELD_SUBHEADLINE
public static final java.lang.String FIELD_SUBHEADLINE
- See Also:
- Constant Field Values
FIELD_BYLINE
public static final java.lang.String FIELD_BYLINE
- See Also:
- Constant Field Values
FIELD_DATELINE
public static final java.lang.String FIELD_DATELINE
- See Also:
- Constant Field Values
FIELD_SLUGLINE
public static final java.lang.String FIELD_SLUGLINE
- See Also:
- Constant Field Values
FIELD_CREDIT
public static final java.lang.String FIELD_CREDIT
- See Also:
- Constant Field Values
FIELD_LANGUAGE
public static final java.lang.String FIELD_LANGUAGE
- See Also:
- Constant Field Values
FIELD_SOURCE
public static final java.lang.String FIELD_SOURCE
- See Also:
- Constant Field Values
FIELD_ORIGIN
public static final java.lang.String FIELD_ORIGIN
- See Also:
- Constant Field Values
FIELD_GENRE
public static final java.lang.String FIELD_GENRE
- See Also:
- Constant Field Values
FIELD_CAPTION
public static final java.lang.String FIELD_CAPTION
- See Also:
- Constant Field Values
FIELD_TYPAGE
public static final java.lang.String FIELD_TYPAGE
- See Also:
- Constant Field Values
SCHEMA_NAME
public static final java.lang.String SCHEMA_NAME
- See Also:
- Constant Field Values
MultiviewPictureAdapter
public MultiviewPictureAdapter(DocumentModel docModel)
throws ClientException
- Throws:
ClientException
viewToMap
public static java.util.Map<java.lang.String,java.lang.Object> viewToMap(PictureView view)
mapToView
public static PictureView mapToView(java.util.Map<java.lang.String,java.lang.Object> map)
getViews
public PictureView[] getViews()
- Specified by:
getViews
in interface MultiviewPicture
getView
public PictureView getView(java.lang.String title)
- Specified by:
getView
in interface MultiviewPicture
removeView
public void removeView(java.lang.String name)
throws ClientException
- Specified by:
removeView
in interface MultiviewPicture
- Throws:
ClientException
addView
public void addView(PictureView view)
throws ClientException
- Specified by:
addView
in interface MultiviewPicture
- Throws:
ClientException
removeAllView
public void removeAllView()
throws ClientException
- Specified by:
removeAllView
in interface MultiviewPicture
- Throws:
ClientException
getHeadline
public java.lang.String getHeadline()
throws ClientException
- Specified by:
getHeadline
in interface MultiviewPicture
- Throws:
ClientException
setHeadline
public void setHeadline(java.lang.String headline)
throws ClientException
- Specified by:
setHeadline
in interface MultiviewPicture
- Throws:
ClientException
getSubheadline
public java.lang.String getSubheadline()
throws ClientException
- Specified by:
getSubheadline
in interface MultiviewPicture
- Throws:
ClientException
setSubheadline
public void setSubheadline(java.lang.String subheadline)
throws ClientException
- Specified by:
setSubheadline
in interface MultiviewPicture
- Throws:
ClientException
getByline
public java.lang.String getByline()
throws ClientException
- Specified by:
getByline
in interface MultiviewPicture
- Throws:
ClientException
setByline
public void setByline(java.lang.String byline)
throws ClientException
- Specified by:
setByline
in interface MultiviewPicture
- Throws:
ClientException
getDateline
public java.lang.String getDateline()
throws ClientException
- Specified by:
getDateline
in interface MultiviewPicture
- Throws:
ClientException
setDateline
public void setDateline(java.lang.String dateline)
throws ClientException
- Specified by:
setDateline
in interface MultiviewPicture
- Throws:
ClientException
getSlugline
public java.lang.String getSlugline()
throws ClientException
- Specified by:
getSlugline
in interface MultiviewPicture
- Throws:
ClientException
setSlugline
public void setSlugline(java.lang.String slugline)
throws ClientException
- Specified by:
setSlugline
in interface MultiviewPicture
- Throws:
ClientException
getCredit
public java.lang.String getCredit()
throws ClientException
- Specified by:
getCredit
in interface MultiviewPicture
- Throws:
ClientException
setCredit
public void setCredit(java.lang.String credit)
throws ClientException
- Specified by:
setCredit
in interface MultiviewPicture
- Throws:
ClientException
getLanguage
public java.lang.String getLanguage()
throws ClientException
- Specified by:
getLanguage
in interface MultiviewPicture
- Throws:
ClientException
setLanguage
public void setLanguage(java.lang.String language)
throws ClientException
- Specified by:
setLanguage
in interface MultiviewPicture
- Throws:
ClientException
getSource
public java.lang.String getSource()
throws ClientException
- Specified by:
getSource
in interface MultiviewPicture
- Throws:
ClientException
setSource
public void setSource(java.lang.String source)
throws ClientException
- Specified by:
setSource
in interface MultiviewPicture
- Throws:
ClientException
getOrigin
public java.lang.String getOrigin()
throws ClientException
- Specified by:
getOrigin
in interface MultiviewPicture
- Throws:
ClientException
setOrigin
public void setOrigin(java.lang.String origin)
throws ClientException
- Specified by:
setOrigin
in interface MultiviewPicture
- Throws:
ClientException
getGenre
public java.lang.String getGenre()
throws ClientException
- Specified by:
getGenre
in interface MultiviewPicture
- Throws:
ClientException
setGenre
public void setGenre(java.lang.String genre)
throws ClientException
- Specified by:
setGenre
in interface MultiviewPicture
- Throws:
ClientException
getCaption
public java.lang.String getCaption()
throws ClientException
- Specified by:
getCaption
in interface MultiviewPicture
- Throws:
ClientException
setCaption
public void setCaption(java.lang.String caption)
throws ClientException
- Specified by:
setCaption
in interface MultiviewPicture
- Throws:
ClientException
getTypage
public java.lang.String getTypage()
throws ClientException
- Specified by:
getTypage
in interface MultiviewPicture
- Throws:
ClientException
setTypage
public void setTypage(java.lang.String typage)
throws ClientException
- Specified by:
setTypage
in interface MultiviewPicture
- Throws:
ClientException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.