|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.domain.DomainQuery
com.arsdigita.domain.DomainCollection
com.arsdigita.kernel.ACSObjectCollection
com.arsdigita.categorization.CategoryCollection
Represents a collection of categories.
Instances of this class are produced by various methods in Category and other classes. See, for example, Category.getChildren()
or Category.getDescendants().
| Field Summary |
| Fields inherited from class com.arsdigita.kernel.ACSObjectCollection |
versionId |
| Fields inherited from class com.arsdigita.domain.DomainCollection |
m_dataCollection |
| Fields inherited from class com.arsdigita.domain.DomainQuery |
m_dataQuery |
| Constructor Summary | |
CategoryCollection(DataCollection dataCollection)
|
|
| Method Summary | |
ACSObject |
getACSObject()
Wrapper to getDomainObject() that casts the returned
DomainObject as an ACSObject. |
Category |
getCategory()
Wrapper to getDomainObject() that casts the returned
DomainObject as a Category. |
String |
getDescription()
Returns the description. |
String |
getName()
Returns the name of the category. |
boolean |
isEnabled()
Determines the current state of the category. |
void |
sort(boolean ascending)
Sorts the category collection by the category sort key. |
| Methods inherited from class com.arsdigita.kernel.ACSObjectCollection |
getDisplayName, getDomainObject, getID, getSpecificObjectType |
| Methods inherited from class com.arsdigita.domain.DomainQuery |
addEqualsFilter, addFilter, addFilter, addInSubqueryFilter, addInSubqueryFilter, addNotEqualsFilter, addNotInSubqueryFilter, addOrder, addOrderWithNull, addPath, alias, clearFilter, clearOrder, close, first, get, getFilterFactory, getParameter, getPosition, getPropertyValues, getType, hasProperty, isAfterLast, isBeforeFirst, isEmpty, isFirst, isLast, last, next, previous, removeFilter, reset, rewind, setFilter, setOrder, setParameter, setRange, setRange, setReturnsLowerBound, setReturnsUpperBound, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CategoryCollection(DataCollection dataCollection)
| Method Detail |
public String getName()
Category.getName()public String getDescription()
Category.getDescription()public boolean isEnabled()
true if the category is enabled; false
otherwise.Category.isEnabled()public Category getCategory()
getDomainObject() that casts the returned
DomainObject as a Category.
Category for the current position in the
collection.public ACSObject getACSObject()
ACSObjectCollectiongetDomainObject() that casts the returned
DomainObject as an ACSObject.
getACSObject in class ACSObjectCollectionACSObject for the current position in the
collection.ACSObjectCollection.getDomainObject(),
Party,
DomainObjectpublic final void sort(boolean ascending)
CategorizedCollection.sort(boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||