Package org.javlo.service.shared.pixabay
Class RemoteImageSharedContent
- java.lang.Object
-
- org.javlo.service.shared.SharedContent
-
- org.javlo.service.shared.pixabay.RemoteImageSharedContent
-
public class RemoteImageSharedContent 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 RemoteImageSharedContent(String id, Collection<ComponentBean> content, String folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getImageURL, getLinkInfo, getPhotoPageLink, getSortOn, getTitle, isEditAsModal, setCategories, setDescription, setEditAsModal, setEditURL, setImageUrl, setLinkInfo, setPhotoPageLink, setSortOn, setTitle
-
-
-
-
Constructor Detail
-
RemoteImageSharedContent
public RemoteImageSharedContent(String id, Collection<ComponentBean> content, String folder) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getRemoteImageUrl
public String getRemoteImageUrl()
-
setRemoteImageUrl
public void setRemoteImageUrl(String remoteImageUrl)
-
loadContent
public void loadContent(ContentContext ctx)
Description copied from class:SharedContent
load content if remote, do nothing if local.- Overrides:
loadContent
in classSharedContent
-
-