Skip to content
Snippets Groups Projects
Commit 6002b06e authored by juanf's avatar juanf
Browse files

SSDM-3733 : withOperator should be on AbstractComposite instead of...

SSDM-3733 : withOperator should be on AbstractComposite instead of AbstractEntity to match Java and make some calls that where failing work

SVN: 36717
parent c9c44223
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,10 @@ define([ "stjs", "as/dto/common/search/AbstractSearchCriteria", "as/dto/common/s ...@@ -23,6 +23,10 @@ define([ "stjs", "as/dto/common/search/AbstractSearchCriteria", "as/dto/common/s
prototype.getOperator = function() { prototype.getOperator = function() {
return this.operator; return this.operator;
} }
prototype.withOperator = function(anOperator) {
this.operator = anOperator;
return this;
};
prototype.withOrOperator = function() { prototype.withOrOperator = function() {
this.operator = SearchOperator.OR; this.operator = SearchOperator.OR;
return this; return this;
......
...@@ -14,10 +14,6 @@ define( ...@@ -14,10 +14,6 @@ define(
prototype['@type'] = 'as.dto.common.search.AbstractEntitySearchCriteria'; prototype['@type'] = 'as.dto.common.search.AbstractEntitySearchCriteria';
constructor.serialVersionUID = 1; constructor.serialVersionUID = 1;
prototype.operator = SearchOperator.AND; prototype.operator = SearchOperator.AND;
prototype.withOperator = function(anOperator) {
this.operator = anOperator;
return this;
};
prototype.getOperator = function() { prototype.getOperator = function() {
return this.operator; return this.operator;
}; };
......
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