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, wait
hasFiles, updateFrom
public boolean isCollapsed()
isCollapsed
in interface WebContentData
public void setIsCollapsed(boolean isCollapsed)
setIsCollapsed
in interface WebContentData
public boolean isInAPorlet()
isInAPorlet
in interface WebContentData
public void setIsInAPortlet(boolean isInAPortlet)
setIsInAPortlet
in interface WebContentData
public String getId()
getId
in interface WebContentData
public void setId(String id)
setId
in interface WebContentData
public String getName()
getName
in interface WebContentData
public void setName(String name)
setName
in interface WebContentData
public String getTitle()
getTitle
in interface WebContentData
public void setTitle(String title)
setTitle
in interface WebContentData
public String getUnitId()
getUnitId
in interface WebContentData
public void setUnitId(String unitId)
setUnitId
in interface WebContentData
public long getPosition()
getPosition
in interface WebContentData
public void setPosition(long position)
setPosition
in interface WebContentData
public int compareTo(AbstractWebContentData webContent)
compareTo
in interface Comparable<AbstractWebContentData>
public void addPreference(String pref, String value)
addPreference
in interface WebContentData
public void setPreferences(Map<String,String> preferences)
setPreferences
in interface WebContentData
public Map<String,String> getPreferences()
getPreferences
in interface WebContentData
public Map<String,String> getAdditionalPreferences()
WebContentData
WebContent
. Those preferences are not stored in the associated
Document.getAdditionalPreferences
in interface WebContentData
public void setOwner(String owner)
setOwner
in interface WebContentData
public String getOwner()
getOwner
in interface WebContentData
public void setViewer(String viewer)
setViewer
in interface WebContentData
public String getViewer()
getViewer
in interface WebContentData
public boolean initPrefs(Map<String,String> params)
initPrefs
in interface WebContentData
public abstract String getAssociatedType()
getAssociatedType
in interface WebContentData
public abstract String getIcon()
getIcon
in interface WebContentData
public void addFile(Serializable file)
addFile
in interface WebContentData
public void clearFiles()
clearFiles
in interface WebContentData
public List<Serializable> getFiles()
getFiles
in interface WebContentData
Copyright © 2015 Nuxeo SA. All rights reserved.