Class CmsSearchReplaceSettings

java.lang.Object
org.opencms.workplace.tools.searchindex.sourcesearch.CmsSearchReplaceSettings

public class CmsSearchReplaceSettings extends Object
Settings bean for the dialog.

Since:
7.5.3
  • Field Details

  • Constructor Details

  • Method Details

    • getLocale

      public String getLocale()
      Returns the locale.

      Returns:
      the locale
    • getMessage

      public String getMessage()
      Returns:
      the message
    • getPaths

      public List<String> getPaths()
      Returns:
      the paths
    • getProject

      public String getProject()
      Returns:
      the project
    • getQuery

      public String getQuery()
      Returns the query.

      Returns:
      the query
    • getReplacepattern

      Returns:
      the replace pattern
    • getResources

      public String getResources()
      Returns:
      the resources
    • getResourcesArray

      Returns the resources paths in an array.

      Returns:
      the resources paths in an array.
    • getSearchpattern

      Returns:
      the search pattern
    • getSource

      public String getSource()
      Returns the source.

      Returns:
      the source
    • getTypes

      public String getTypes()
      Returns the type.

      Returns:
      the type
    • getTypesArray

      public String[] getTypesArray()
      Returns the type.

      Returns:
      the type
    • getXpath

      public String getXpath()
      Returns the xpath.

      Returns:
      the xpath
    • isForceReplace

      public boolean isForceReplace()
      Returns the force replace flag, if true the replacement will also be performed if the replacement String is empty.

      Returns:
      the force replace flag
    • isOnlyContentValues

      public boolean isOnlyContentValues()
      Returns if only content values should be searched and replaced.

      Returns:
      if only content values should be searched and replaced
    • isSolrSearch

      public boolean isSolrSearch()
      Returns true if Solr index is selected and a query was entered.

      Returns:
      true if Solr index is selected and a query was entered
    • setForceReplace

      public void setForceReplace(boolean forceReplace)
      Sets the force replace flag.

      Parameters:
      forceReplace - the force replace flag to set
    • setLocale

      public void setLocale(String locale)
      Sets the locale.

      Parameters:
      locale - the locale to set
    • setMessage

      public void setMessage(String message)
      Parameters:
      message - the message to set
    • setOnlyContentValues

      public void setOnlyContentValues(boolean onlyContentValue)
      Sets if only content values should be searched and replaced.

      Parameters:
      onlyContentValue - if only content values should be searched and replaced
    • setPaths

      public void setPaths(List<String> paths)
      Sets the paths.

      Parameters:
      paths - the paths to set
    • setProject

      public void setProject(String project)
      Parameters:
      project - the project to work in
    • setQuery

      public void setQuery(String query)
      Sets the query.

      Parameters:
      query - the query to set
    • setReplacepattern

      public void setReplacepattern(String replacepattern)
      Sets the replace pattern.

      Parameters:
      replacepattern - the replace pattern
    • setResources

      public void setResources(String resources)
      Parameters:
      resources - the resources to set
    • setSearchpattern

      public void setSearchpattern(String searchpattern)
      Sets the search pattern.

      Parameters:
      searchpattern - the search pattern
    • setSource

      public void setSource(String source)
      Sets the source.

      Parameters:
      source - the source to set
    • setTypes

      public void setTypes(String types)
      Sets the type.

      Parameters:
      types - the type to set
    • setXpath

      public void setXpath(String xpath)
      Sets the xpath.

      Parameters:
      xpath - the xpath to set