org.openmdx.security.authorization1.cci
Interface PolicyFilter

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

public interface PolicyFilter
extends BasicObjectFilter, PolicyFilter

A PolicyFilter selects a set of instances of class Policy 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 forAllParent(short operator, Collection filterValues)
          Adds a constraint for the attribute parent to the filter.
 void forAllParent(short operator, Policy[] filterValues)
          Adds a constraint for the attribute parent to the filter.
 void thereExistsParent(short operator, Collection filterValues)
          Adds a constraint for the attribute parent to the filter.
 void thereExistsParent(short operator, Policy[] filterValues)
          Adds a constraint for the attribute parent 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.PolicyFilter
forAllDescription, forAllDescription, forAllName, forAllName, orderByDescription, orderByName, thereExistsDescription, thereExistsDescription, thereExistsName, thereExistsName
 

Method Detail

forAllParent

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

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

thereExistsParent

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

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

forAllParent

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

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

thereExistsParent

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

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


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