org.alfresco.cmis
Class PropertyFilter

java.lang.Object
  extended by org.alfresco.cmis.PropertyFilter

public class PropertyFilter
extends java.lang.Object

Property filter supporting CMIS filter expression


Field Summary
static java.lang.String MATCH_ALL_FILTER
           
static java.lang.String PROPERTY_NAME_TOKENS_DELIMITER
           
 
Constructor Summary
PropertyFilter(java.lang.String filter)
           
 
Method Summary
 boolean allow(java.lang.String property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MATCH_ALL_FILTER

public static final java.lang.String MATCH_ALL_FILTER
See Also:
Constant Field Values

PROPERTY_NAME_TOKENS_DELIMITER

public static final java.lang.String PROPERTY_NAME_TOKENS_DELIMITER
See Also:
Constant Field Values
Constructor Detail

PropertyFilter

public PropertyFilter(java.lang.String filter)
               throws CMISFilterNotValidException
Parameters:
filter - filter value (case insensitive)
Throws:
FilterNotValidException - if filter string isn't valid
CMISFilterNotValidException
Method Detail

allow

public boolean allow(java.lang.String property)
Parameters:
property - property token name
Returns:
true returns if property is allowed by filter. In other case returns false


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.