org.opencrx.kernel.document1.query
Interface MediaQuery

All Superinterfaces:
AnyTypePredicate, BasicObjectQuery, ContextCapableQuery, ExtentCapableQuery, ViewCapableQuery
All Known Subinterfaces:
MediaContentQuery, MediaQuery
All Known Implementing Classes:
MediaContentFilterImpl, MediaFilterImpl, MediaFilterImpl

public interface MediaQuery
extends BasicObjectQuery


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.
 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.
 ComparableTypePredicate forAllContentLength()
          Adds a constraint for the feature contentLength to the predicate.
 StringTypePredicate forAllContentMimeType()
          Adds a constraint for the feature contentMimeType to the predicate.
 StringTypePredicate forAllContentName()
          Adds a constraint for the feature contentName to the predicate.
 StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 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!
 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!
 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!
 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!
 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!
 AnyTypePredicate thereExistsContent()
          Adds a constraint for the feature content to the predicate.
 ComparableTypePredicate thereExistsContentLength()
          Adds a constraint for the feature contentLength to the predicate.
 StringTypePredicate thereExistsContentMimeType()
          Adds a constraint for the feature contentMimeType to the predicate.
 StringTypePredicate thereExistsContentName()
          Adds a constraint for the feature contentName to the predicate.
 StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description 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
 

Method Detail

content

MultivaluedFeaturePredicate content()
Adds a constraint to the predicate for Media testing whether the feature content has values or not.


thereExistsContent

AnyTypePredicate thereExistsContent()
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!


forAllContent

AnyTypePredicate forAllContent()
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!


orderByContent

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!


contentLength

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


thereExistsContentLength

ComparableTypePredicate thereExistsContentLength()
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!


forAllContentLength

ComparableTypePredicate forAllContentLength()
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!


orderByContentLength

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!


contentMimeType

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


thereExistsContentMimeType

StringTypePredicate thereExistsContentMimeType()
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!


forAllContentMimeType

StringTypePredicate forAllContentMimeType()
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!


orderByContentMimeType

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!


contentName

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


thereExistsContentName

StringTypePredicate thereExistsContentName()
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!


forAllContentName

StringTypePredicate forAllContentName()
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!


orderByContentName

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!


description

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


thereExistsDescription

StringTypePredicate thereExistsDescription()
Adds a constraint for the feature description to the predicate. The predicate for Media evaluates true if its value of feature description 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!


forAllDescription

StringTypePredicate forAllDescription()
Adds a constraint for the feature description to the predicate. The predicate for Media evaluates true if its value of feature description 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!


orderByDescription

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!



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