|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.domain.DomainQuery
com.arsdigita.domain.DomainCollection
com.arsdigita.mimetypes.MimeTypeCollection
This class contains a collection of MimeTypes.
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 | |
MimeTypeCollection(DataCollection dataCollection)
Constructor. |
|
| Method Summary | |
void |
addOrder(String order)
Set the order of this Collection. |
DomainObject |
getDomainObject()
Returns a DomainObject for the current position in
the collection. |
MimeType |
getMimeType()
Returns a MimeType 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 |
public static final String versionId
| Constructor Detail |
public MimeTypeCollection(DataCollection dataCollection)
| Method Detail |
public void addOrder(String order)
next() is called on this collection.
addOrder in interface DataQueryaddOrder in class DomainQueryorder - This String parameter specifies the ordering of the
output. This should be a comma seperated list
of Attribute names (not the database column names)
in the order of precedence.
Separating attributes by commas is the same as
calling addOrder multiple times, each with the
next attribute. For instance, this
addOrder("creationDate");
addOrder("creationUser");
is the same as
addOrder("creationDate, creationUser");
If the items should be ordered in ascending order, the attribute name should be followed by the word "asc" If the items should be ordered in descending order, the attribute should be followed by the word "desc" For instance, or order by ascending date and descending user (for users created with the same date), you would use the following:
addOrder("creationDate asc, creationUser desc");
public DomainObject getDomainObject()
DomainObject for the current position in
the collection.
getDomainObject in class DomainCollectionDomainObjectpublic MimeType getMimeType()
MimeType for the current position in
the collection.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||