com.arsdigita.kernel
Class ResourceCollection

java.lang.Object
  extended bycom.arsdigita.domain.DomainQuery
      extended bycom.arsdigita.domain.DomainCollection
          extended bycom.arsdigita.kernel.ACSObjectCollection
              extended bycom.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

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.domain.DomainCollection
m_dataCollection
 
Fields inherited from class com.arsdigita.domain.DomainQuery
m_dataQuery
 
Constructor Summary
ResourceCollection(DataCollection dataCollection)
           
 
Method Summary
 void filterToResourceType(String type)
           
 String getDescription()
           
 String getParentTitle()
          Returns the title of the parent resource.
 Resource getResource()
          Get the current item as an Resource domain object.
 String getTitle()
          Get the title for the resource for the current row.
 void orderByParentTitle()
           
 void orderByTitle()
           
 void orderByTypeTitle()
          Orders by the title of the application type.
 
Methods inherited from class com.arsdigita.kernel.ACSObjectCollection
getACSObject, 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
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ResourceCollection

public ResourceCollection(DataCollection dataCollection)
Method Detail

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 20 2004:2337 UTC