Nuxeo Enterprise Platform 5.4

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

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

public class OpenSocialData
extends AbstractWebContentData

Author:
Stéphane Fourrier
See Also:
Serialized Form

Field Summary
static String NAME_PREFERENCE
           
static String TYPE
           
static String URL_PREFERENCE
           
 
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
OpenSocialData()
           
 
Method Summary
 String getAssociatedType()
           
 String getFrameUrl()
           
 String getGadgetDef()
           
 String getGadgetName()
           
 String getIcon()
           
 Map<String,String> getModulePreferences()
           
 String getSecurityToken()
           
 UserPref getUserPrefByName(String name)
           
 List<UserPref> getUserPrefs()
           
 boolean hasFiles()
           
 boolean initPrefs(Map<String,String> params)
           
 void setFrameUrl(String frameUrl)
           
 void setGadgetDef(String gadgetDefUrl)
           
 void setGadgetName(String name)
           
 void setModulePreferences(Map<String,String> modulePreferences)
           
 void setSecurityToken(String securityToken)
           
 void setUserPrefs(List<UserPref> userPrefs)
           
 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

URL_PREFERENCE

public static final String URL_PREFERENCE
See Also:
Constant Field Values

NAME_PREFERENCE

public static final String NAME_PREFERENCE
See Also:
Constant Field Values

TYPE

public static String TYPE
Constructor Detail

OpenSocialData

public OpenSocialData()
Method Detail

getFrameUrl

public String getFrameUrl()

setFrameUrl

public void setFrameUrl(String frameUrl)

getGadgetDef

public String getGadgetDef()

setGadgetDef

public void setGadgetDef(String gadgetDefUrl)

setSecurityToken

public void setSecurityToken(String securityToken)

getSecurityToken

public String getSecurityToken()

setUserPrefs

public void setUserPrefs(List<UserPref> userPrefs)

getUserPrefs

public List<UserPref> getUserPrefs()

getUserPrefByName

public UserPref getUserPrefByName(String name)

setModulePreferences

public void setModulePreferences(Map<String,String> modulePreferences)

getModulePreferences

public Map<String,String> getModulePreferences()

setGadgetName

public void setGadgetName(String name)

getGadgetName

public String getGadgetName()

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.