Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.bean
Class GadgetBean

java.lang.Object
  extended by org.nuxeo.opensocial.container.client.bean.GadgetBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, Comparable<GadgetBean>

public class GadgetBean
extends Object
implements Comparable<GadgetBean>, com.google.gwt.user.client.rpc.IsSerializable

GadgetBean

Author:
Guillaume Cusnieux

Constructor Summary
GadgetBean()
          Default constructor (Specification of Gwt)
GadgetBean(String ref, String title, String viewer, List<PreferencesBean> defaultPrefs, List<PreferencesBean> userPrefs, boolean collapsed, String name, Map<String,GadgetView> gadgetViews, String htmlContent, Integer height)
           
 
Method Summary
 int compareTo(GadgetBean o)
           
 List<PreferencesBean> getDefaultPrefs()
           
 GadgetPosition getGadgetPosition()
           
 Map<String,GadgetView> getGadgetViews()
           
 int getHeight()
           
 String getHtmlContent()
           
 String getIcon()
           
 String getName()
           
 GadgetPosition getPosition()
           
 String getRef()
           
 String getRenderUrl()
           
 String getTitle()
           
 List<PreferencesBean> getUserPrefs()
           
 GadgetView getView(String view)
           
 String getViewer()
           
 boolean isCollapsed()
           
 boolean isConfigurable()
           
 boolean isEditable()
           
 void setCollapsed(boolean collapsed)
           
 void setConfigurable(boolean configurable)
           
 void setDefaultPrefs(List<PreferencesBean> defaultPrefs)
           
 void setEditable(boolean editable)
           
 void setGadgetViews(Map<String,GadgetView> gadgetViews)
           
 void setHeight(Integer height)
           
 void setHtmlContent(String htmlContent)
           
 void setIcon(String icon)
           
 void setName(String name)
           
 void setPosition(GadgetPosition position)
           
 void setPref(String key, String value)
           
 void setRef(String ref)
           
 void setRenderUrl(String renderUrl)
           
 void setTitle(String title)
           
 void setUserPrefs(List<PreferencesBean> prefs)
           
 void setViewer(String viewer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetBean

public GadgetBean()
Default constructor (Specification of Gwt)


GadgetBean

public GadgetBean(String ref,
                  String title,
                  String viewer,
                  List<PreferencesBean> defaultPrefs,
                  List<PreferencesBean> userPrefs,
                  boolean collapsed,
                  String name,
                  Map<String,GadgetView> gadgetViews,
                  String htmlContent,
                  Integer height)
Method Detail

setRenderUrl

public void setRenderUrl(String renderUrl)

getTitle

public String getTitle()

getGadgetViews

public Map<String,GadgetView> getGadgetViews()

setGadgetViews

public void setGadgetViews(Map<String,GadgetView> gadgetViews)

getPosition

public GadgetPosition getPosition()

setRef

public void setRef(String ref)

setViewer

public void setViewer(String viewer)

setDefaultPrefs

public void setDefaultPrefs(List<PreferencesBean> defaultPrefs)

setName

public void setName(String name)

getName

public String getName()

getRef

public String getRef()

getRenderUrl

public String getRenderUrl()

getDefaultPrefs

public List<PreferencesBean> getDefaultPrefs()

getUserPrefs

public List<PreferencesBean> getUserPrefs()

setUserPrefs

public void setUserPrefs(List<PreferencesBean> prefs)

getViewer

public String getViewer()

isCollapsed

public boolean isCollapsed()

setCollapsed

public void setCollapsed(boolean collapsed)

setPosition

public void setPosition(GadgetPosition position)

getGadgetPosition

public GadgetPosition getGadgetPosition()

setTitle

public void setTitle(String title)

getView

public GadgetView getView(String view)

setPref

public void setPref(String key,
                    String value)

compareTo

public int compareTo(GadgetBean o)
Specified by:
compareTo in interface Comparable<GadgetBean>

getHtmlContent

public String getHtmlContent()

getHeight

public int getHeight()

setHeight

public void setHeight(Integer height)

setHtmlContent

public void setHtmlContent(String htmlContent)

setIcon

public void setIcon(String icon)

getIcon

public String getIcon()

isEditable

public boolean isEditable()

setEditable

public void setEditable(boolean editable)

isConfigurable

public boolean isConfigurable()

setConfigurable

public void setConfigurable(boolean configurable)

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.