Skip to content
Snippets Groups Projects
Commit 3e60f6f1 authored by vkovtun's avatar vkovtun
Browse files

SSDM-13368 Fixing JS vs Java API test.

parent 2969e3be
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -62,6 +62,14 @@ define([ "require", "stjs", "as/dto/common/search/AbstractObjectSearchCriteria", ...@@ -62,6 +62,14 @@ define([ "require", "stjs", "as/dto/common/search/AbstractObjectSearchCriteria",
var BooleanPropertySearchCriteria = require("as/dto/common/search/BooleanPropertySearchCriteria"); var BooleanPropertySearchCriteria = require("as/dto/common/search/BooleanPropertySearchCriteria");
return this.addCriteria(new BooleanPropertySearchCriteria(propertyName)); return this.addCriteria(new BooleanPropertySearchCriteria(propertyName));
}; };
prototype.withSampleProperty = function(propertyName) {
var SamplePropertySearchCriteria = require("as/dto/common/search/SamplePropertySearchCriteria");
return this.addCriteria(new SamplePropertySearchCriteria(propertyName));
};
prototype.withVocabularyProperty = function(propertyName) {
var ControlledVocabularyPropertySearchCriteria = require("as/dto/common/search/ControlledVocabularyPropertySearchCriteria");
return this.addCriteria(new ControlledVocabularyPropertySearchCriteria(propertyName));
};
prototype.withTag = function() { prototype.withTag = function() {
var TagSearchCriteria = require("as/dto/tag/search/TagSearchCriteria"); var TagSearchCriteria = require("as/dto/tag/search/TagSearchCriteria");
return this.addCriteria(new TagSearchCriteria()); return this.addCriteria(new TagSearchCriteria());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment