/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.search.web.internal.search.bar.portlet;
/**
* @author André de Oliveira
*/
public class SearchBarPortletDisplayContext {
public String getCurrentSiteSearchScopeParameterString() {
return _currentSiteSearchScopeParameterString;
}
public String getEverythingSearchScopeParameterString() {
return _everythingSearchScopeParameterString;
}
public String getKeywords() {
return _keywords;
}
public String getKeywordsParameterName() {
return _keywordsParameterName;
}
public String getScopeParameterName() {
return _scopeParameterName;
}
public String getScopeParameterValue() {
return _scopeParameterValue;
}
public boolean isAvailableEverythingSearchScope() {
return _availableEverythingSearchScope;
}
public boolean isLetTheUserChooseTheSearchScope() {
return _letTheUserChooseTheSearchScope;
}
public boolean isSelectedCurrentSiteSearchScope() {
return _selectedCurrentSiteSearchScope;
}
public boolean isSelectedEverythingSearchScope() {
return _selectedEverythingSearchScope;
}
public void setAvailableEverythingSearchScope(
boolean availableEverythingSearchScope) {
_availableEverythingSearchScope = availableEverythingSearchScope;
}
public void setCurrentSiteSearchScopeParameterString(
String searchScopeCurrentSiteParameterString) {
_currentSiteSearchScopeParameterString =
searchScopeCurrentSiteParameterString;
}
public void setEverythingSearchScopeParameterString(
String searchScopeEverythingParameterString) {
_everythingSearchScopeParameterString =
searchScopeEverythingParameterString;
}
public void setKeywords(String keywords) {
_keywords = keywords;
}
public void setKeywordsParameterName(String keywordsParameterName) {
_keywordsParameterName = keywordsParameterName;
}
public void setLetTheUserChooseTheSearchScope(
boolean letTheUserChooseTheSearchScope) {
_letTheUserChooseTheSearchScope = letTheUserChooseTheSearchScope;
}
public void setScopeParameterName(String scopeParameterName) {
_scopeParameterName = scopeParameterName;
}
public void setScopeParameterValue(String scopeParameterValue) {
_scopeParameterValue = scopeParameterValue;
}
public void setSelectedCurrentSiteSearchScope(
boolean selectedCurrentSiteSearchScope) {
_selectedCurrentSiteSearchScope = selectedCurrentSiteSearchScope;
}
public void setSelectedEverythingSearchScope(
boolean selectedEverythingSearchScope) {
_selectedEverythingSearchScope = selectedEverythingSearchScope;
}
private boolean _availableEverythingSearchScope;
private String _currentSiteSearchScopeParameterString;
private String _everythingSearchScopeParameterString;
private String _keywords;
private String _keywordsParameterName;
private boolean _letTheUserChooseTheSearchScope;
private String _scopeParameterName;
private String _scopeParameterValue;
private boolean _selectedCurrentSiteSearchScope;
private boolean _selectedEverythingSearchScope;
}