com.wewebu.ow.server.field.filter
Interface OwComparator<T>

All Known Implementing Classes:
OwAbstractComparator, OwBoolComparator, OwDateComparator, OwNumberComparator, OwStringComparator

public interface OwComparator<T>

Compare Interface for filtering. Simple filter action where a OwSearchCriteria is representing the filter specification.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.2.0.0

Method Summary
 boolean match(OwSearchCriteria filter, T value)
          Matching check, where the filter specifies the criteria value and operation to be used for filtering.
 

Method Detail

match

boolean match(OwSearchCriteria filter,
              T value)
Matching check, where the filter specifies the criteria value and operation to be used for filtering.

Parameters:
filter - OwSearchCriteria
value - T to verify against filter
Returns:
true only if value is matching the filter, else false


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.