[New] Added SearchExpressions.relation(String)
This commit is contained in:
parent
d935a96b27
commit
f6892ba964
|
@ -1,6 +1,7 @@
|
|||
package li.strolch.search;
|
||||
|
||||
import static li.strolch.model.StrolchModelConstants.BAG_PARAMETERS;
|
||||
import static li.strolch.model.StrolchModelConstants.BAG_RELATIONS;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
|
@ -56,6 +57,10 @@ public interface SearchExpressions {
|
|||
return ExpressionsSupport.param(BAG_PARAMETERS, paramId);
|
||||
}
|
||||
|
||||
default ExpressionBuilder relation(String paramId) {
|
||||
return ExpressionsSupport.param(BAG_RELATIONS, paramId);
|
||||
}
|
||||
|
||||
default ExpressionBuilder param(String bagId, String paramId) {
|
||||
return ExpressionsSupport.param(bagId, paramId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue