Class FotogrphSharedContentProvider
- java.lang.Object
-
- org.javlo.service.shared.AbstractSharedContentProvider
-
- org.javlo.service.shared.fotogrph.FotogrphSharedContentProvider
-
- All Implemented Interfaces:
ISharedContentProvider
public class FotogrphSharedContentProvider 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 FotogrphSharedContentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCategoriesSize(ContentContext ctx)
Collection<SharedContent>
getContent(ContentContext ctx)
int
getContentSize(ContentContext ctx)
String
getType()
void
refresh(ContentContext ctx)
refresh the content list and the list of categories-
Methods inherited from class org.javlo.service.shared.AbstractSharedContentProvider
exist, getCategories, getContent, getFolder, getLabel, getName, getURL, isCategoryAccepted, isCategoryAccepted, isEmpty, isLarge, isSearch, isUploadable, searchContent, setCategories, setName, setURL, upload
-
-
-
-
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
-
getContentSize
public int getContentSize(ContentContext ctx)
- Specified by:
getContentSize
in interfaceISharedContentProvider
- Overrides:
getContentSize
in classAbstractSharedContentProvider
-
getCategoriesSize
public int getCategoriesSize(ContentContext ctx)
- Specified by:
getCategoriesSize
in interfaceISharedContentProvider
- Overrides:
getCategoriesSize
in classAbstractSharedContentProvider
-
-