Class PropertyPredicates

java.lang.Object
org.opencastproject.assetmanager.impl.query.PropertyPredicates
All Implemented Interfaces:
EntityPaths

public final class PropertyPredicates extends Object implements EntityPaths
A place to share common predicate constructor methods for properties.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>>
     
    static final com.entwinemedia.fn.data.Opt
     

    Fields inherited from interface org.opencastproject.assetmanager.impl.persistence.EntityPaths

    $NO_ENTITY, $Q_PROPERTY, $Q_SNAPSHOT, Q_ASSET, Q_PROPERTY, Q_SNAPSHOT
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.opencastproject.assetmanager.impl.query.DeleteQueryContribution.Where
    mkWhereDelete(com.entwinemedia.fn.data.Opt<String> namespace, com.entwinemedia.fn.data.Opt<String> propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
     
    static org.opencastproject.assetmanager.impl.query.DeleteQueryContribution.Where
    mkWhereDelete(PropertyName propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
     
    static com.mysema.query.types.expr.BooleanExpression
    mkWhereSelect(com.entwinemedia.fn.data.Opt<String> namespace, com.entwinemedia.fn.data.Opt<String> propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
    Create a 'where' expression for queries that filter by some property based criteria.
    static com.mysema.query.types.expr.BooleanExpression
    mkWhereSelect(PropertyName propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
    Create a 'where' expression for queries that filter by some property based criteria.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NONE

      public static final com.entwinemedia.fn.data.Opt NONE
    • NO_VALUE

      public static final Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> NO_VALUE
  • Method Details

    • mkWhereSelect

      public static com.mysema.query.types.expr.BooleanExpression mkWhereSelect(PropertyName propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
      Create a 'where' expression for queries that filter by some property based criteria.
      Parameters:
      propertyName - the full qualified name of the property
      mkValueExpression - a function to create a property value expression; use the passed property DTO to create the expression
    • mkWhereSelect

      public static com.mysema.query.types.expr.BooleanExpression mkWhereSelect(com.entwinemedia.fn.data.Opt<String> namespace, com.entwinemedia.fn.data.Opt<String> propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
      Create a 'where' expression for queries that filter by some property based criteria.
      Parameters:
      namespace - the property namespace to use
      propertyName - the name of the property
      mkValueExpression - a function to create a property value expression; use the passed property DTO to create the expression
    • mkWhereDelete

      public static org.opencastproject.assetmanager.impl.query.DeleteQueryContribution.Where mkWhereDelete(PropertyName propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)
    • mkWhereDelete

      public static org.opencastproject.assetmanager.impl.query.DeleteQueryContribution.Where mkWhereDelete(com.entwinemedia.fn.data.Opt<String> namespace, com.entwinemedia.fn.data.Opt<String> propertyName, Function<QPropertyDto,com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression)