Class FilterUtils
java.lang.Object
com.collabnet.ce.soap60.webservices.FilterUtils
Utilities for filter processing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFilterValue
(SoapFilter[] filters, String filterName) Returns the value for the specified filterstatic Date
processDateString
(String filterValue) Process a string that was passed in to represent a date.
-
Constructor Details
-
FilterUtils
public FilterUtils()
-
-
Method Details
-
getFilterValue
Returns the value for the specified filter- Parameters:
filters
- Array of filters.filterName
- Filter for which value is sought.- Returns:
- Filter value.
-
processDateString
Process a string that was passed in to represent a date.- Parameters:
filterValue
- The string representation of the date. This could be a milliseconds since 1970 or a properly formatted date string.- Returns:
- The date represented by the filter.
- Throws:
InvalidFilterFault
-