public class SharedContent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SharedContent.SortOnComparator |
Modifier and Type | Field and Description |
---|---|
protected List<ComponentBean> |
content |
static String |
SHARED_CONTENT_FOLDER |
Constructor and Description |
---|
SharedContent(String id,
Collection<ComponentBean> content) |
SharedContent(String id,
ComponentBean content) |
Modifier and Type | Method and Description |
---|---|
void |
addCategory(String category) |
Collection<String> |
getCategories() |
List<ComponentBean> |
getContent()
get the content as javlo ComponentBean.
|
String |
getDescription() |
String |
getEditURL() |
String |
getId() |
String |
getImageURL() |
String |
getLinkInfo()
get information for create a linked content.
|
String |
getPhotoPageLink() |
long |
getSortOn() |
String |
getTitle() |
boolean |
isEditAsModal() |
void |
loadContent(ContentContext ctx)
load content if remote, do nothing if local.
|
void |
setCategories(Collection<String> categories) |
void |
setDescription(String description) |
void |
setEditAsModal(boolean editAsPopup) |
void |
setEditURL(String editURL) |
void |
setImageUrl(String url) |
void |
setLinkInfo(String linkInfo) |
void |
setPhotoPageLink(String photoPageLink) |
void |
setSortOn(long sortOn) |
void |
setTitle(String title) |
public static final String SHARED_CONTENT_FOLDER
protected List<ComponentBean> content
public SharedContent(String id, ComponentBean content) throws Exception
Exception
public SharedContent(String id, Collection<ComponentBean> content) throws Exception
Exception
public void loadContent(ContentContext ctx)
ctx
- public List<ComponentBean> getContent()
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getImageURL()
public void setImageUrl(String url)
public String getId()
public Collection<String> getCategories()
public void setCategories(Collection<String> categories)
public void addCategory(String category)
public String getLinkInfo()
public void setLinkInfo(String linkInfo)
public long getSortOn()
public void setSortOn(long sortOn)
public String getEditURL()
public void setEditURL(String editURL)
public boolean isEditAsModal()
public void setEditAsModal(boolean editAsPopup)
public String getPhotoPageLink()
public void setPhotoPageLink(String photoPageLink)
Copyright © 2012-2018. All Rights Reserved.