ACE-5622: Search api scope now uses "locations"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133518 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gethin James
2016-12-08 15:49:24 +00:00
parent ffdb176db2
commit d8c47d60e1
17 changed files with 539 additions and 47 deletions

View File

@@ -37,16 +37,16 @@ import java.util.List;
*/
public class Scope
{
private final List<String> stores;
private final List<String> locations;
@JsonCreator
public Scope(@JsonProperty("stores") List<String> stores)
public Scope(@JsonProperty("locations") List<String> locations)
{
this.stores = stores;
this.locations = locations;
}
public List<String> getStores()
public List<String> getLocations()
{
return stores;
return locations;
}
}