magoffin.matt.ma2.biz
Interface SearchBiz

All Known Implementing Classes:
AbstractSearchBiz, LuceneBiz

public interface SearchBiz

API for search actions.

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
matt.magoffin

Nested Class Summary
static interface SearchBiz.AlbumSearchCriteria
          Search criteria for albums.
static interface SearchBiz.MediaItemSearchCriteria
          Search criteria for MediaItem searches.
 
Method Summary
 SearchResults findAlbums(SearchBiz.AlbumSearchCriteria criteria, PaginationCriteria pagination, BizContext context)
          Search for albums.
 SearchResults findAlbumsForBrowsing(BrowseAlbumsCommand command, PaginationCriteria pagination, BizContext context)
          Search for shared albums for browsing.
 SearchResults findMediaItems(SearchBiz.MediaItemSearchCriteria criteria, PaginationCriteria pagination, BizContext context)
          Search for media items.
 SearchResults findUsersForIndex(PaginationCriteria pagination, BizContext context)
          Get an index of UserSearchResult objects.
 

Method Detail

findUsersForIndex

SearchResults findUsersForIndex(PaginationCriteria pagination,
                                BizContext context)
Get an index of UserSearchResult objects.

Parameters:
pagination - the index pagination criteria
context - the current context
Returns:
search results with the pagination index and user results

findMediaItems

SearchResults findMediaItems(SearchBiz.MediaItemSearchCriteria criteria,
                             PaginationCriteria pagination,
                             BizContext context)
Search for media items.

Parameters:
criteria - the criteria
pagination - the pagination criteria
context - the current context
Returns:
search results

findAlbums

SearchResults findAlbums(SearchBiz.AlbumSearchCriteria criteria,
                         PaginationCriteria pagination,
                         BizContext context)
Search for albums.

Parameters:
criteria - the criteria
pagination - the pagination criteria
context - the current context
Returns:
search results

findAlbumsForBrowsing

SearchResults findAlbumsForBrowsing(BrowseAlbumsCommand command,
                                    PaginationCriteria pagination,
                                    BizContext context)
Search for shared albums for browsing.

Parameters:
command - the browse criteria
pagination - the pagination criteria
context - the current context
Returns:
search results