mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.0 (5.2.0) to HEAD (5.2)
133904 msuzuki: ACE-5622, merge fix from 5.2.N to address search rest api fix for location field git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134197 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,8 +77,8 @@ public class SearchApiWebscript extends AbstractWebScript implements RecognizedP
|
||||
PropertyCheck.mandatory(this, "serviceRegistry", serviceRegistry);
|
||||
this.searchService = serviceRegistry.getSearchService();
|
||||
ParameterCheck.mandatory("assistant", this.assistant);
|
||||
|
||||
searchMapper = new SearchMapper();
|
||||
ParameterCheck.mandatory("searchMapper", this.searchMapper);
|
||||
ParameterCheck.mandatory("resultMapper", this.resultMapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -142,6 +142,11 @@ public class SearchApiWebscript extends AbstractWebScript implements RecognizedP
|
||||
return Params.valueOf(null, recognizedParams, null, webScriptRequest);
|
||||
}
|
||||
|
||||
public void setSearchMapper(SearchMapper searchMapper)
|
||||
{
|
||||
this.searchMapper = searchMapper;
|
||||
}
|
||||
|
||||
public void setResultMapper(ResultMapper resultMapper)
|
||||
{
|
||||
this.resultMapper = resultMapper;
|
||||
|
Reference in New Issue
Block a user