Package org.javlo.service.shared.url
Class URLSharedContent
- java.lang.Object
-
- org.javlo.service.shared.SharedContent
-
- org.javlo.service.shared.url.URLSharedContent
-
public class URLSharedContent extends SharedContent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.javlo.service.shared.SharedContent
SharedContent.SortOnComparator
-
-
Field Summary
-
Fields inherited from class org.javlo.service.shared.SharedContent
content, SHARED_CONTENT_FOLDER
-
-
Constructor Summary
Constructors Constructor Description URLSharedContent(String id, Collection<ComponentBean> content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getImageURL()
String
getRemoteImageUrl()
void
loadContent(ContentContext ctx)
load content if remote, do nothing if local.void
setRemoteImageUrl(String remoteImageUrl)
-
Methods inherited from class org.javlo.service.shared.SharedContent
addCategory, getCategories, getContent, getDescription, getEditURL, getId, getLinkInfo, getPhotoPageLink, getSortOn, getTitle, isEditAsModal, setCategories, setDescription, setEditAsModal, setEditURL, setImageUrl, setLinkInfo, setPhotoPageLink, setSortOn, setTitle
-
-
-
-
Constructor Detail
-
URLSharedContent
public URLSharedContent(String id, Collection<ComponentBean> content) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getRemoteImageUrl
public String getRemoteImageUrl()
-
setRemoteImageUrl
public void setRemoteImageUrl(String remoteImageUrl)
-
getImageURL
public String getImageURL()
- Overrides:
getImageURL
in classSharedContent
-
loadContent
public void loadContent(ContentContext ctx)
Description copied from class:SharedContent
load content if remote, do nothing if local.- Overrides:
loadContent
in classSharedContent
-
-