All Methods Instance Methods Abstract Methods Concrete Methods
Modifier and Type |
Method and Description |
Map<String,String> |
getCategories(ContentContext ctx) |
int |
getCategoriesSize(ContentContext ctx) |
abstract Collection<SharedContent> |
getContent(ContentContext ctx) |
Collection<SharedContent> |
getContent(ContentContext ctx,
Collection<String> categories) |
int |
getContentSize(ContentContext ctx) |
String |
getLabel(Locale locale) |
String |
getName() |
String |
getType() |
URL |
getURL()
get the url of the provider.
|
protected boolean |
isCategoryAccepted(ContentContext ctx,
Collection<String> categories,
MenuElement cp,
Template template) |
protected boolean |
isCategoryAccepted(ContentContext ctx,
String category,
MenuElement cp,
Template template) |
boolean |
isEmpty(ContentContext ctx)
return true if provider have no content.
|
boolean |
isLarge() |
boolean |
isSearch()
return true if search is possible.
|
boolean |
isUploadable(ContentContext ctx) |
void |
refresh(ContentContext ctx)
refresh the content list and the list of categories
|
Collection<SharedContent> |
searchContent(ContentContext ctx,
String query) |
void |
setCategories(Map<String,String> categories) |
void |
setName(String name) |
void |
setURL(URL url) |
void |
upload(ContentContext ctx,
String fileName,
InputStream in,
String category,
boolean rename) |