org.shredzone.repowatch.repository
Class SearchDTO
java.lang.Object
org.shredzone.repowatch.repository.SearchDTO
- All Implemented Interfaces:
- Serializable
public class SearchDTO
- extends Object
- implements Serializable
A Data Transport Object for search parameters.
- Version:
- $Revision: 317 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchDTO
public SearchDTO()
getPage
public int getPage()
- Gets the page currently shown in the search result.
- Returns:
- Page number
setPage
public void setPage(int page)
getTerm
public String getTerm()
- Gets the search term.
- Returns:
- Search term
setTerm
public void setTerm(String term)
isDescriptions
public boolean isDescriptions()
- Checks if the summary and description are to be searched as well.
- Returns:
- true: also search in summary and description
setDescriptions
public void setDescriptions(boolean desc)
getDomainOnly
public Domain getDomainOnly()
- Limits the search to the given
Domain. If null,
all domains will be searched.
- Returns:
Domain to limit the search to
setDomainOnly
public void setDomainOnly(Domain dom)
Copyright © 2007-2011
shredzone.org. All Rights Reserved.