|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.ma2.support.BasicMediaItemSearchCriteria
public class BasicMediaItemSearchCriteria
Basic implementation of SearchBiz.MediaItemSearchCriteria
.
Constructor Summary | |
---|---|
BasicMediaItemSearchCriteria()
Default constructor. |
|
BasicMediaItemSearchCriteria(java.lang.String quickSearch)
Construct with a quick search. |
Method Summary | |
---|---|
java.util.Calendar |
getEndDate()
Get a maximum date. |
MediaItem |
getMediaItemTemplate()
Get a search object template. |
java.lang.String |
getQuickSearch()
Get a quick search query. |
java.util.Calendar |
getStartDate()
Get a minimum date. |
java.lang.String |
getUserAnonymousKey()
Limit the results to those owned by the given user's anonymous key. |
java.lang.Long |
getUserId()
Limit the results to those owned by the given user ID. |
boolean |
isCountOnly()
If true then return only the count of matches, but not the matches themselves. |
boolean |
isSharedOnly()
If true then limit results to only those that are part of shared albums. |
void |
setCountOnly(boolean countOnly)
|
void |
setEndDate(java.util.Calendar endDate)
|
void |
setMediaItemTemplate(MediaItem mediaItemTemplate)
|
void |
setQuickSearch(java.lang.String quickSearch)
|
void |
setSharedOnly(boolean sharedOnly)
|
void |
setStartDate(java.util.Calendar startDate)
|
void |
setUserAnonymousKey(java.lang.String userAnonymousKey)
|
void |
setUserId(java.lang.Long userId)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicMediaItemSearchCriteria()
public BasicMediaItemSearchCriteria(java.lang.String quickSearch)
quickSearch
- Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Calendar getEndDate()
SearchBiz.MediaItemSearchCriteria
getEndDate
in interface SearchBiz.MediaItemSearchCriteria
public MediaItem getMediaItemTemplate()
SearchBiz.MediaItemSearchCriteria
getMediaItemTemplate
in interface SearchBiz.MediaItemSearchCriteria
public java.lang.String getQuickSearch()
SearchBiz.MediaItemSearchCriteria
getQuickSearch
in interface SearchBiz.MediaItemSearchCriteria
public java.util.Calendar getStartDate()
SearchBiz.MediaItemSearchCriteria
getStartDate
in interface SearchBiz.MediaItemSearchCriteria
public boolean isCountOnly()
SearchBiz.MediaItemSearchCriteria
isCountOnly
in interface SearchBiz.MediaItemSearchCriteria
public java.lang.Long getUserId()
SearchBiz.MediaItemSearchCriteria
getUserId
in interface SearchBiz.MediaItemSearchCriteria
public boolean isSharedOnly()
SearchBiz.MediaItemSearchCriteria
isSharedOnly
in interface SearchBiz.MediaItemSearchCriteria
public void setEndDate(java.util.Calendar endDate)
endDate
- the endDate to setpublic void setMediaItemTemplate(MediaItem mediaItemTemplate)
mediaItemTemplate
- the mediaItemTemplate to setpublic void setQuickSearch(java.lang.String quickSearch)
quickSearch
- the quickSearch to setpublic void setStartDate(java.util.Calendar startDate)
startDate
- the startDate to setpublic void setCountOnly(boolean countOnly)
countOnly
- the countOnly to setpublic void setSharedOnly(boolean sharedOnly)
sharedOnly
- the sharedOnly to setpublic void setUserId(java.lang.Long userId)
userId
- the userId to setpublic java.lang.String getUserAnonymousKey()
SearchBiz.MediaItemSearchCriteria
getUserAnonymousKey
in interface SearchBiz.MediaItemSearchCriteria
public void setUserAnonymousKey(java.lang.String userAnonymousKey)
userAnonymousKey
- the userAnonymousKey to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |