org.openmdx.security.authentication1.cci
Interface AuthenticationContextFilter

All Superinterfaces:
AuthenticationContextFilter, BasicObjectFilter, ContextCapableFilter, ExtentCapableFilter, RefFilter_1_0, Serializable, ViewCapableFilter

public interface AuthenticationContextFilter
extends BasicObjectFilter, AuthenticationContextFilter

A AuthenticationContextFilter selects a set of instances of class AuthenticationContext based on conditions to be met by their attributes. For each attribute there can be set at most one constraint using either its thereExists or forAll clause. An instance must meet all constraints to be member of this set.


Method Summary
 void forAllCompletion(short operator, Collection filterValues)
          Adds a constraint for the attribute completion to the filter.
 void forAllCompletion(short operator, short[] filterValues)
          Adds a constraint for the attribute completion to the filter.
 void orderByCompletion(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsCompletion(short operator, Collection filterValues)
          Adds a constraint for the attribute completion to the filter.
 void thereExistsCompletion(short operator, short[] filterValues)
          Adds a constraint for the attribute completion to the filter.
 
Methods inherited from interface org.openmdx.base.cci.BasicObjectFilter
forAllCreatedAt, forAllCreatedAt, forAllCreatedBy, forAllCreatedBy, forAllModifiedAt, forAllModifiedAt, forAllModifiedBy, forAllModifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedAt, thereExistsCreatedAt, thereExistsCreatedBy, thereExistsCreatedBy, thereExistsModifiedAt, thereExistsModifiedAt, thereExistsModifiedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapableFilter
forAllContext, forAllContext, thereExistsContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapableFilter
forAllIdentity, forAllIdentity, orderByIdentity, thereExistsIdentity, thereExistsIdentity
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.openmdx.security.realm1.cci.AuthenticationContextFilter
forAllRealm, forAllRealm, forAllSubject, forAllSubject, thereExistsRealm, thereExistsRealm, thereExistsSubject, thereExistsSubject
 

Method Detail

forAllCompletion

void forAllCompletion(short operator,
                      short[] filterValues)
Adds a constraint for the attribute completion to the filter. An instance of class AuthenticationContext is excluded from the result set unless its value of attribute completion satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!

You can set at most one thereExistsCompletion or forAllCompletion constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute completion to be compared to.
See Also:
FilterOperators

thereExistsCompletion

void thereExistsCompletion(short operator,
                           short[] filterValues)
Adds a constraint for the attribute completion to the filter. An instance of class AuthenticationContext is excluded from the result set unless its value of attribute completion satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!

You can set at most one thereExistsCompletion or forAllCompletion constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute completion to be compared to.
See Also:
FilterOperators

forAllCompletion

void forAllCompletion(short operator,
                      Collection filterValues)
Adds a constraint for the attribute completion to the filter. An instance of class AuthenticationContext is excluded from the result set unless its value of attribute completion satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is met!

You can set at most one thereExistsCompletion or forAllCompletion constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute completion to be compared to.
See Also:
FilterOperators

thereExistsCompletion

void thereExistsCompletion(short operator,
                           Collection filterValues)
Adds a constraint for the attribute completion to the filter. An instance of class AuthenticationContext is excluded from the result set unless its value of attribute completion satisfies the given condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the filter condition is not met!

You can set at most one thereExistsCompletion or forAllCompletion constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute completion to be compared to.
See Also:
FilterOperators

orderByCompletion

void orderByCompletion(short order)
Specifies the sort order of all the instances that match the filter criteria.

Parameters:
order - The sort order for this filter.
See Also:
Directions


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.