org.openmdx.security.realm1.cci
Class PolicyFilterImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
          extended by org.openmdx.security.realm1.cci.PolicyFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, PolicyFilter, PolicyQuery, org.w3c.cci2.AnyTypePredicate

public class PolicyFilterImpl
extends RefPredicate_1
implements PolicyFilter, PolicyQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
PolicyFilterImpl(RefPackage_1_0 aPackage)
           
PolicyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
PolicyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 org.w3c.cci2.OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Policy testing whether the value of the feature description is null or not.
 org.w3c.cci2.StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 void forAllDescription(short operator, Collection values)
           
 void forAllDescription(short operator, String[] filterValues)
           
 void forAllName(short operator, Collection values)
           
 void forAllName(short operator, String[] filterValues)
           
 org.w3c.cci2.StringTypePredicate name()
           
 org.w3c.cci2.SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Policy depending the feature description Note: The order in which orderBy… instructions are given is relevant!
 void orderByDescription(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 org.w3c.cci2.SimpleTypeOrder orderByName()
          Allows to adds a sort instruction for Policy depending the feature name Note: The order in which orderBy… instructions are given is relevant!
 void orderByName(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 org.w3c.cci2.StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description to the predicate.
 void thereExistsDescription(short operator, Collection values)
           
 void thereExistsDescription(short operator, String[] filterValues)
           
 void thereExistsName(short operator, Collection values)
           
 void thereExistsName(short operator, String[] filterValues)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo, refAddValue
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefFilter_1
clear, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties, refGetOrder, refGetOrder, refGetPredicate, refGetPredicate, refGetPredicate, refGetPredicate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

PolicyFilterImpl

public PolicyFilterImpl(RefPackage_1_0 aPackage)

PolicyFilterImpl

public PolicyFilterImpl(RefPackage_1_0 aPackage,
                        FilterProperty[] filterProperties,
                        AttributeSpecifier[] attributeSpecifiers)

PolicyFilterImpl

public PolicyFilterImpl(RefPackage_1_0 aPackage,
                        FilterProperty[] filterProperties,
                        AttributeSpecifier[] attributeSpecifiers,
                        RefFilter_1_0 delegateFilter,
                        Short delegateQuantor,
                        String delegateName)
Method Detail

forAllDescription

public void forAllDescription(short operator,
                              Collection values)
Specified by:
forAllDescription in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsDescription

public void thereExistsDescription(short operator,
                                   Collection values)
Specified by:
thereExistsDescription in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllDescription

public void forAllDescription(short operator,
                              String[] filterValues)
Specified by:
forAllDescription in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsDescription

public void thereExistsDescription(short operator,
                                   String[] filterValues)
Specified by:
thereExistsDescription in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByDescription

public void orderByDescription(short order)
Description copied from interface: PolicyFilter
Specifies the sort order of all the instances that match the filter criteria.

Specified by:
orderByDescription in interface PolicyFilter
Parameters:
order - The sort order for this filter.
See Also:
Directions

description

public org.w3c.cci2.OptionalFeaturePredicate description()
Description copied from interface: PolicyQuery
Adds a constraint to the predicate for Policy testing whether the value of the feature description is null or not.

Specified by:
description in interface PolicyQuery

thereExistsDescription

public org.w3c.cci2.StringTypePredicate thereExistsDescription()
Description copied from interface: PolicyQuery
Adds a constraint for the feature description to the predicate. The predicate for Policy evaluates true if its value of feature description satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!

Specified by:
thereExistsDescription in interface PolicyQuery

forAllDescription

public org.w3c.cci2.StringTypePredicate forAllDescription()
Description copied from interface: PolicyQuery
Adds a constraint for the feature description to the predicate. The predicate for Policy evaluates true if its value of feature description satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!

Specified by:
forAllDescription in interface PolicyQuery

orderByDescription

public org.w3c.cci2.SimpleTypeOrder orderByDescription()
Description copied from interface: PolicyQuery
Allows to adds a sort instruction for Policy depending the feature description Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByDescription in interface PolicyQuery

forAllName

public void forAllName(short operator,
                       Collection values)
Specified by:
forAllName in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsName

public void thereExistsName(short operator,
                            Collection values)
Specified by:
thereExistsName in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllName

public void forAllName(short operator,
                       String[] filterValues)
Specified by:
forAllName in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsName

public void thereExistsName(short operator,
                            String[] filterValues)
Specified by:
thereExistsName in interface PolicyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByName

public void orderByName(short order)
Description copied from interface: PolicyFilter
Specifies the sort order of all the instances that match the filter criteria.

Specified by:
orderByName in interface PolicyFilter
Parameters:
order - The sort order for this filter.
See Also:
Directions

name

public org.w3c.cci2.StringTypePredicate name()
Specified by:
name in interface PolicyQuery

orderByName

public org.w3c.cci2.SimpleTypeOrder orderByName()
Description copied from interface: PolicyQuery
Allows to adds a sort instruction for Policy depending the feature name Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByName in interface PolicyQuery


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