com.arsdigita.cms.lifecycle
Class PhaseCollection

java.lang.Object
  extended bycom.arsdigita.domain.DomainQuery
      extended bycom.arsdigita.domain.DomainCollection
          extended bycom.arsdigita.cms.lifecycle.PhaseCollection
All Implemented Interfaces:
com.arsdigita.persistence.DataQuery

public class PhaseCollection
extends com.arsdigita.domain.DomainCollection

This class contains a collection for Phases

Version:
$Revision: #7 $ $Date: 2004/04/07 $
Author:
Jack Chung (flattop@arsdigita.com)
See Also:
DomainCollection, DataCollection

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
PhaseCollection(com.arsdigita.persistence.DataCollection dataCollection)
          Constructor.
 
Method Summary
 void addOrder(String order)
          Set the order of this Collection.
 com.arsdigita.domain.DomainObject getDomainObject()
          Returns a DomainObject for the current position in the collection.
 Phase getPhase()
          Returns a ContentItem for the current position in the collection.
 
Methods inherited from class com.arsdigita.domain.DomainQuery
addEqualsFilter, addFilter, addFilter, addInSubqueryFilter, addInSubqueryFilter, addNotEqualsFilter, addNotInSubqueryFilter, 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

PhaseCollection

public PhaseCollection(com.arsdigita.persistence.DataCollection dataCollection)
Constructor.

Method Detail

addOrder

public void addOrder(String order)
Set the order of this Collection. This method needs to be called before next() is called on this collection.


getDomainObject

public com.arsdigita.domain.DomainObject getDomainObject()
Returns a DomainObject for the current position in the collection.


getPhase

public Phase getPhase()
Returns a ContentItem for the current position in the collection.



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