org.openmdx.security.authorization1.query
Interface PolicyQuery

All Superinterfaces:
AnyTypePredicate, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, PolicyQuery, ViewCapableQuery

public interface PolicyQuery
extends BasicObjectQuery, PolicyQuery

A PolicyQuery selects a set of instances of class Policy based on conditions to be met by their attributes.


Method Summary
 PolicyQuery forAllParent()
          Adds a constraint for the feature parent to the predicate.
 OptionalFeaturePredicate parent()
          Adds a constraint to the predicate for Policy testing whether the value of the feature parent is null or not.
 PolicyQuery thereExistsParent()
          Adds a constraint for the feature parent to the predicate.
 
Methods inherited from interface org.openmdx.base.query.BasicObjectQuery
createdAt, createdBy, forAllCreatedBy, forAllModifiedBy, modifiedAt, modifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.query.ContextCapableQuery
context, forAllContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.query.ExtentCapableQuery
identity, orderByIdentity
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 
Methods inherited from interface org.openmdx.security.realm1.query.PolicyQuery
description, forAllDescription, name, orderByDescription, orderByName, thereExistsDescription
 

Method Detail

parent

OptionalFeaturePredicate parent()
Adds a constraint to the predicate for Policy testing whether the value of the feature parent is null or not.


thereExistsParent

PolicyQuery thereExistsParent()
Adds a constraint for the feature parent to the predicate. The predicate for Policy evaluates true if its value of feature parent 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!


forAllParent

PolicyQuery forAllParent()
Adds a constraint for the feature parent to the predicate. The predicate for Policy evaluates true if its value of feature parent 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!



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