Class SavedSearchDetailsCompatibility

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.search.SavedSearchDetailsCompatibility
All Implemented Interfaces:
RecordsManagementCustomModel, RecordsManagementModel

public class SavedSearchDetailsCompatibility extends Object implements RecordsManagementModel
Compatibility class. Used to bridge between the old style of saved search passed and required by the UI and the new actual saved search details. Eventually will be factored out as web scripts are brought up to date.
  • Constructor Details

  • Method Details

    • getSearchFromParams

      public static String getSearchFromParams(String params)
      Retrieve the search from the parameter string
      Parameters:
      params - parameter string
      Returns:
      String search term
    • createSearchParameters

      public static RecordsManagementSearchParameters createSearchParameters(String params, String sort, NamespaceService namespaceService)
    • createSearchParameters

      public static RecordsManagementSearchParameters createSearchParameters(String params, String[] paramsDelim, String sort, NamespaceService namespaceService)
      Parameters:
      params -
      sort -
      namespaceService -
      Returns:
    • getSort

      public String getSort()
      Get the sort string from the saved search details
      Returns:
    • getParams

      public String getParams()
      Get the parameter string from the saved search details
      Returns:
    • getQuery

      public String getQuery()
      Build the full query string
      Returns: