magoffin.matt.ma2.biz
Interface SearchBiz.MediaItemSearchCriteria

All Known Implementing Classes:
BasicMediaItemSearchCriteria, MediaSearchCommand
Enclosing interface:
SearchBiz

public static interface SearchBiz.MediaItemSearchCriteria

Search criteria for MediaItem searches.


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.
 

Method Detail

getQuickSearch

java.lang.String getQuickSearch()
Get a quick search query.

Returns:
the quick search

getStartDate

java.util.Calendar getStartDate()
Get a minimum date.

Returns:
date

getEndDate

java.util.Calendar getEndDate()
Get a maximum date.

Returns:
date

getMediaItemTemplate

MediaItem getMediaItemTemplate()
Get a search object template.

Returns:
the template

isCountOnly

boolean isCountOnly()
If true then return only the count of matches, but not the matches themselves.

Returns:
boolean

getUserId

java.lang.Long getUserId()
Limit the results to those owned by the given user ID.

Returns:
the owner user ID

getUserAnonymousKey

java.lang.String getUserAnonymousKey()
Limit the results to those owned by the given user's anonymous key.

Returns:
the owner anonymous key

isSharedOnly

boolean isSharedOnly()
If true then limit results to only those that are part of shared albums.

Returns:
boolean