|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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 |
|---|
void forAllParent(short operator,
Policy[] filterValues)
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.
operator - The operator for this filter.filterValues - The values you want the attribute
parent to be compared to.FilterOperators
void thereExistsParent(short operator,
Policy[] filterValues)
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.
operator - The operator for this filter.filterValues - The values you want the attribute
parent to be compared to.FilterOperators
void forAllParent(short operator,
Collection filterValues)
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.
operator - The operator for this filter.filterValues - The values you want the attribute
parent to be compared to.FilterOperators
void thereExistsParent(short operator,
Collection filterValues)
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.
operator - The operator for this filter.filterValues - The values you want the attribute
parent to be compared to.FilterOperators
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||