| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BrowseModePlugin
Plugin API for browse-mode types.
A "browse mode" is a mode of browsing all shared albums or items of a single user. It implements some query that can geneate a browse search results object.
| Method Summary | |
|---|---|
|  SearchResults | find(BrowseAlbumsCommand command,
     PaginationCriteria pagination)Perform the search, returning SearchResultspopulated withAlbumSearchResultobjects. | 
|  java.lang.String[] | getSupportedModes()Get the supported modes of this plugin. | 
|  boolean | supportsMode(java.lang.String mode)Test if this plugin supports a given browse mode. | 
| Methods inherited from interface magoffin.matt.ma2.plugin.Plugin | 
|---|
| getMessageResourceNames, getPluginType, initialize | 
| Method Detail | 
|---|
boolean supportsMode(java.lang.String mode)
mode - the mode to test
SearchResults find(BrowseAlbumsCommand command,
                   PaginationCriteria pagination)
SearchResults populated with
 AlbumSearchResult objects.
command - the browse commandpagination - the pagination criteria
java.lang.String[] getSupportedModes()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||