Returns the category within this hierarchy with the given category id
Parameters: categoryId - id of category to check SearchCategory within this hierarchy with given category id; nullif the category id is not found in this hierarchy
Returns a list containing all categories in this hierarchy.
This list can be used to iterate through the entire hierarchy.
list containing the SearchCategory objects in this hierarchy.
Returns the default category in this hierarchy. A default category will contain
at least one database and no sub-categories.
Default category in this hierarchy, or null if it does not exist.
Returns the number of hierarchical levels in this hierarchy.
number of hierarchical levels in this hierarchy. One less than the number returnedprovides the number of categorization levels - examples:
return value of 1 indicates there are just databases (no categorization)
return value of 5 indicates there are 4 categorization levels
Returns the maximum number of searchable databases within this hierarchy.
This number defaults to 8 for now.
max number of searchable databases within this hierarchy
getRepository
public org.osid.repository.Repository getRepository()(Code)
Get the Repository associated with this hierarchy
Repository associated with this hierarchy
Determines whether or not this hierarchy is properly configured.
This hierarchy could not be properly configured if the config xml files
are not found or there is an error in parsing them.
true if hierarchy is properly configured, false otherwise.
isSearchableDatabase
public boolean isSearchableDatabase(String databaseId)(Code)
Determines whether or not the given database is within this hierarchy.
Parameters: databaseId - database id to check true if the database exists in this hierarchy,false if it does not