public class StockvaultSharedContentProvider extends AbstractSharedContentProvider
categories, name, url
TYPE_DEFAULT, TYPE_IMAGE, TYPE_MULTIMEDIA, TYPE_TEXT
Constructor and Description |
---|
StockvaultSharedContentProvider() |
Modifier and Type | Method and 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 categories
|
Collection<SharedContent> |
searchContent(ContentContext ctx,
String query) |
getCategories, getContent, getLabel, getName, getURL, isCategoryAccepted, isCategoryAccepted, isEmpty, isSearch, isUploadable, setCategories, setName, setURL, upload
public void refresh(ContentContext ctx)
ISharedContentProvider
refresh
in interface ISharedContentProvider
refresh
in class AbstractSharedContentProvider
public Collection<SharedContent> searchContent(ContentContext ctx, String query)
searchContent
in interface ISharedContentProvider
searchContent
in class AbstractSharedContentProvider
public Collection<SharedContent> getContent(ContentContext ctx)
getContent
in interface ISharedContentProvider
getContent
in class AbstractSharedContentProvider
public String getType()
getType
in interface ISharedContentProvider
getType
in class AbstractSharedContentProvider
public int getContentSize(ContentContext ctx)
getContentSize
in interface ISharedContentProvider
getContentSize
in class AbstractSharedContentProvider
public int getCategoriesSize(ContentContext ctx)
getCategoriesSize
in interface ISharedContentProvider
getCategoriesSize
in class AbstractSharedContentProvider
public static void main(String[] args) throws MalformedURLException, Exception
MalformedURLException
Exception
public boolean isLarge()
isLarge
in interface ISharedContentProvider
isLarge
in class AbstractSharedContentProvider
Copyright © 2012-2018. All Rights Reserved.