org.openmdx.base.cci
Interface RoleCapableFilter

All Superinterfaces:
RefFilter_1_0, Serializable
All Known Implementing Classes:
RoleCapableFilterImpl

public interface RoleCapableFilter
extends RefFilter_1_0

A RoleCapableFilter selects a set of instances of class RoleCapable 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 forAllRole(short operator, Collection filterValues)
          Adds a constraint for the attribute role to the filter.
 void forAllRole(short operator, RoleCapable[] filterValues)
          Adds a constraint for the attribute role to the filter.
 void forAllRoleId(short operator, Collection filterValues)
          Adds a constraint for the attribute roleId to the filter.
 void forAllRoleId(short operator, String[] filterValues)
          Adds a constraint for the attribute roleId to the filter.
 void orderByRoleId(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsRole(short operator, Collection filterValues)
          Adds a constraint for the attribute role to the filter.
 void thereExistsRole(short operator, RoleCapable[] filterValues)
          Adds a constraint for the attribute role to the filter.
 void thereExistsRoleId(short operator, Collection filterValues)
          Adds a constraint for the attribute roleId to the filter.
 void thereExistsRoleId(short operator, String[] filterValues)
          Adds a constraint for the attribute roleId to the filter.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllRole

void forAllRole(short operator,
                RoleCapable[] filterValues)
Adds a constraint for the attribute role to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute role 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 thereExistsRole or forAllRole constraint for this attribute.

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

thereExistsRole

void thereExistsRole(short operator,
                     RoleCapable[] filterValues)
Adds a constraint for the attribute role to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute role 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 thereExistsRole or forAllRole constraint for this attribute.

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

forAllRole

void forAllRole(short operator,
                Collection filterValues)
Adds a constraint for the attribute role to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute role 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 thereExistsRole or forAllRole constraint for this attribute.

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

thereExistsRole

void thereExistsRole(short operator,
                     Collection filterValues)
Adds a constraint for the attribute role to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute role 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 thereExistsRole or forAllRole constraint for this attribute.

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

forAllRoleId

void forAllRoleId(short operator,
                  String[] filterValues)
Adds a constraint for the attribute roleId to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute roleId 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 thereExistsRoleId or forAllRoleId constraint for this attribute.

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

thereExistsRoleId

void thereExistsRoleId(short operator,
                       String[] filterValues)
Adds a constraint for the attribute roleId to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute roleId 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 thereExistsRoleId or forAllRoleId constraint for this attribute.

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

forAllRoleId

void forAllRoleId(short operator,
                  Collection filterValues)
Adds a constraint for the attribute roleId to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute roleId 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 thereExistsRoleId or forAllRoleId constraint for this attribute.

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

thereExistsRoleId

void thereExistsRoleId(short operator,
                       Collection filterValues)
Adds a constraint for the attribute roleId to the filter. An instance of class RoleCapable is excluded from the result set unless its value of attribute roleId 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 thereExistsRoleId or forAllRoleId constraint for this attribute.

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

orderByRoleId

void orderByRoleId(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.