org.openmdx.security.authorization1.cci
Class ModelClassPrivilegeFilterImpl

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.authorization1.cci.ModelClassPrivilegeFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, BasicObjectFilter, ContextCapableFilter, ExtentCapableFilter, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, ViewCapableFilter, ViewCapableQuery, ModelClassPrivilegeFilter, ModelElementPrivilegeFilter, ModelClassPrivilegeQuery, ModelElementPrivilegeQuery, PrivilegeFilter, PrivilegeQuery, AnyTypePredicate

public class ModelClassPrivilegeFilterImpl
extends RefPredicate_1
implements ModelClassPrivilegeFilter, ModelClassPrivilegeQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
ModelClassPrivilegeFilterImpl(RefPackage_1_0 aPackage)
           
ModelClassPrivilegeFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
ModelClassPrivilegeFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 MultivaluedFeaturePredicate action()
          Adds a constraint to the predicate for Privilege testing whether the feature action has values or not.
 MultivaluedFeaturePredicate context()
          Adds a constraint to the predicate for ContextCapable testing whether the feature context has values or not.
 ComparableTypePredicate createdAt()
           
 MultivaluedFeaturePredicate createdBy()
          Adds a constraint to the predicate for BasicObject testing whether the feature createdBy has values or not.
 OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Privilege testing whether the value of the feature description is null or not.
 StringTypePredicate forAllAction()
          Adds a constraint for the feature action to the predicate.
 void forAllAction(short operator, Collection values)
           
 void forAllAction(short operator, String[] 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)
           
 void forAllCreatedAt(short operator, Collection values)
           
 void forAllCreatedAt(short operator, Date[] filterValues)
           
 StringTypePredicate forAllCreatedBy()
          Adds a constraint for the feature createdBy to the predicate.
 void forAllCreatedBy(short operator, Collection values)
           
 void forAllCreatedBy(short operator, String[] 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)
           
 void forAllIdentity(short operator, Collection values)
           
 void forAllIdentity(short operator, String[] filterValues)
           
 void forAllModifiedAt(short operator, Collection values)
           
 void forAllModifiedAt(short operator, Date[] filterValues)
           
 StringTypePredicate forAllModifiedBy()
          Adds a constraint for the feature modifiedBy to the predicate.
 void forAllModifiedBy(short operator, Collection values)
           
 void forAllModifiedBy(short operator, String[] filterValues)
           
 void forAllName(short operator, Collection values)
           
 void forAllName(short operator, String[] filterValues)
           
 StringTypePredicate identity()
           
 ComparableTypePredicate modifiedAt()
           
 MultivaluedFeaturePredicate modifiedBy()
          Adds a constraint to the predicate for BasicObject testing whether the feature modifiedBy has values or not.
 StringTypePredicate name()
           
 MultivaluedTypeOrder orderByAction()
          Allows to adds a sort instruction for Privilege depending the feature action Note: The order in which orderBy… instructions are given is relevant!
 void orderByAction(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByCreatedAt()
          Allows to adds a sort instruction for BasicObject depending the feature createdAt Note: The order in which orderBy… instructions are given is relevant!
 void orderByCreatedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByCreatedBy()
          Allows to adds a sort instruction for BasicObject depending the feature createdBy Note: The order in which orderBy… instructions are given is relevant!
 void orderByCreatedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Privilege 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.
 SimpleTypeOrder orderByIdentity()
          Allows to adds a sort instruction for ExtentCapable depending the feature identity Note: The order in which orderBy… instructions are given is relevant!
 void orderByIdentity(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByModifiedAt()
          Allows to adds a sort instruction for BasicObject depending the feature modifiedAt Note: The order in which orderBy… instructions are given is relevant!
 void orderByModifiedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByModifiedBy()
          Allows to adds a sort instruction for BasicObject depending the feature modifiedBy Note: The order in which orderBy… instructions are given is relevant!
 void orderByModifiedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByName()
          Allows to adds a sort instruction for Privilege 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.
 StringTypePredicate thereExistsAction()
          Adds a constraint for the feature action to the predicate.
 void thereExistsAction(short operator, Collection values)
           
 void thereExistsAction(short operator, String[] 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)
           
 void thereExistsCreatedAt(short operator, Collection values)
           
 void thereExistsCreatedAt(short operator, Date[] filterValues)
           
 StringTypePredicate thereExistsCreatedBy()
          Adds a constraint for the feature createdBy to the predicate.
 void thereExistsCreatedBy(short operator, Collection values)
           
 void thereExistsCreatedBy(short operator, String[] 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)
           
 void thereExistsIdentity(short operator, Collection values)
           
 void thereExistsIdentity(short operator, String[] filterValues)
           
 void thereExistsModifiedAt(short operator, Collection values)
           
 void thereExistsModifiedAt(short operator, Date[] filterValues)
           
 StringTypePredicate thereExistsModifiedBy()
          Adds a constraint for the feature modifiedBy to the predicate.
 void thereExistsModifiedBy(short operator, Collection values)
           
 void thereExistsModifiedBy(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

ModelClassPrivilegeFilterImpl

public ModelClassPrivilegeFilterImpl(RefPackage_1_0 aPackage)

ModelClassPrivilegeFilterImpl

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

ModelClassPrivilegeFilterImpl

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

forAllCreatedAt

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

thereExistsCreatedAt

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

forAllCreatedAt

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

thereExistsCreatedAt

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

orderByCreatedAt

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

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

createdAt

public ComparableTypePredicate createdAt()
Specified by:
createdAt in interface BasicObjectQuery

orderByCreatedAt

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

Specified by:
orderByCreatedAt in interface BasicObjectQuery

forAllCreatedBy

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

thereExistsCreatedBy

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

forAllCreatedBy

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

thereExistsCreatedBy

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

orderByCreatedBy

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

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

createdBy

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

Specified by:
createdBy in interface BasicObjectQuery

thereExistsCreatedBy

public StringTypePredicate thereExistsCreatedBy()
Description copied from interface: BasicObjectQuery
Adds a constraint for the feature createdBy to the predicate. The predicate for BasicObject evaluates true if at least one of its values of feature createdBy 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:
thereExistsCreatedBy in interface BasicObjectQuery

forAllCreatedBy

public StringTypePredicate forAllCreatedBy()
Description copied from interface: BasicObjectQuery
Adds a constraint for the feature createdBy to the predicate. The predicate for BasicObject evaluates true if all of its values of feature createdBy 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:
forAllCreatedBy in interface BasicObjectQuery

orderByCreatedBy

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

Specified by:
orderByCreatedBy in interface BasicObjectQuery

forAllModifiedAt

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

thereExistsModifiedAt

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

forAllModifiedAt

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

thereExistsModifiedAt

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

orderByModifiedAt

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

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

modifiedAt

public ComparableTypePredicate modifiedAt()
Specified by:
modifiedAt in interface BasicObjectQuery

orderByModifiedAt

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

Specified by:
orderByModifiedAt in interface BasicObjectQuery

forAllModifiedBy

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

thereExistsModifiedBy

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

forAllModifiedBy

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

thereExistsModifiedBy

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

orderByModifiedBy

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

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

modifiedBy

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

Specified by:
modifiedBy in interface BasicObjectQuery

thereExistsModifiedBy

public StringTypePredicate thereExistsModifiedBy()
Description copied from interface: BasicObjectQuery
Adds a constraint for the feature modifiedBy to the predicate. The predicate for BasicObject evaluates true if at least one of its values of feature modifiedBy 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:
thereExistsModifiedBy in interface BasicObjectQuery

forAllModifiedBy

public StringTypePredicate forAllModifiedBy()
Description copied from interface: BasicObjectQuery
Adds a constraint for the feature modifiedBy to the predicate. The predicate for BasicObject evaluates true if all of its values of feature modifiedBy 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:
forAllModifiedBy in interface BasicObjectQuery

orderByModifiedBy

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

Specified by:
orderByModifiedBy in interface BasicObjectQuery

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:
thereExistsContext in interface ContextCapableFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllContext

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

thereExistsContext

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

context

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

Specified by:
context in interface ContextCapableQuery

thereExistsContext

public ContextQuery thereExistsContext()
Description copied from interface: ContextCapableQuery
Adds a constraint for the feature context to the predicate. The predicate for ContextCapable evaluates true if its value of feature context 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:
thereExistsContext in interface ContextCapableQuery

forAllContext

public ContextQuery forAllContext()
Description copied from interface: ContextCapableQuery
Adds a constraint for the feature context to the predicate. The predicate for ContextCapable evaluates true if its value of feature context 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:
forAllContext in interface ContextCapableQuery

forAllIdentity

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

thereExistsIdentity

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

forAllIdentity

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

thereExistsIdentity

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

orderByIdentity

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

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

identity

public StringTypePredicate identity()
Specified by:
identity in interface ExtentCapableQuery

orderByIdentity

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

Specified by:
orderByIdentity in interface ExtentCapableQuery

forAllAction

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

thereExistsAction

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

forAllAction

public void forAllAction(short operator,
                         String[] filterValues)
Specified by:
forAllAction in interface