public class BaseSearchManager.BasicSearchDatabaseHierarchy.BasicSearchCategory extends Object implements SearchCategory
| Modifier | Constructor and Description |
|---|---|
protected |
BasicSearchCategory(String name,
String id)
BasicSearchCategory constructor creates a BasicSearchCategory
with the given name and id
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAlternateDatabase(SearchDatabase altDatabase) |
protected void |
addDatabase(String databaseId) |
protected void |
addRecommendedDatabase(String databaseId) |
protected void |
addSubcategory(SearchCategory subcategory) |
List<SearchDatabase> |
getDatabases() |
String |
getDescription() |
String |
getDisplayName() |
String |
getId() |
List<SearchCategory> |
getSubCategories() |
boolean |
hasDatabases() |
boolean |
hasSubCategories() |
boolean |
isDatabaseRecommended(String databaseId) |
protected boolean |
isDefault() |
protected void |
setDefault(boolean value) |
protected void |
updateDescription(String description) |
protected void updateDescription(String description)
protected void addSubcategory(SearchCategory subcategory)
protected void addDatabase(String databaseId)
protected void addRecommendedDatabase(String databaseId)
protected void addAlternateDatabase(SearchDatabase altDatabase)
protected void setDefault(boolean value)
protected boolean isDefault()
public boolean hasDatabases()
hasDatabases in interface SearchCategorypublic List<SearchDatabase> getDatabases()
getDatabases in interface SearchCategorypublic String getDescription()
getDescription in interface SearchCategorypublic String getDisplayName()
getDisplayName in interface SearchCategorypublic String getId()
getId in interface SearchCategorypublic boolean hasSubCategories()
hasSubCategories in interface SearchCategorypublic List<SearchCategory> getSubCategories()
getSubCategories in interface SearchCategorypublic boolean isDatabaseRecommended(String databaseId)
isDatabaseRecommended in interface SearchCategoryCopyright © 2003–2016 The Sakai Foundation. All rights reserved.