|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jickr.PhotoSearch
public class PhotoSearch
Class used for complex searches on Photo objects. This class should
be populated with search terms, and then passed to
Photo.search(PhotoSearch)
.
Photo.search(PhotoSearch)
Nested Class Summary | |
---|---|
static class |
PhotoSearch.Privacy
Privacy value associated with an object on Flickr. |
static class |
PhotoSearch.Sort
The order to sort returned Photos for a PhotoSearch. |
static class |
PhotoSearch.Tagmode
The join mode for multitag searches. |
Constructor Summary | |
---|---|
PhotoSearch()
Creates a new instance of PhotoSearch |
Method Summary | |
---|---|
java.util.List<License> |
getLicenses()
Get the list of licenses to use in the search. |
java.util.Date |
getMaxTaken()
Get the maximum date taken for the search. |
java.util.Date |
getMaxUpload()
Get the maximum upload date for the search. |
java.util.Date |
getMinTaken()
Get the minimum date taken for the search. |
java.util.Date |
getMinUpload()
Get the minimum upload date for the search. |
PhotoSearch.Privacy |
getPrivacy()
Get the privacy level for the search. |
java.lang.String |
getSearchText()
Get the text search string. |
PhotoSearch.Sort |
getSort()
Get the sort order for Photos returned by the search. |
PhotoSearch.Tagmode |
getTagMode()
Get the join mode for multi-tag searches. |
java.lang.String |
getTags()
Get the comma separated list of tags to search for. |
User |
getUser()
Get the user in the search term. |
void |
setLicenses(java.util.List<License> licenses)
Set the list of licenses to use in the search. |
void |
setMaxTaken(java.util.Date maxTaken)
Set the maximum date taken for the search. |
void |
setMaxUpload(java.util.Date maxUpload)
Set the maximum upload date for the search. |
void |
setMinTaken(java.util.Date minTaken)
Set the minimum date taken for the search. |
void |
setMinUpload(java.util.Date minUpload)
Set the minimum upload date for the search. |
void |
setPrivacy(PhotoSearch.Privacy privacy)
Set the privacy level for the search. |
void |
setSearchText(java.lang.String searchText)
Full text search string. |
void |
setSort(PhotoSearch.Sort sort)
Set the sort order for Photos returned by the search. |
void |
setTagMode(PhotoSearch.Tagmode tagmode)
Set the join mode for multi-tag searches. |
void |
setTags(java.lang.String tags)
Search for Photos with the following tags. |
void |
setUser(User user)
Search for Photos owned by the specified user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhotoSearch()
Method Detail |
---|
public void setUser(User user)
user
- The user to search for. Null to search for all users.public User getUser()
public void setTags(java.lang.String tags)
tags
- Comma separated list of tags. Null to search for all.public java.lang.String getTags()
public void setTagMode(PhotoSearch.Tagmode tagmode)
tagmode
- Join mode for multi-tag searches.public PhotoSearch.Tagmode getTagMode()
public void setSearchText(java.lang.String searchText)
searchText
- The string to use to search Flickr.public java.lang.String getSearchText()
public void setPrivacy(PhotoSearch.Privacy privacy)
privacy
- Privacy level.public PhotoSearch.Privacy getPrivacy()
public void setSort(PhotoSearch.Sort sort)
sort
- Sort orderpublic PhotoSearch.Sort getSort()
public void setMinUpload(java.util.Date minUpload)
minUpload
- The date which is the minimum value for an upload date on Flickr.public java.util.Date getMinUpload()
public void setMaxUpload(java.util.Date maxUpload)
maxUpload
- The maximum upload date for each Photo returned.public java.util.Date getMaxUpload()
public void setMinTaken(java.util.Date minTaken)
minTaken
- The minimum date taken for each Photo returned.public java.util.Date getMinTaken()
public void setMaxTaken(java.util.Date maxTaken)
maxTaken
- The maximum date taken for each Photo returned.public java.util.Date getMaxTaken()
public void setLicenses(java.util.List<License> licenses)
licenses
- The list of licenses that the Photos should have.License.getLicenses()
public java.util.List<License> getLicenses()
License.getLicenses()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |