Class StockvaultSharedContentProvider
- java.lang.Object
-
- org.javlo.service.shared.AbstractSharedContentProvider
-
- org.javlo.service.shared.stockvault.StockvaultSharedContentProvider
-
- All Implemented Interfaces:
ISharedContentProvider
public class StockvaultSharedContentProvider 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 StockvaultSharedContentProvider()
-
Method Summary
All Methods Static 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()
boolean
isLarge()
static void
main(String[] args)
void
refresh(ContentContext ctx)
refresh the content list and the list of categoriesCollection<SharedContent>
searchContent(ContentContext ctx, String query)
-
Methods inherited from class org.javlo.service.shared.AbstractSharedContentProvider
exist, getCategories, getContent, getFolder, getLabel, getName, getURL, isCategoryAccepted, isCategoryAccepted, isEmpty, isSearch, isUploadable, 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
-
searchContent
public Collection<SharedContent> searchContent(ContentContext ctx, String query)
- Specified by:
searchContent
in interfaceISharedContentProvider
- Overrides:
searchContent
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
-
main
public static void main(String[] args) throws MalformedURLException, Exception
- Throws:
MalformedURLException
Exception
-
isLarge
public boolean isLarge()
- Specified by:
isLarge
in interfaceISharedContentProvider
- Overrides:
isLarge
in classAbstractSharedContentProvider
-
-