Class LoyaltyPointLogGivenDateCriteria
- java.lang.Object
-
- com.inteliqua.rest.customer.controller.search.criteria.point.LoyaltyPointLogGivenDateCriteria
-
- All Implemented Interfaces:
SearchCriteria,LoyaltyPointLogCriteria
public class LoyaltyPointLogGivenDateCriteria extends Object implements LoyaltyPointLogCriteria
- Author:
- nkozirakis
-
-
Constructor Summary
Constructors Constructor Description LoyaltyPointLogGivenDateCriteria()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCriteriaType()Gets the type of criteria for the search.DategetDateFrom()DategetDateUntil()booleanisDateGiven()voidsetDateFrom(Date dateFrom)voidsetDateUntil(Date dateUntil)
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isDateGiven
@AssertTrue(message="At least one of dateFrom, dateUntil must be provided") public boolean isDateGiven()
-
getCriteriaType
public String getCriteriaType()
Description copied from interface:SearchCriteriaGets the type of criteria for the search.This method returns a string identifier for the type of search criteria, which is used during serialization to determine the specific criteria type.
- Specified by:
getCriteriaTypein interfaceSearchCriteria- Returns:
- the criteria type as a
String.
-
getDateFrom
public Date getDateFrom()
-
setDateFrom
public void setDateFrom(Date dateFrom)
-
getDateUntil
public Date getDateUntil()
-
setDateUntil
public void setDateUntil(Date dateUntil)
-
-