public class OpenSocialData extends AbstractWebContentData
Modifier and Type | Field and Description |
---|---|
static String |
NAME_PREFERENCE |
static String |
TYPE |
static String |
URL_PREFERENCE |
WC_TITLE_COLOR, WC_TITLE_PREFERENCE
Constructor and Description |
---|
OpenSocialData() |
Modifier and Type | Method and Description |
---|---|
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) |
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
public static final String URL_PREFERENCE
public static final String NAME_PREFERENCE
public static String TYPE
public String getFrameUrl()
public void setFrameUrl(String frameUrl)
public String getGadgetDef()
public void setGadgetDef(String gadgetDefUrl)
public void setSecurityToken(String securityToken)
public String getSecurityToken()
public void setGadgetName(String name)
public String getGadgetName()
public boolean initPrefs(Map<String,String> params)
initPrefs
in interface WebContentData
initPrefs
in class AbstractWebContentData
public void updateFrom(WebContentData data)
public String getAssociatedType()
getAssociatedType
in interface WebContentData
getAssociatedType
in class AbstractWebContentData
public String getIcon()
getIcon
in interface WebContentData
getIcon
in class AbstractWebContentData
public boolean hasFiles()
Copyright © 2013 Nuxeo SA. All Rights Reserved.