| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MediaCriteria | |
|---|---|
| com.silverpeas.gallery.dao | |
| com.silverpeas.gallery.model | |
| Uses of MediaCriteria in com.silverpeas.gallery.dao | 
|---|
| Methods in com.silverpeas.gallery.dao with parameters of type MediaCriteria | |
|---|---|
static List<Media> | 
MediaDAO.findByCriteria(Connection con,
               MediaCriteria criteria)
Finds media according to the given criteria.  | 
static Media | 
MediaDAO.getByCriteria(Connection con,
              MediaCriteria criteria)
Gets the media behind the specified criteria.  | 
| Uses of MediaCriteria in com.silverpeas.gallery.model | 
|---|
| Methods in com.silverpeas.gallery.model that return MediaCriteria | |
|---|---|
 MediaCriteria | 
MediaCriteria.albumIdentifierIsOneOf(String... albumIds)
Sets the list of media album identifiers criterion to find media which are attached to one of the given ones.  | 
 MediaCriteria | 
MediaCriteria.createdBy(com.stratelia.webactiv.beans.admin.UserDetail user)
Sets the creator criterion to find media created by the given user.  | 
static MediaCriteria | 
MediaCriteria.fromComponentInstanceId(String componentInstanceId)
Initializes media search criteria axed on the given media component instance id.  | 
static MediaCriteria | 
MediaCriteria.fromMediaId(String mediaId)
Initializes media search criteria axed on the given media identifier.  | 
static MediaCriteria | 
MediaCriteria.fromNbDaysBeforeThatMediaIsNotVisible(Integer nbDaysBeforeThatMediaIsNotVisible)
Initializes media search criteria axed on the given nb of days before that a media is not visible.  | 
 MediaCriteria | 
MediaCriteria.identifierIsOneOf(String... identifiers)
Sets the identifiers criterion to find the medias with an identifier equals to one of the specified ones.  | 
 MediaCriteria | 
MediaCriteria.limitResultTo(int nbMedia)
Limit the number of results.  | 
 MediaCriteria | 
MediaCriteria.mediaTypeIsOneOf(MediaType... mediaTypes)
Sets the list of media type criterion to find media which have their type equals to one of the given ones.  | 
 MediaCriteria | 
MediaCriteria.onComponentInstanceId(String componentInstanceId)
Sets the criterion of the identifier of the component instance the media must be attached.  | 
 MediaCriteria | 
MediaCriteria.orderedBy(MediaCriteria.QUERY_ORDER_BY... orderBies)
Configures the order of the media list.  | 
 MediaCriteria | 
MediaCriteria.referenceDateOf(Date referenceDate)
Sets the reference date criterion (the date of the day by default).  | 
 MediaCriteria | 
MediaCriteria.setRequester(com.stratelia.webactiv.beans.admin.UserDetail requester)
Sets the requester.  | 
 MediaCriteria | 
MediaCriteria.withVisibility(MediaCriteria.VISIBILITY visibility)
Sets the visibility criterion to find the medias according to their period of visibility.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||