GigaSpaces XAP 7.0 API

com.gigaspaces.security.authorities
Interface SpaceAuthority.Filter

All Superinterfaces:
Serializable
All Known Subinterfaces:
SpaceAuthority.NegateFilter
All Known Implementing Classes:
SpaceAuthority.ClassFilter, SpaceAuthority.NegateClassFilter, SpaceAuthority.NegatePackageFilter, SpaceAuthority.NegateRegexFilter, SpaceAuthority.PackageFilter, SpaceAuthority.RegexFilter
Enclosing class:
SpaceAuthority

public static interface SpaceAuthority.Filter
extends Serializable

interface for data access filtering.


Method Summary
 boolean accept(Object other)
          Tests whether or not the object is acceptable.
 boolean accept(String other)
          Tests whether or not the string is acceptable.
 String getExpression()
          The wildcard expression representing this filter.
 

Method Detail

getExpression

String getExpression()
The wildcard expression representing this filter.

Returns:
wildcard expression.

accept

boolean accept(String other)
Tests whether or not the string is acceptable.

Parameters:
other - a string as used to construct the filter.
Returns:
true if and only if the filter accepts the the given string; false otherwise.

accept

boolean accept(Object other)
Tests whether or not the object is acceptable.

Parameters:
other - an object to accept, possibly holding extra acceptance info.
Returns:
true if and only if the filter accepts the the given input; false otherwise.

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.