Class SavedSearchDetails

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.search.ReportDetails
org.alfresco.module.org_alfresco_module_rm.search.SavedSearchDetails

public class SavedSearchDetails extends ReportDetails
Saved search details. Example format of posted Saved Search JSON: { "siteid" : "rm", "name": "search name", "description": "the search description", "search": "the search sting as entered by the user", "public": boolean, "searchparams" : { "maxItems" : 500, "records" : true, "undeclaredrecords" : false, "vitalrecords" : false, "recordfolders" : false, "frozen" : false, "cutoff" : false, "containertypes" : [ "rma:recordSeries", "rma:recordCategory" ] "sort" : [ { "field" : "cm:name", "ascending" : true } ] } } where: name and query values are mandatory, searchparams contains the filters, sort, etc information about the query query is there for backward compatibility note: "params": "terms=keywords:xyz&undeclared=true", "sort": "cm:name/asc" "query": "the complete search query string", ... are sometimes found in the place of searchparams and are migrated to the new format when re-saved params are in URL encoded name/value pair format sort is in comma separated "property/dir" packed format i.e. "cm:name/asc,cm:title/desc"
Author:
Roy Wetherall