org.opencrx.kernel.document1.cci
Class MediaFilterImpl

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.document1.cci.MediaFilterImpl
All Implemented Interfaces:
Serializable, MediaFilter, MediaQuery, RefFilter_1_0, RefFilter_1_1, BasicObjectFilter, ContextCapableFilter, ExtentCapableFilter, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, ViewCapableFilter, ViewCapableQuery, AnyTypePredicate

public class MediaFilterImpl
extends RefPredicate_1
implements MediaFilter, MediaQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
MediaFilterImpl(RefPackage_1_0 aPackage)
           
MediaFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
MediaFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 MultivaluedFeaturePredicate content()
          Adds a constraint to the predicate for Media testing whether the feature content has values or not.
 OptionalFeaturePredicate contentLength()
          Adds a constraint to the predicate for Media testing whether the value of the feature contentLength is null or not.
 OptionalFeaturePredicate contentMimeType()
          Adds a constraint to the predicate for Media testing whether the value of the feature contentMimeType is null or not.
 OptionalFeaturePredicate contentName()
          Adds a constraint to the predicate for Media testing whether the value of the feature contentName is null 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 Media testing whether the value of the feature description is null or not.
 AnyTypePredicate forAllContent()
          Adds a constraint for the feature content to the predicate.
 void forAllContent(short operator, byte[][] filterValues)
           
 void forAllContent(short operator, Collection values)
           
 ComparableTypePredicate forAllContentLength()
          Adds a constraint for the feature contentLength to the predicate.
 void forAllContentLength(short operator, Collection values)
           
 void forAllContentLength(short operator, long[] filterValues)
           
 StringTypePredicate forAllContentMimeType()
          Adds a constraint for the feature contentMimeType to the predicate.
 void forAllContentMimeType(short operator, Collection values)
           
 void forAllContentMimeType(short operator, String[] filterValues)
           
 StringTypePredicate forAllContentName()
          Adds a constraint for the feature contentName to the predicate.
 void forAllContentName(short operator, Collection values)
           
 void forAllContentName(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)
           
 StringTypePredicate identity()
           
 ComparableTypePredicate modifiedAt()
           
 MultivaluedFeaturePredicate modifiedBy()
          Adds a constraint to the predicate for BasicObject testing whether the feature modifiedBy has values or not.
 MultivaluedTypeOrder orderByContent()
          Allows to adds a sort instruction for Media depending the feature content Note: The order in which orderBy… instructions are given is relevant!
 void orderByContent(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByContentLength()
          Allows to adds a sort instruction for Media depending the feature contentLength Note: The order in which orderBy… instructions are given is relevant!
 void orderByContentLength(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByContentMimeType()
          Allows to adds a sort instruction for Media depending the feature contentMimeType Note: The order in which orderBy… instructions are given is relevant!
 void orderByContentMimeType(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByContentName()
          Allows to adds a sort instruction for Media depending the feature contentName Note: The order in which orderBy… instructions are given is relevant!
 void orderByContentName(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 Media 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.
 AnyTypePredicate thereExistsContent()
          Adds a constraint for the feature content to the predicate.
 void thereExistsContent(short operator, byte[][] filterValues)
           
 void thereExistsContent(short operator, Collection values)
           
 ComparableTypePredicate thereExistsContentLength()
          Adds a constraint for the feature contentLength to the predicate.
 void thereExistsContentLength(short operator, Collection values)
           
 void thereExistsContentLength(short operator, long[] filterValues)
           
 StringTypePredicate thereExistsContentMimeType()
          Adds a constraint for the feature contentMimeType to the predicate.
 void thereExistsContentMimeType(short operator, Collection values)
           
 void thereExistsContentMimeType(short operator, String[] filterValues)
           
 StringTypePredicate thereExistsContentName()
          Adds a constraint for the feature contentName to the predicate.
 void thereExistsContentName(short operator, Collection values)
           
 void thereExistsContentName(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)
           
 
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

MediaFilterImpl

public MediaFilterImpl(RefPackage_1_0 aPackage)

MediaFilterImpl

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

MediaFilterImpl

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

forAllContent

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

thereExistsContent

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

forAllContent

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

thereExistsContent

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

orderByContent

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

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

content

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

Specified by:
content in interface MediaQuery

thereExistsContent

public AnyTypePredicate thereExistsContent()
Description copied from interface: MediaQuery
Adds a constraint for the feature content to the predicate. The predicate for Media evaluates true if at least one of its values of feature content 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:
thereExistsContent in interface MediaQuery

forAllContent

public AnyTypePredicate forAllContent()
Description copied from interface: MediaQuery
Adds a constraint for the feature content to the predicate. The predicate for Media evaluates true if all of its values of feature content 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:
forAllContent in interface MediaQuery

orderByContent

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

Specified by:
orderByContent in interface MediaQuery

forAllContentLength

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

thereExistsContentLength

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

forAllContentLength

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

thereExistsContentLength

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

orderByContentLength

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

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

contentLength

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

Specified by:
contentLength in interface MediaQuery

thereExistsContentLength

public ComparableTypePredicate thereExistsContentLength()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentLength to the predicate. The predicate for Media evaluates true if its value of feature contentLength 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:
thereExistsContentLength in interface MediaQuery

forAllContentLength

public ComparableTypePredicate forAllContentLength()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentLength to the predicate. The predicate for Media evaluates true if its value of feature contentLength 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:
forAllContentLength in interface MediaQuery

orderByContentLength

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

Specified by:
orderByContentLength in interface MediaQuery

forAllContentMimeType

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

thereExistsContentMimeType

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

forAllContentMimeType

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

thereExistsContentMimeType

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

orderByContentMimeType

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

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

contentMimeType

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

Specified by:
contentMimeType in interface MediaQuery

thereExistsContentMimeType

public StringTypePredicate thereExistsContentMimeType()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentMimeType to the predicate. The predicate for Media evaluates true if its value of feature contentMimeType 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:
thereExistsContentMimeType in interface MediaQuery

forAllContentMimeType

public StringTypePredicate forAllContentMimeType()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentMimeType to the predicate. The predicate for Media evaluates true if its value of feature contentMimeType 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:
forAllContentMimeType in interface MediaQuery

orderByContentMimeType

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

Specified by:
orderByContentMimeType in interface MediaQuery

forAllContentName

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

thereExistsContentName

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

forAllContentName

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

thereExistsContentName

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

orderByContentName

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

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

contentName

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

Specified by:
contentName in interface MediaQuery

thereExistsContentName

public StringTypePredicate thereExistsContentName()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentName to the predicate. The predicate for Media evaluates true if its value of feature contentName 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:
thereExistsContentName in interface MediaQuery

forAllContentName

public StringTypePredicate forAllContentName()
Description copied from interface: MediaQuery
Adds a constraint for the feature contentName to the predicate. The predicate for Media evaluates true if its value of feature contentName 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:
forAllContentName in interface MediaQuery

orderByContentName

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

Specified by:
orderByContentName in interface MediaQuery

forAllDescription

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

thereExistsDescription

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

forAllDescription

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

thereExistsDescription

public void thereExistsDescription(short operator,