GigaSpaces XAP 8.0 API

com.gigaspaces.security.authorities
Interface SpaceAuthority.Filter<T>

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

public static interface SpaceAuthority.Filter<T>
extends Serializable

interface for data access filtering.


Method Summary
 boolean accept(T other)
          Tests whether or not the object 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(T other)
Tests whether or not the object is acceptable.

Parameters:
other - an object to accept.
Returns:
true if and only if the filter accepts the the given string; false otherwise.

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.