magoffin.matt.ma2.lucene
Class MediaItemLuceneSearchCriteria
java.lang.Object
magoffin.matt.ma2.lucene.MediaItemLuceneSearchCriteria
- All Implemented Interfaces:
- magoffin.matt.lucene.SearchCriteria
public class MediaItemLuceneSearchCriteria
- extends java.lang.Object
- implements magoffin.matt.lucene.SearchCriteria
Lucene search criteria for media items.
- Version:
- $Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
- Author:
- Matt Magoffin (spamsqr@msqr.us)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaItemLuceneSearchCriteria
public MediaItemLuceneSearchCriteria(SearchBiz.MediaItemSearchCriteria mediaItemCriteria)
- Construct with a MediaItemSearchCriteria.
- Parameters:
mediaItemCriteria
- the criteria
MediaItemLuceneSearchCriteria
public MediaItemLuceneSearchCriteria(SearchBiz.MediaItemSearchCriteria mediaItemCriteria,
PaginationCriteria pagination)
- Construct with a MediaItemSearchCriteria and pagination.
- Parameters:
mediaItemCriteria
- the criteriapagination
- the pagination
getMaxResults
public int getMaxResults()
- Specified by:
getMaxResults
in interface magoffin.matt.lucene.SearchCriteria
- Returns:
- the maxResults
setMaxResults
public void setMaxResults(int maxResults)
- Parameters:
maxResults
- the maxResults to set
getMediaItemCriteria
public SearchBiz.MediaItemSearchCriteria getMediaItemCriteria()
- Returns:
- the mediaItemCriteria
setMediaItemCriteria
public void setMediaItemCriteria(SearchBiz.MediaItemSearchCriteria mediaItemCriteria)
- Parameters:
mediaItemCriteria
- the mediaItemCriteria to set
getPage
public int getPage()
- Specified by:
getPage
in interface magoffin.matt.lucene.SearchCriteria
- Returns:
- the page
setPage
public void setPage(int page)
- Parameters:
page
- the page to set
getPageSize
public int getPageSize()
- Specified by:
getPageSize
in interface magoffin.matt.lucene.SearchCriteria
- Returns:
- the pageSize
setPageSize
public void setPageSize(int pageSize)
- Parameters:
pageSize
- the pageSize to set
isCountOnly
public boolean isCountOnly()
- Specified by:
isCountOnly
in interface magoffin.matt.lucene.SearchCriteria
- Returns:
- the countOnly
setCountOnly
public void setCountOnly(boolean countOnly)
- Parameters:
countOnly
- the countOnly to set