mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6318: Search for "derived by" and classification reasons: Automate AC -fixed failing tests
This commit is contained in:
@@ -135,30 +135,10 @@ public class SearchAPI extends BaseAPI
|
|||||||
String query, String sortby,
|
String query, String sortby,
|
||||||
boolean includeCategories, boolean includeFolders)
|
boolean includeCategories, boolean includeFolders)
|
||||||
{
|
{
|
||||||
String searchFilterParamaters = MessageFormat.format(RM_DEFAULT_NODES_FILTERS, Boolean.toString(includeFolders), Boolean.toString(includeCategories));
|
String searchFilterParamaters = MessageFormat.format(RM_DEFAULT_NODES_FILTERS, Boolean.toString(includeFolders), Boolean.toString(includeCategories));
|
||||||
return getItemNames(rmSearch(username, password, "rm", query, searchFilterParamaters, sortby));
|
return getItemNames(rmSearch(username, password, "rm", query, searchFilterParamaters, sortby));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Search as a user for content on site "rm" matching query, using SearchAPI.RM_DEFAULT_NODES_FILTERS and sorted
|
|
||||||
* by sortby
|
|
||||||
* <br>
|
|
||||||
* If more fine-grained control of search parameters is required, use rmSearch() directly.
|
|
||||||
* @param username
|
|
||||||
* @param password
|
|
||||||
* @param query
|
|
||||||
* @param sortby
|
|
||||||
* @return list of record names
|
|
||||||
*/
|
|
||||||
public List<String> searchForRmContentAsUser(
|
|
||||||
String username,
|
|
||||||
String password,
|
|
||||||
String query,
|
|
||||||
String sortby)
|
|
||||||
{
|
|
||||||
return getItemNames(rmSearch(username, password, "rm", query, RM_DEFAULT_NODES_FILTERS, sortby));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generic faceted search.
|
* Generic faceted search.
|
||||||
* @param username
|
* @param username
|
||||||
|
Reference in New Issue
Block a user