com.arsdigita.kernel
Class ResourceCollection
java.lang.Object
com.arsdigita.domain.DomainQuery
com.arsdigita.domain.DomainCollection
com.arsdigita.kernel.ACSObjectCollection
com.arsdigita.kernel.ResourceCollection
- All Implemented Interfaces:
- DataQuery
- public class ResourceCollection
- extends ACSObjectCollection
A collection of Resources. This class includes methods to
filter and order the results of retrieving resources.
- Author:
- Jim Parsons <jparsons@redhat.com>
- See Also:
Resource
,
ResourceType
,
ResourceTypeCollection
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 |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ResourceCollection
public ResourceCollection(DataCollection dataCollection)
filterToResourceType
public void filterToResourceType(String type)
orderByTypeTitle
public void orderByTypeTitle()
- Orders by the title of the application type.
orderByTitle
public void orderByTitle()
orderByParentTitle
public void orderByParentTitle()
getResource
public Resource getResource()
- Get the current item as an Resource domain object.
- Returns:
- a Resource domain object.
getTitle
public String getTitle()
- Get the title for the resource for the current row.
- Returns:
- the title of this resource.
getParentTitle
public String getParentTitle()
- Returns the title of the parent resource.
- Returns:
- The title of the parent resource.
getDescription
public String getDescription()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC