|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.command.common.bean.AbstractCommand
com.ptc.core.command.common.bean.AbstractServerCommand
com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
com.ptc.core.query.command.common.AbstractQueryCommand
com.ptc.core.query.command.common.BasicQueryCommand
public class BasicQueryCommand
This class provies a basic implementation of a query comand the results,
criteria, and sort specifications are implemented as simple attributes
with setters and getters.
Supported API: true
Extendable: false
| Field Summary |
|---|
| Fields inherited from interface com.ptc.core.command.common.bean.repository.RepositoryCommand |
|---|
PAGE_MODE, RESULT_CONTAINER, RESULT_SESSION, SORT |
| Fields inherited from interface com.ptc.core.command.common.bean.repository.PageRequest |
|---|
COUNT, OFFSET |
| Method Summary | |
|---|---|
void |
appendCriteria(com.ptc.core.meta.container.common.AttributeContainerSet a_criteria,
boolean a_union)
Appends the specified criteria to the existing criteria. |
com.ptc.core.meta.container.common.AttributeContainerSet |
getCriteria()
Gets the value of the attribute: criteria; Specifies the criteria that "filters" TypeInstances returned in the query. |
ResultSpec |
getResult()
Gets the value of the attribute: result; Specificies the list of AttributeTypeIdentifiers that are to be included in the results. |
com.ptc.core.meta.common.SortSpec |
getSort()
Gets the value of the attribute: sort; Specifies the TypeInstance sort order. |
void |
setCriteria(com.ptc.core.meta.container.common.AttributeContainerSet a_Criteria)
Sets the value of the attribute: criteria; Specifies the criteria that "filters" TypeInstances returned in the query. |
void |
setResult(ResultSpec a_Result)
Sets the value of the attribute: result; Specificies the list of AttributeTypeIdentifiers that are to be included in the results. |
void |
setSort(com.ptc.core.meta.common.SortSpec a_Sort)
Sets the value of the attribute: sort; Specifies the TypeInstance sort order. |
| Methods inherited from class com.ptc.core.query.command.common.AbstractQueryCommand |
|---|
getCriteriaAugmentor, getPageMode, setCriteriaAugmentor, setPageMode |
| Methods inherited from class com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand |
|---|
getCount, getOffset, getResultContainer, getResultList, getResultSession, setCount, setOffset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public com.ptc.core.meta.common.SortSpec getSort()
throws WTException
getSort in interface RepositoryCommandWTException
public void setSort(com.ptc.core.meta.common.SortSpec a_Sort)
throws WTPropertyVetoException
setSort in interface RepositoryCommandsetSort in class AbstractRepositoryCommanda_Sort -
WTPropertyVetoException
public com.ptc.core.meta.container.common.AttributeContainerSet getCriteria()
throws WTException
WTException
public void setCriteria(com.ptc.core.meta.container.common.AttributeContainerSet a_Criteria)
throws WTPropertyVetoException
a_Criteria -
WTPropertyVetoException
public ResultSpec getResult()
throws WTException
WTException
public void setResult(ResultSpec a_Result)
throws WTPropertyVetoException
a_Result -
WTPropertyVetoException
public void appendCriteria(com.ptc.core.meta.container.common.AttributeContainerSet a_criteria,
boolean a_union)
throws WTException
a_criteria - criteria instance to appenda_union - Indicates if the criteria should be a union (i.e. logical OR) or and intersection (i.e. logical AND).
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||