# Uses of Class
org.silverpeas.components.gallery.model.MediaOrderCriteria

Packages that use MediaOrderCriteria
Package
Description
org.silverpeas.components.gallery.dao
org.silverpeas.components.gallery.model

- ## Uses of MediaOrderCriteria in org.silverpeas.components.gallery.dao

  Methods in org.silverpeas.components.gallery.dao with parameters of type MediaOrderCriteria
  Modifier and Type
  Method
  Description
  `static List<Order>`
  OrderDAO.`findByCriteria(MediaOrderCriteria criteria)`
  Finds orders from the specified criteria.
  `static Order`
  OrderDAO.`getByCriteria(MediaOrderCriteria criteria)`
  Gets a unique result.

- ## Uses of MediaOrderCriteria in org.silverpeas.components.gallery.model

  Methods in org.silverpeas.components.gallery.model that return MediaOrderCriteria
  Modifier and Type
  Method
  Description
  `static MediaOrderCriteria`
  MediaOrderCriteria.`fromComponentInstanceId(String componentInstanceId)`
  Initializes order search criteria axed on the given order component instance id.
  `static MediaOrderCriteria`
  MediaOrderCriteria.`fromNbDaysAfterThatDeleteAnOrder(int nbDays)`
  Initializes order search criteria axed on the given order identifier.
  `MediaOrderCriteria`
  MediaOrderCriteria.`identifierIsOneOf(String... identifiers)`
  Sets the identifiers criterion to find the orders with an identifier equals to one of the specified ones.
  `MediaOrderCriteria`
  MediaOrderCriteria.`referenceDateOf(Date referenceDate)`
  Sets the reference date criterion (the date of the day by default).
  `MediaOrderCriteria`
  MediaOrderCriteria.`withOrdererId(String ordererId)`
  Sets the orderer identifier.