com.arsdigita.cms
Class ImageAssetCollection

java.lang.Object
  extended bycom.arsdigita.domain.DomainQuery
      extended bycom.arsdigita.domain.DomainCollection
          extended bycom.arsdigita.cms.ImageAssetCollection
All Implemented Interfaces:
com.arsdigita.persistence.DataQuery
Direct Known Subclasses:
ArticleImageAssnCollection

public class ImageAssetCollection
extends com.arsdigita.domain.DomainCollection

This class contains a collection of images.

Version:
1.0
Author:
Jack Chung
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
ImageAssetCollection(com.arsdigita.persistence.DataCollection dataCollection)
          Constructor.
 
Method Summary
 com.arsdigita.persistence.Filter addFilter(String conditions)
           
 void addOrder(String order)
          Set the order of this Collection.
 void clearFilter()
           
 void clearOrder()
           
 com.arsdigita.domain.DomainObject getDomainObject()
          Returns a DomainObject for the current position in the collection.
 ImageAsset getImage()
          Returns a Image for the current position in the collection.
 
Methods inherited from class com.arsdigita.domain.DomainQuery
addEqualsFilter, addFilter, addInSubqueryFilter, addInSubqueryFilter, addNotEqualsFilter, addNotInSubqueryFilter, addOrderWithNull, addPath, alias, 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

ImageAssetCollection

public ImageAssetCollection(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.


getImage

public ImageAsset getImage()
Returns a Image for the current position in the collection.


addFilter

public com.arsdigita.persistence.Filter addFilter(String conditions)

clearFilter

public void clearFilter()

clearOrder

public void clearOrder()
                throws com.arsdigita.persistence.PersistenceException
Throws:
com.arsdigita.persistence.PersistenceException


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