org.nuxeo.opensocial.container.shared.webcontent
Class OpenSocialData
java.lang.Object
org.nuxeo.opensocial.container.shared.webcontent.abs.AbstractWebContentData
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
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 |
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
OpenSocialData
public OpenSocialData()
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()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.