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(org.silverpeas.core.admin.user.model.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(org.silverpeas.core.admin.user.model.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.
|