|
|||||||||
| 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.entity.AbstractEntityCommand
com.ptc.core.command.common.bean.entity.AbstractPersistentEntityCommand
com.ptc.core.query.command.common.FindPersistentEntityCommand
public class FindPersistentEntityCommand
This Command executes a query derived from the values int the source
TypeInstance.
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 | |
|---|---|
com.ptc.core.command.common.Command |
execute()
Supported API: true |
int |
getCount()
Gets the value of the attribute: count; Number of items for the page. |
TypeIdentifier[] |
getExcludedTypes()
Gets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results. |
int |
getOffset()
Gets the value of the attribute: offset; Offset of the page. |
PageMode |
getPageMode()
Gets the value of the attribute: pageMode; This attribute is an input that specifies the paging mode. |
ResultContainer |
getResultContainer()
Gets the value of the attribute: resultContainer; The container of type instances that are a result of a command being executed against a repository. |
TypeInstance[] |
getResultList()
Supported API: true |
RepositoryPagingSession |
getResultSession()
Gets the value of the attribute: resultSession; The Paging Session, if one has been established. |
com.ptc.core.meta.common.SortSpec |
getSort()
Gets the value of the attribute: sort; This attribute is an input that specifies the sort order of the result TypeInstances. |
void |
setCount(int a_Count)
Sets the value of the attribute: count; Number of items for the page. |
void |
setExcludedTypes(TypeIdentifier[] a_ExcludedTypes)
Sets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results. |
void |
setOffset(int a_Offset)
Sets the value of the attribute: offset; Offset of the page. |
void |
setPageMode(PageMode a_PageMode)
Sets the value of the attribute: pageMode; This attribute is an input that specifies the paging mode. |
void |
setSort(com.ptc.core.meta.common.SortSpec a_Sort)
Sets the value of the attribute: sort; This attribute is an input that specifies the sort order of the result TypeInstances. |
void |
setSource(TypeInstance a_Source)
Supported API: true |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public TypeIdentifier[] getExcludedTypes()
public void setExcludedTypes(TypeIdentifier[] a_ExcludedTypes)
throws WTPropertyVetoException
a_ExcludedTypes -
WTPropertyVetoException
public void setSource(TypeInstance a_Source)
throws UnsupportedOperationException,
WTPropertyVetoException
setSource in class com.ptc.core.command.common.bean.entity.AbstractEntityCommanda_Source -
UnsupportedOperationException
WTPropertyVetoException
public com.ptc.core.command.common.Command execute()
throws com.ptc.core.command.common.CommandException
execute in class com.ptc.core.command.common.bean.AbstractServerCommandcom.ptc.core.command.common.CommandExceptionpublic TypeInstance[] getResultList()
getResultList in class com.ptc.core.command.common.bean.entity.AbstractEntityCommandpublic ResultContainer getResultContainer()
getResultContainer in interface RepositoryCommand
public RepositoryPagingSession getResultSession()
throws UnsupportedOperationException
getResultSession in interface RepositoryCommandUnsupportedOperationException
public com.ptc.core.meta.common.SortSpec getSort()
throws UnsupportedOperationException,
WTException
getSort in interface RepositoryCommandUnsupportedOperationException
WTException
public void setSort(com.ptc.core.meta.common.SortSpec a_Sort)
throws UnsupportedOperationException,
WTPropertyVetoException
setSort in interface RepositoryCommanda_Sort -
UnsupportedOperationException
WTPropertyVetoException
public PageMode getPageMode()
throws UnsupportedOperationException
getPageMode in interface RepositoryCommandUnsupportedOperationException
public void setPageMode(PageMode a_PageMode)
throws UnsupportedOperationException,
WTPropertyVetoException
setPageMode in interface RepositoryCommanda_PageMode -
UnsupportedOperationException
WTPropertyVetoExceptionpublic int getOffset()
getOffset in interface PageRequest
public void setOffset(int a_Offset)
throws WTPropertyVetoException
setOffset in interface PageRequesta_Offset -
WTPropertyVetoExceptionpublic int getCount()
getCount in interface PageRequest
public void setCount(int a_Count)
throws WTPropertyVetoException
setCount in interface PageRequesta_Count -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||