|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.domain.DomainQuery
com.arsdigita.cms.CategoryItemsQuery
This class represents a query which returns the ContentItems in a given category. The query may return either LIVE or DRAFT items. For each ContentItem returned, the fields represented in the query are ItemID, Name, DisplayName, ObjectType and DefaultDomainClass.
DomainQuery| Field Summary | |
static String |
CATEGORY_ID
|
static String |
CONTEXT
|
static String |
DEFAULT_DOMAIN_CLASS
|
static String |
DISPLAY_NAME
|
static String |
ITEM_ID
|
static String |
NAME
|
static String |
OBJECT_TYPE
|
| Fields inherited from class com.arsdigita.domain.DomainQuery |
m_dataQuery, versionId |
| Method Summary | |
String |
getDefaultDomainClass()
Returns the value of the defaultDomainClass property associated with |
String |
getDisplayName()
Returns the value of the displayName property associated with |
BigDecimal |
getItemID()
Returns the value of the itemID property associated with |
String |
getName()
Returns the value of the name property associated with |
String |
getObjectType()
Returns the value of the objectType property associated with |
static CategoryItemsQuery |
retrieve(com.arsdigita.categorization.Category cat)
Returns a CategoryItemsQuery for the given Category and default LIVE context |
static CategoryItemsQuery |
retrieve(com.arsdigita.categorization.Category cat,
String context)
Returns a CategoryItemsQuery for the given Category and item context |
| 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 |
public static final String CATEGORY_ID
public static final String CONTEXT
public static final String ITEM_ID
public static final String NAME
public static final String DISPLAY_NAME
public static final String OBJECT_TYPE
public static final String DEFAULT_DOMAIN_CLASS
| Method Detail |
public static CategoryItemsQuery retrieve(com.arsdigita.categorization.Category cat)
cat - Category within which to retrieve items
public static CategoryItemsQuery retrieve(com.arsdigita.categorization.Category cat,
String context)
cat - Category within which to retrieve itemscontext - Context (DRAFT or LIVE) for the items.public BigDecimal getItemID()
public String getName()
public String getDisplayName()
public String getObjectType()
public String getDefaultDomainClass()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||