public class CustomMetaDateRangeCriteria extends MetadataRangeCriteria
EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL| Constructor and Description |
|---|
CustomMetaDateRangeCriteria(Date beginRange,
Date endRange)
This constructs the date range criteria for any date metadata field within a begin date range and end date range.
|
CustomMetaDateRangeCriteria(Date beginRange,
Date endRange,
boolean rangeIncluded)
This constructs the date range criteria for any field containing a date with a begin and end date.
|
CustomMetaDateRangeCriteria(String metaFieldName,
Date beginRange,
Date endRange)
This constructs the date range criteria for a specific field with a begin and end date.
|
CustomMetaDateRangeCriteria(String metaFieldName,
Date beginRange,
Date endRange,
boolean rangeIncluded)
This constructs the date range criteria for a specific field with a begin and end date.
|
CustomMetaDateRangeCriteria(String beginRange,
String endRange)
This constructs the date range criteria for any date metadata field within a begin date range and end date range.
|
CustomMetaDateRangeCriteria(String beginRange,
String endRange,
boolean rangeIncluded)
This constructs the date range criteria for any field containing a date with a begin and end date.
|
CustomMetaDateRangeCriteria(String dateFormat,
String beginRange,
String endRange)
This constructs the date range criteria for any date metadata field within a begin date range and end date range.
|
CustomMetaDateRangeCriteria(String metaFieldName,
String beginRange,
String endRange,
boolean rangeIncluded)
This constructs the date range criteria for a specific field with a begin and end date.
|
CustomMetaDateRangeCriteria(String metaFieldName,
String dateFormat,
String beginRange,
String endRange,
boolean rangeIncluded)
This constructs the date range criteria for a specific field with a begin and end date.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getBeginRange()
returns the Beginning of the Range.
|
Date |
getEndRange()
Returns the End of the Range.
|
getMetadataKey, getMetadataType, getSignature, isRangeIncluded, toStringaddCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, hasAnyCriteria, isLikeOperatorApplicable, isOperator, setParentOperatorpublic CustomMetaDateRangeCriteria(String metaFieldName, Date beginRange, Date endRange, boolean rangeIncluded)
metaFieldName - The metadata field to query onbeginRange - The begin of the date rangeendRange - The end of the date rangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notpublic CustomMetaDateRangeCriteria(String metaFieldName, String beginRange, String endRange, boolean rangeIncluded) throws CriteriaException
metaFieldName - The metadata field to query onbeginRange - The begin of the date rangeendRange - The end of the date rangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notCriteriaException - if the sent beginRange or endRange cannot be parsed with the default dateFormat.public CustomMetaDateRangeCriteria(String metaFieldName, String dateFormat, String beginRange, String endRange, boolean rangeIncluded) throws CriteriaException
metaFieldName - The metadata field to query ondateFormat - The format in which the dates are specified.beginRange - The begin of the date rangeendRange - The end of the date rangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notCriteriaException - if the sent beginRange or endRange cannot be parsed with the given dateFormat.public CustomMetaDateRangeCriteria(String metaFieldName, Date beginRange, Date endRange)
metaFieldName - The metadata field to query onbeginRange - The begin of the date rangeendRange - The end of the date rangepublic CustomMetaDateRangeCriteria(Date beginRange, Date endRange, boolean rangeIncluded)
beginRange - The begin of the date rangeendRange - The end of the date rangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notpublic CustomMetaDateRangeCriteria(String beginRange, String endRange, boolean rangeIncluded) throws CriteriaException
beginRange - The begin of the date rangeendRange - The end of the date rangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notCriteriaException - if the sent beginRange or endRange cannot be parsed with the default dateFormat.public CustomMetaDateRangeCriteria(Date beginRange, Date endRange)
beginRange - The begin of the date rangeendRange - The end of the date rangepublic CustomMetaDateRangeCriteria(String beginRange, String endRange) throws CriteriaException
beginRange - The begin of the date rangeendRange - The end of the date rangeCriteriaException - if the sent beginRange or endRange cannot be parsed with the default dateFormat.public CustomMetaDateRangeCriteria(String dateFormat, String beginRange, String endRange) throws CriteriaException
beginRange - The begin of the date rangeendRange - The end of the date rangeCriteriaException - if the sent beginRange or endRange cannot be parsed with the given dateFormat.public Date getBeginRange()
getBeginRange in class MetadataRangeCriteriapublic Date getEndRange()
getEndRange in class MetadataRangeCriteriaCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries