Package org.javlo.service.shared.url
Class URLImageSharedContentProvider
- java.lang.Object
-
- org.javlo.service.shared.AbstractSharedContentProvider
-
- org.javlo.service.shared.url.URLImageSharedContentProvider
-
- All Implemented Interfaces:
ISharedContentProvider
public class URLImageSharedContentProvider extends AbstractSharedContentProvider
-
-
Field Summary
-
Fields inherited from class org.javlo.service.shared.AbstractSharedContentProvider
categories, name, url
-
Fields inherited from interface org.javlo.service.shared.ISharedContentProvider
TYPE_DEFAULT, TYPE_IMAGE, TYPE_MULTIMEDIA, TYPE_TEXT
-
-
Constructor Summary
Constructors Constructor Description URLImageSharedContentProvider(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SharedContent>
getContent(ContentContext ctx)
String
getType()
boolean
isSearch()
return true if search is possible.void
refresh(ContentContext ctx)
refresh the content list and the list of categories-
Methods inherited from class org.javlo.service.shared.AbstractSharedContentProvider
exist, getCategories, getCategoriesSize, getContent, getContentSize, getFolder, getLabel, getName, getURL, isCategoryAccepted, isCategoryAccepted, isEmpty, isLarge, isUploadable, searchContent, setCategories, setName, setURL, upload
-
-
-
-
Constructor Detail
-
URLImageSharedContentProvider
public URLImageSharedContentProvider(URL url)
-
-
Method Detail
-
refresh
public void refresh(ContentContext ctx)
Description copied from interface:ISharedContentProvider
refresh the content list and the list of categories- Specified by:
refresh
in interfaceISharedContentProvider
- Overrides:
refresh
in classAbstractSharedContentProvider
-
getContent
public Collection<SharedContent> getContent(ContentContext ctx)
- Specified by:
getContent
in interfaceISharedContentProvider
- Specified by:
getContent
in classAbstractSharedContentProvider
-
getType
public String getType()
- Specified by:
getType
in interfaceISharedContentProvider
- Overrides:
getType
in classAbstractSharedContentProvider
-
isSearch
public boolean isSearch()
Description copied from interface:ISharedContentProvider
return true if search is possible.- Specified by:
isSearch
in interfaceISharedContentProvider
- Overrides:
isSearch
in classAbstractSharedContentProvider
- Returns:
-
-