Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.shared.webcontent
Class HTMLData

java.lang.Object
  extended by org.nuxeo.opensocial.container.shared.webcontent.abs.AbstractWebContentData
      extended by org.nuxeo.opensocial.container.shared.webcontent.HTMLData
All Implemented Interfaces:
Serializable, Comparable<AbstractWebContentData>, WebContentData

public class HTMLData
extends AbstractWebContentData

Author:
Stéphane Fourrier
See Also:
Serialized Form

Field Summary
static String CENTER_TEMPLATE
           
static String HTML_PREFERENCE
           
static String ICONE_NAME
           
static String LEFT_TEMPLATE
           
static String RIGHT_TEMPLATE
           
static String TITLE_PREFERENCE
           
static String TYPE
           
 
Fields inherited from interface org.nuxeo.opensocial.container.shared.webcontent.WebContentData
WC_BORDER_COLOR, WC_HEADER_COLOR, WC_TITLE_COLOR, WC_TITLE_PREFERENCE
 
Constructor Summary
HTMLData()
           
 
Method Summary
 String getAssociatedType()
           
 String getHtml()
           
 String getHtmlPictureLegend()
           
 String getHtmlPictureLink()
           
 String getHtmlTitle()
           
 String getIcon()
           
 String getTemplate()
           
 boolean hasFiles()
           
 boolean hasPicture()
           
 boolean initPrefs(Map<String,String> params)
           
 void setHasPicture(boolean hasPicture)
           
 void setHtml(String html)
           
 void setHtmlPictureLegend(String htmlPictureLegend)
           
 void setHtmlPictureLink(String htmlPictureLink)
           
 void setHtmlTitle(String htmlTitle)
           
 void setTemplate(String template)
           
 void updateFrom(WebContentData data)
           
 
Methods inherited from class org.nuxeo.opensocial.container.shared.webcontent.abs.AbstractWebContentData
addFile, addPreference, clearFiles, compareTo, getAdditionalPreferences, getFiles, getId, getName, getOwner, getPosition, getPreferences, getTitle, getUnitId, getViewer, isCollapsed, isInAPorlet, setId, setIsCollapsed, setIsInAPortlet, setName, setOwner, setPosition, setPreferences, setTitle, setUnitId, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTML_PREFERENCE

public static final String HTML_PREFERENCE
See Also:
Constant Field Values

TITLE_PREFERENCE

public static final String TITLE_PREFERENCE
See Also:
Constant Field Values

ICONE_NAME

public static final String ICONE_NAME
See Also:
Constant Field Values

CENTER_TEMPLATE

public static final String CENTER_TEMPLATE
See Also:
Constant Field Values

RIGHT_TEMPLATE

public static final String RIGHT_TEMPLATE
See Also:
Constant Field Values

LEFT_TEMPLATE

public static final String LEFT_TEMPLATE
See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

HTMLData

public HTMLData()
Method Detail

getHtml

public String getHtml()

setHtml

public void setHtml(String html)

getHtmlTitle

public String getHtmlTitle()

setHtmlTitle

public void setHtmlTitle(String htmlTitle)

setHtmlPictureLink

public void setHtmlPictureLink(String htmlPictureLink)

getHtmlPictureLink

public String getHtmlPictureLink()

setHtmlPictureLegend

public void setHtmlPictureLegend(String htmlPictureLegend)

getHtmlPictureLegend

public String getHtmlPictureLegend()

setHasPicture

public void setHasPicture(boolean hasPicture)

hasPicture

public boolean hasPicture()

setTemplate

public void setTemplate(String template)

getTemplate

public String getTemplate()

initPrefs

public boolean initPrefs(Map<String,String> params)
Specified by:
initPrefs in interface WebContentData
Overrides:
initPrefs in class AbstractWebContentData

updateFrom

public void updateFrom(WebContentData data)

getAssociatedType

public String getAssociatedType()
Specified by:
getAssociatedType in interface WebContentData
Specified by:
getAssociatedType in class AbstractWebContentData

getIcon

public String getIcon()
Specified by:
getIcon in interface WebContentData
Specified by:
getIcon in class AbstractWebContentData

hasFiles

public boolean hasFiles()

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.