org.opencrx.kernel.home1.cci
Class SegmentFilterImpl

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.opencrx.kernel.home1.cci.SegmentFilterImpl
All Implemented Interfaces:
Serializable, AuditeeFilter, IndexedFilter, SecureObjectFilter, AuditeeQuery, IndexedQuery, SecureObjectQuery, RefFilter_1_0, RefFilter_1_1, ContextCapableFilter, SegmentFilter, ContextCapableQuery, SegmentQuery, ViewCapableFilter, ViewCapableQuery, AnyTypePredicate

public class SegmentFilterImpl
extends RefPredicate_1
implements SegmentFilter, SegmentQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
SegmentFilterImpl(RefPackage_1_0 aPackage)
           
SegmentFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
SegmentFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 OptionalFeaturePredicate accessGrantedByParent()
          Adds a constraint to the predicate for SecureObject testing whether the value of the feature accessGrantedByParent is null or not.
 ComparableTypePredicate accessLevelBrowse()
           
 ComparableTypePredicate accessLevelDelete()
           
 ComparableTypePredicate accessLevelUpdate()
           
 MultivaluedFeaturePredicate context()
          Adds a constraint to the predicate for ContextCapable testing whether the feature context has values or not.
 OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Segment testing whether the value of the feature description is null or not.
 BasicObjectQuery forAllAccessGrantedByParent()
          Adds a constraint for the feature accessGrantedByParent to the predicate.
 void forAllAccessGrantedByParent(short operator, BasicObject[] filterValues)
           
 void forAllAccessGrantedByParent(short operator, Collection values)
           
 void forAllAccessLevelBrowse(short operator, Collection values)
           
 void forAllAccessLevelBrowse(short operator, short[] filterValues)
           
 void forAllAccessLevelDelete(short operator, Collection values)
           
 void forAllAccessLevelDelete(short operator, short[] filterValues)
           
 void forAllAccessLevelUpdate(short operator, Collection values)
           
 void forAllAccessLevelUpdate(short operator, short[] filterValues)
           
 ContextQuery forAllContext()
          Adds a constraint for the feature context to the predicate.
 void forAllContext(short operator, Collection values)
           
 void forAllContext(short operator, Context[] filterValues)
           
 StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 void forAllDescription(short operator, Collection values)
           
 void forAllDescription(short operator, String[] filterValues)
           
 StringTypePredicate forAllOwner()
          Adds a constraint for the feature owner to the predicate.
 void forAllOwner(short operator, Collection values)
           
 void forAllOwner(short operator, String[] filterValues)
           
 PrincipalGroupQuery forAllOwningGroup()
          Adds a constraint for the feature owningGroup to the predicate.
 void forAllOwningGroup(short operator, Collection values)
           
 void forAllOwningGroup(short operator, PrincipalGroup[] filterValues)
           
 UserQuery forAllOwningUser()
          Adds a constraint for the feature owningUser to the predicate.
 void forAllOwningUser(short operator, Collection values)
           
 void forAllOwningUser(short operator, User[] filterValues)
           
 SimpleTypeOrder orderByAccessLevelBrowse()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelBrowse Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelBrowse(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByAccessLevelDelete()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelDelete Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelDelete(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByAccessLevelUpdate()
          Allows to adds a sort instruction for SecureObject depending the feature accessLevelUpdate Note: The order in which orderBy… instructions are given is relevant!
 void orderByAccessLevelUpdate(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Segment 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.
 MultivaluedTypeOrder orderByOwner()
          Allows to adds a sort instruction for SecureObject depending the feature owner Note: The order in which orderBy… instructions are given is relevant!
 void orderByOwner(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedFeaturePredicate owner()
          Adds a constraint to the predicate for SecureObject testing whether the feature owner has values or not.
 MultivaluedFeaturePredicate owningGroup()
          Adds a constraint to the predicate for SecureObject testing whether the feature owningGroup has values or not.
 OptionalFeaturePredicate owningUser()
          Adds a constraint to the predicate for SecureObject testing whether the value of the feature owningUser is null or not.
 BasicObjectQuery thereExistsAccessGrantedByParent()
          Adds a constraint for the feature accessGrantedByParent to the predicate.
 void thereExistsAccessGrantedByParent(short operator, BasicObject[] filterValues)
           
 void thereExistsAccessGrantedByParent(short operator, Collection values)
           
 void thereExistsAccessLevelBrowse(short operator, Collection values)
           
 void thereExistsAccessLevelBrowse(short operator, short[] filterValues)
           
 void thereExistsAccessLevelDelete(short operator, Collection values)
           
 void thereExistsAccessLevelDelete(short operator, short[] filterValues)
           
 void thereExistsAccessLevelUpdate(short operator, Collection values)
           
 void thereExistsAccessLevelUpdate(short operator, short[] filterValues)
           
 ContextQuery thereExistsContext()
          Adds a constraint for the feature context to the predicate.
 void thereExistsContext(short operator, Collection values)
           
 void thereExistsContext(short operator, Context[] filterValues)
           
 StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description to the predicate.
 void thereExistsDescription(short operator, Collection values)
           
 void thereExistsDescription(short operator, String[] filterValues)
           
 StringTypePredicate thereExistsOwner()
          Adds a constraint for the feature owner to the predicate.
 void thereExistsOwner(short operator, Collection values)
           
 void thereExistsOwner(short operator, String[] filterValues)
           
 PrincipalGroupQuery thereExistsOwningGroup()
          Adds a constraint for the feature owningGroup to the predicate.
 void thereExistsOwningGroup(short operator, Collection values)
           
 void thereExistsOwningGroup(short operator, PrincipalGroup[] filterValues)
           
 UserQuery thereExistsOwningUser()
          Adds a constraint for the feature owningUser to the predicate.
 void thereExistsOwningUser(short operator, Collection values)
           
 void thereExistsOwningUser(short operator, User[] 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

SegmentFilterImpl

public SegmentFilterImpl(RefPackage_1_0 aPackage)

SegmentFilterImpl

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

SegmentFilterImpl

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

forAllAccessGrantedByParent

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

thereExistsAccessGrantedByParent

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

forAllAccessGrantedByParent

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

thereExistsAccessGrantedByParent

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

accessGrantedByParent

public OptionalFeaturePredicate accessGrantedByParent()
Description copied from interface: SecureObjectQuery
Adds a constraint to the predicate for SecureObject testing whether the value of the feature accessGrantedByParent is null or not.

Specified by:
accessGrantedByParent in interface SecureObjectQuery

thereExistsAccessGrantedByParent

public BasicObjectQuery thereExistsAccessGrantedByParent()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature accessGrantedByParent to the predicate. The predicate for SecureObject evaluates true if its value of feature accessGrantedByParent 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:
thereExistsAccessGrantedByParent in interface SecureObjectQuery

forAllAccessGrantedByParent

public BasicObjectQuery forAllAccessGrantedByParent()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature accessGrantedByParent to the predicate. The predicate for SecureObject evaluates true if its value of feature accessGrantedByParent 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:
forAllAccessGrantedByParent in interface SecureObjectQuery

forAllAccessLevelBrowse

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

thereExistsAccessLevelBrowse

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

forAllAccessLevelBrowse

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

thereExistsAccessLevelBrowse

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

orderByAccessLevelBrowse

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

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

accessLevelBrowse

public ComparableTypePredicate accessLevelBrowse()
Specified by:
accessLevelBrowse in interface SecureObjectQuery

orderByAccessLevelBrowse

public SimpleTypeOrder orderByAccessLevelBrowse()
Description copied from interface: SecureObjectQuery
Allows to adds a sort instruction for SecureObject depending the feature accessLevelBrowse Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByAccessLevelBrowse in interface SecureObjectQuery

forAllAccessLevelDelete

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

thereExistsAccessLevelDelete

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

forAllAccessLevelDelete

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

thereExistsAccessLevelDelete

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

orderByAccessLevelDelete

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

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

accessLevelDelete

public ComparableTypePredicate accessLevelDelete()
Specified by:
accessLevelDelete in interface SecureObjectQuery

orderByAccessLevelDelete

public SimpleTypeOrder orderByAccessLevelDelete()
Description copied from interface: SecureObjectQuery
Allows to adds a sort instruction for SecureObject depending the feature accessLevelDelete Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByAccessLevelDelete in interface SecureObjectQuery

forAllAccessLevelUpdate

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

thereExistsAccessLevelUpdate

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

forAllAccessLevelUpdate

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

thereExistsAccessLevelUpdate

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

orderByAccessLevelUpdate

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

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

accessLevelUpdate

public ComparableTypePredicate accessLevelUpdate()
Specified by:
accessLevelUpdate in interface SecureObjectQuery

orderByAccessLevelUpdate

public SimpleTypeOrder orderByAccessLevelUpdate()
Description copied from interface: SecureObjectQuery
Allows to adds a sort instruction for SecureObject depending the feature accessLevelUpdate Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByAccessLevelUpdate in interface SecureObjectQuery

forAllOwner

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

thereExistsOwner

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

forAllOwner

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

thereExistsOwner

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

orderByOwner

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

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

owner

public MultivaluedFeaturePredicate owner()
Description copied from interface: SecureObjectQuery
Adds a constraint to the predicate for SecureObject testing whether the feature owner has values or not.

Specified by:
owner in interface SecureObjectQuery

thereExistsOwner

public StringTypePredicate thereExistsOwner()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owner to the predicate. The predicate for SecureObject evaluates true if at least one of its values of feature owner satisfies the given condition.

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

Specified by:
thereExistsOwner in interface SecureObjectQuery

forAllOwner

public StringTypePredicate forAllOwner()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owner to the predicate. The predicate for SecureObject evaluates true if all of its values of feature owner satisfy the selected condition.

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

Specified by:
forAllOwner in interface SecureObjectQuery

orderByOwner

public MultivaluedTypeOrder orderByOwner()
Description copied from interface: SecureObjectQuery
Allows to adds a sort instruction for SecureObject depending the feature owner Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByOwner in interface SecureObjectQuery

forAllOwningGroup

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

thereExistsOwningGroup

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

forAllOwningGroup

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

thereExistsOwningGroup

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

owningGroup

public MultivaluedFeaturePredicate owningGroup()
Description copied from interface: SecureObjectQuery
Adds a constraint to the predicate for SecureObject testing whether the feature owningGroup has values or not.

Specified by:
owningGroup in interface SecureObjectQuery

thereExistsOwningGroup

public PrincipalGroupQuery thereExistsOwningGroup()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owningGroup to the predicate. The predicate for SecureObject evaluates true if its value of feature owningGroup 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:
thereExistsOwningGroup in interface SecureObjectQuery

forAllOwningGroup

public PrincipalGroupQuery forAllOwningGroup()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owningGroup to the predicate. The predicate for SecureObject evaluates true if its value of feature owningGroup 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:
forAllOwningGroup in interface SecureObjectQuery

forAllOwningUser

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

thereExistsOwningUser

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

forAllOwningUser

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

thereExistsOwningUser

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

owningUser

public OptionalFeaturePredicate owningUser()
Description copied from interface: SecureObjectQuery
Adds a constraint to the predicate for SecureObject testing whether the value of the feature owningUser is null or not.

Specified by:
owningUser in interface SecureObjectQuery

thereExistsOwningUser

public UserQuery thereExistsOwningUser()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owningUser to the predicate. The predicate for SecureObject evaluates true if its value of feature owningUser 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:
thereExistsOwningUser in interface SecureObjectQuery

forAllOwningUser

public UserQuery forAllOwningUser()
Description copied from interface: SecureObjectQuery
Adds a constraint for the feature owningUser to the predicate. The predicate for SecureObject evaluates true if its value of feature owningUser 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:
forAllOwningUser in interface SecureObjectQuery

forAllContext

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

thereExistsContext

public void thereExistsContext(short operator,
                               Context[] filterValues)
Specified by: