|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableCategory<T>
an extension of a category that allows to set its parent category
| Nested Class Summary | |
|---|---|
static class |
MutableCategory.Adapter<T>
|
static class |
MutableCategory.Entry
|
| Method Summary | |
|---|---|
MutableCategory<T> |
getParentCategory()
returns the super category that this category belongs to - or null if it is a top-level category |
List<? extends MutableCategory<T>> |
getSubCategories(T context)
retrieves a list of sub-categories for this category |
void |
setParentCategory(MutableCategory<T> parent)
|
| Methods inherited from interface com.antelmann.db.Category |
|---|
getCategoryName |
| Method Detail |
|---|
void setParentCategory(MutableCategory<T> parent)
throws IllegalArgumentException
IllegalArgumentExceptionMutableCategory<T> getParentCategory()
Category
getParentCategory in interface Category<T>
List<? extends MutableCategory<T>> getSubCategories(T context)
throws IOException
Category
getSubCategories in interface Category<T>context - the object (typically a database, a file, a URL, etc.) that
provides the information required to derive the children from.
IOException - if the categories could not be retrieved
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||