public class BaseSearchManager.BasicSearchDatabaseHierarchy.BasicSearchCategory extends Object implements org.sakaiproject.citation.api.SearchCategory
| Modifier | Constructor and Description |
|---|---|
protected |
BaseSearchManager.BasicSearchDatabaseHierarchy.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(org.sakaiproject.citation.api.SearchDatabase altDatabase) |
protected void |
addDatabase(String databaseId) |
protected void |
addRecommendedDatabase(String databaseId) |
protected void |
addSubcategory(org.sakaiproject.citation.api.SearchCategory subcategory) |
List<org.sakaiproject.citation.api.SearchDatabase> |
getDatabases() |
String |
getDescription() |
String |
getDisplayName() |
String |
getId() |
List<org.sakaiproject.citation.api.SearchCategory> |
getSubCategories() |
boolean |
hasDatabases() |
boolean |
hasSubCategories() |
boolean |
isDatabaseRecommended(String databaseId) |
protected boolean |
isDefault() |
protected void |
setDefault(boolean value) |
protected void |
updateDescription(String description) |
protected BaseSearchManager.BasicSearchDatabaseHierarchy.BasicSearchCategory(String name, String id)
name - display name for this categoryid - unique identifier for this categoryprotected void updateDescription(String description)
protected void addSubcategory(org.sakaiproject.citation.api.SearchCategory subcategory)
protected void addDatabase(String databaseId)
protected void addRecommendedDatabase(String databaseId)
protected void addAlternateDatabase(org.sakaiproject.citation.api.SearchDatabase altDatabase)
protected void setDefault(boolean value)
protected boolean isDefault()
public boolean hasDatabases()
hasDatabases in interface org.sakaiproject.citation.api.SearchCategorypublic List<org.sakaiproject.citation.api.SearchDatabase> getDatabases()
getDatabases in interface org.sakaiproject.citation.api.SearchCategorypublic String getDescription()
getDescription in interface org.sakaiproject.citation.api.SearchCategorypublic String getDisplayName()
getDisplayName in interface org.sakaiproject.citation.api.SearchCategorypublic String getId()
getId in interface org.sakaiproject.citation.api.SearchCategorypublic boolean hasSubCategories()
hasSubCategories in interface org.sakaiproject.citation.api.SearchCategorypublic List<org.sakaiproject.citation.api.SearchCategory> getSubCategories()
getSubCategories in interface org.sakaiproject.citation.api.SearchCategorypublic boolean isDatabaseRecommended(String databaseId)
isDatabaseRecommended in interface org.sakaiproject.citation.api.SearchCategoryCopyright © 2003-2014 The Sakai Foundation. All Rights Reserved.