|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.gallery.model.MediaOrderCriteria
public class MediaOrderCriteria
Class that permits to set order search criteria for order application.
Method Summary | |
---|---|
static MediaOrderCriteria |
fromComponentInstanceId(String componentInstanceId)
Initializes order search criteria axed on the given order component instance id. |
static MediaOrderCriteria |
fromNbDaysAfterThatDeleteAnOrder(int nbDays)
Initializes order search criteria axed on the given order identifier. |
String |
getComponentInstanceId()
Gets the indetifier of order instance. |
MediaOrderCriteria |
identifierIsOneOf(String... identifiers)
Sets the identifiers criterion to find the orders with an identifier equals to one of the specified ones. |
void |
processWith(MediaOrderCriteriaProcessor processor)
Processes this criteria with the specified processor. |
MediaOrderCriteria |
referenceDateOf(Date referenceDate)
Sets the reference date criterion (the date of the day by default). |
MediaOrderCriteria |
withOrdererId(String ordererId)
Sets the orderer identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MediaOrderCriteria fromComponentInstanceId(String componentInstanceId)
componentInstanceId
- the identifier of the component instance.
public static MediaOrderCriteria fromNbDaysAfterThatDeleteAnOrder(int nbDays)
public MediaOrderCriteria withOrdererId(String ordererId)
ordererId
- the orderer identifier.
public MediaOrderCriteria identifierIsOneOf(String... identifiers)
identifiers
- a list of identifiers the orders to find should have.
public MediaOrderCriteria referenceDateOf(Date referenceDate)
referenceDate
- the reference date specified.
public String getComponentInstanceId()
fromComponentInstanceId(String)
public void processWith(MediaOrderCriteriaProcessor processor)
processor
- the processor to use for processing each criterion in this criteria.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |