Class PropertyPredicates
java.lang.Object
org.opencastproject.assetmanager.impl.query.PropertyPredicates
- All Implemented Interfaces:
EntityPaths
A place to share common predicate constructor methods for properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<QPropertyDto, com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> static final com.entwinemedia.fn.data.OptFields 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 TypeMethodDescriptionstatic org.opencastproject.assetmanager.impl.query.DeleteQueryContribution.WheremkWhereDelete(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.WheremkWhereDelete(PropertyName propertyName, Function<QPropertyDto, com.entwinemedia.fn.data.Opt<com.mysema.query.types.expr.BooleanExpression>> mkValueExpression) static com.mysema.query.types.expr.BooleanExpressionmkWhereSelect(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.BooleanExpressionmkWhereSelect(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.
-
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 propertymkValueExpression- 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 usepropertyName- the name of the propertymkValueExpression- 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)
-