public abstract class AbstractWebContentData extends Object implements Serializable, Comparable<AbstractWebContentData>, WebContentData
WC_TITLE_COLOR, WC_TITLE_PREFERENCE| Constructor and Description |
|---|
AbstractWebContentData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(Serializable file) |
void |
addPreference(String pref,
String value) |
void |
clearFiles() |
int |
compareTo(AbstractWebContentData webContent) |
Map<String,String> |
getAdditionalPreferences()
Returns the additional preferences of that
WebContent. |
abstract String |
getAssociatedType() |
List<Serializable> |
getFiles() |
abstract String |
getIcon() |
String |
getId() |
String |
getName() |
String |
getOwner() |
long |
getPosition() |
Map<String,String> |
getPreferences() |
String |
getTitle() |
String |
getUnitId() |
String |
getViewer() |
boolean |
initPrefs(Map<String,String> params) |
boolean |
isCollapsed() |
boolean |
isInAPorlet() |
void |
setId(String id) |
void |
setIsCollapsed(boolean isCollapsed) |
void |
setIsInAPortlet(boolean isInAPortlet) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setPosition(long position) |
void |
setPreferences(Map<String,String> preferences) |
void |
setTitle(String title) |
void |
setUnitId(String unitId) |
void |
setViewer(String viewer) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFiles, updateFrompublic boolean isCollapsed()
isCollapsed in interface WebContentDatapublic void setIsCollapsed(boolean isCollapsed)
setIsCollapsed in interface WebContentDatapublic boolean isInAPorlet()
isInAPorlet in interface WebContentDatapublic void setIsInAPortlet(boolean isInAPortlet)
setIsInAPortlet in interface WebContentDatapublic String getId()
getId in interface WebContentDatapublic void setId(String id)
setId in interface WebContentDatapublic String getName()
getName in interface WebContentDatapublic void setName(String name)
setName in interface WebContentDatapublic String getTitle()
getTitle in interface WebContentDatapublic void setTitle(String title)
setTitle in interface WebContentDatapublic String getUnitId()
getUnitId in interface WebContentDatapublic void setUnitId(String unitId)
setUnitId in interface WebContentDatapublic long getPosition()
getPosition in interface WebContentDatapublic void setPosition(long position)
setPosition in interface WebContentDatapublic int compareTo(AbstractWebContentData webContent)
compareTo in interface Comparable<AbstractWebContentData>public void addPreference(String pref, String value)
addPreference in interface WebContentDatapublic void setPreferences(Map<String,String> preferences)
setPreferences in interface WebContentDatapublic Map<String,String> getPreferences()
getPreferences in interface WebContentDatapublic Map<String,String> getAdditionalPreferences()
WebContentDataWebContent. Those preferences are not stored in the associated
Document.getAdditionalPreferences in interface WebContentDatapublic void setOwner(String owner)
setOwner in interface WebContentDatapublic String getOwner()
getOwner in interface WebContentDatapublic void setViewer(String viewer)
setViewer in interface WebContentDatapublic String getViewer()
getViewer in interface WebContentDatapublic boolean initPrefs(Map<String,String> params)
initPrefs in interface WebContentDatapublic abstract String getAssociatedType()
getAssociatedType in interface WebContentDatapublic abstract String getIcon()
getIcon in interface WebContentDatapublic void addFile(Serializable file)
addFile in interface WebContentDatapublic void clearFiles()
clearFiles in interface WebContentDatapublic List<Serializable> getFiles()
getFiles in interface WebContentDataCopyright © 2015 Nuxeo SA. All rights reserved.