|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RepositoryCommand
This interface specifies a command for retrieving data results from a
repository of data. A repository could store data in a variety of forms
such as database, flat file, legacay API interface, etc.
Supported API: true
Extendable: false
| Field Summary | |
|---|---|
static String |
PAGE_MODE
Label for the attribute; This attribute is an input that specifies the paging mode. |
static String |
RESULT_CONTAINER
Label for the attribute; The container of type instances that are a result of a command being executed against a repository. |
static String |
RESULT_SESSION
Label for the attribute; The Paging Session, if one has been established. |
static String |
SORT
Label for the attribute; This attribute is an input that specifies the sort order of the result TypeInstances. |
| Fields inherited from interface com.ptc.core.command.common.bean.repository.PageRequest |
|---|
COUNT, OFFSET |
| Method Summary | |
|---|---|
PageMode |
getPageMode()
Gets the value of the attribute: PAGE_MODE. |
ResultContainer |
getResultContainer()
Gets the value of the attribute: RESULT_CONTAINER. |
RepositoryPagingSession |
getResultSession()
Gets the value of the attribute: RESULT_SESSION. |
com.ptc.core.meta.common.SortSpec |
getSort()
Gets the value of the attribute: SORT. |
void |
setPageMode(PageMode a_PageMode)
Sets the value of the attribute: PAGE_MODE. |
void |
setSort(com.ptc.core.meta.common.SortSpec a_Sort)
Sets the value of the attribute: SORT. |
| Methods inherited from interface com.ptc.core.command.common.bean.repository.PageRequest |
|---|
getCount, getOffset, setCount, setOffset |
| Field Detail |
|---|
static final String RESULT_CONTAINER
static final String RESULT_SESSION
static final String SORT
static final String PAGE_MODE
| Method Detail |
|---|
ResultContainer getResultContainer()
RepositoryPagingSession getResultSession()
throws UnsupportedOperationException
UnsupportedOperationException
com.ptc.core.meta.common.SortSpec getSort()
throws UnsupportedOperationException,
WTException
UnsupportedOperationException
WTException
void setSort(com.ptc.core.meta.common.SortSpec a_Sort)
throws UnsupportedOperationException,
WTPropertyVetoException
a_Sort -
UnsupportedOperationException
WTPropertyVetoException
PageMode getPageMode()
throws UnsupportedOperationException
UnsupportedOperationException
void setPageMode(PageMode a_PageMode)
throws UnsupportedOperationException,
WTPropertyVetoException
a_PageMode -
UnsupportedOperationException
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||