Class CmsSearchReplaceSettings
java.lang.Object
org.opencms.workplace.tools.searchindex.sourcesearch.CmsSearchReplaceSettings
Settings bean for the dialog.
- Since:
- 7.5.3
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBean constructor with cms object for path validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the locale.getPaths()
getQuery()
Returns the query.String[]
Returns the resources paths in an array.Returns the source.getTypes()
Returns the type.String[]
Returns the type.getXpath()
Returns the xpath.boolean
Returns the force replace flag, iftrue
the replacement will also be performed if the replacement String is empty.boolean
Returns if only content values should be searched and replaced.boolean
Returnstrue
if Solr index is selected and a query was entered.void
setForceReplace
(boolean forceReplace) Sets the force replace flag.void
Sets the locale.void
setMessage
(String message) void
setOnlyContentValues
(boolean onlyContentValue) Sets if only content values should be searched and replaced.void
Sets the paths.void
setProject
(String project) void
Sets the query.void
setReplacepattern
(String replacepattern) Sets the replace pattern.void
setResources
(String resources) void
setSearchpattern
(String searchpattern) Sets the search pattern.void
Sets the source.void
Sets the type.void
Sets the xpath.
-
Field Details
-
ATTRIBUTE_NAME_SOURCESEARCH_RESULT_LIST
The content search result list attribute name in the session.- See Also:
-
VFS
Constant for vfs.- See Also:
-
-
Constructor Details
-
CmsSearchReplaceSettings
public CmsSearchReplaceSettings()Bean constructor with cms object for path validation.
-
-
Method Details
-
getLocale
Returns the locale.- Returns:
- the locale
-
getMessage
- Returns:
- the message
-
getPaths
- Returns:
- the paths
-
getProject
- Returns:
- the project
-
getQuery
Returns the query.- Returns:
- the query
-
getReplacepattern
- Returns:
- the replace pattern
-
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
Returns the source.- Returns:
- the source
-
getTypes
Returns the type.- Returns:
- the type
-
getTypesArray
Returns the type.- Returns:
- the type
-
getXpath
Returns the xpath.- Returns:
- the xpath
-
isForceReplace
Returns the force replace flag, iftrue
the replacement will also be performed if the replacement String is empty.- Returns:
- the force replace flag
-
isOnlyContentValues
Returns if only content values should be searched and replaced.- Returns:
- if only content values should be searched and replaced
-
isSolrSearch
Returnstrue
if Solr index is selected and a query was entered.- Returns:
true
if Solr index is selected and a query was entered
-
setForceReplace
Sets the force replace flag.- Parameters:
forceReplace
- the force replace flag to set
-
setLocale
Sets the locale.- Parameters:
locale
- the locale to set
-
setMessage
- Parameters:
message
- the message to set
-
setOnlyContentValues
Sets if only content values should be searched and replaced.- Parameters:
onlyContentValue
- if only content values should be searched and replaced
-
setPaths
Sets the paths.- Parameters:
paths
- the paths to set
-
setProject
- Parameters:
project
- the project to work in
-
setQuery
Sets the query.- Parameters:
query
- the query to set
-
setReplacepattern
Sets the replace pattern.- Parameters:
replacepattern
- the replace pattern
-
setResources
- Parameters:
resources
- the resources to set
-
setSearchpattern
Sets the search pattern.- Parameters:
searchpattern
- the search pattern
-
setSource
Sets the source.- Parameters:
source
- the source to set
-
setTypes
Sets the type.- Parameters:
types
- the type to set
-
setXpath
Sets the xpath.- Parameters:
xpath
- the xpath to set
-