com.arsdigita.categorization
Class RootCategoryCollection

java.lang.Object
  extended bycom.arsdigita.domain.DomainQuery
      extended bycom.arsdigita.domain.DomainCollection
          extended bycom.arsdigita.kernel.ACSObjectCollection
              extended bycom.arsdigita.categorization.RootCategoryCollection
All Implemented Interfaces:
DataQuery

public class RootCategoryCollection
extends ACSObjectCollection

Represents a collection of root categories. See com.arsdigita.categorization for details.

Since:
2003-09-26
Version:
$Revision: #8 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Vadim Nasardinov (vadimn@redhat.com)
See Also:
com.arsdigita.categorization

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
RootCategoryCollection(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()
           
 String getName()
          Returns the name of the category.
 String getUseContext()
           
 boolean isEnabled()
          Determines the current state of the category.
 
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

RootCategoryCollection

public RootCategoryCollection(DataCollection dataCollection)
Method Detail

getName

public String getName()
Returns the name of the category.

Returns:
the category name.
See Also:
Category.getName()

getDescription

public String getDescription()
Returns:
the description
See Also:
Category.getDescription()

getUseContext

public String getUseContext()

isEnabled

public boolean isEnabled()
Determines the current state of the category.

Returns:
true if the category is enabled; false otherwise.
See Also:
Category.isEnabled()

getCategory

public Category getCategory()
Wrapper to getDomainObject() that casts the returned DomainObject as a Category.

Returns:
a Category for the current position in the collection.

getACSObject

public ACSObject getACSObject()
Description copied from class: ACSObjectCollection
Wrapper to getDomainObject() that casts the returned DomainObject as an ACSObject.

Overrides:
getACSObject in class ACSObjectCollection
Returns:
an ACSObject for the current position in the collection.
See Also:
ACSObjectCollection.getDomainObject(), Party, DomainObject


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC