Class PortletPrefsSearchOptionsManager

java.lang.Object
com.webmethods.caf.faces.search.options.PortletPrefsSearchOptionsManager
All Implemented Interfaces:
ISearchOptionsManager, Serializable

public class PortletPrefsSearchOptionsManager extends Object implements ISearchOptionsManager, Serializable
See Also:
  • Constructor Details

    • PortletPrefsSearchOptionsManager

      public PortletPrefsSearchOptionsManager()
  • Method Details

    • getSearchOptions

      public Map<String,Object> getSearchOptions()
      Description copied from interface: ISearchOptionsManager
      Get a map of the current search options
      Specified by:
      getSearchOptions in interface ISearchOptionsManager
      Returns:
      map of search options
    • isPersistedSearchOption

      protected boolean isPersistedSearchOption(String key)
    • updateSearchOptions

      public void updateSearchOptions(Map<String,Object> optionsMap)
      Description copied from interface: ISearchOptionsManager
      Update the search options
      Specified by:
      updateSearchOptions in interface ISearchOptionsManager
      Parameters:
      optionsMap - the options to update
    • getExpressionString

      protected String getExpressionString(String prefName)
    • getValue

      protected Object getValue(String expression)
      Return the result of the resolved value binding expression. #getFacesContext() must return a valid context for the current thread.
      Parameters:
      expression - JSF value binding expression
      Returns:
      result of the expression, can be null
    • setValue

      protected boolean setValue(String expression, Object value)
      Sets value using given JSF value binding expression. Tries to convert the given value parameter to the target type of the value binding expression.
      Parameters:
      expression - JSF value binding expression
      value - new value to assign
      Returns:
      true if the new value is different from the previous value