Class AttributeContainerQueryCommand
java.lang.Object
com.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
com.ptc.core.query.command.common.AttributeContainerQueryCommand
- All Implemented Interfaces:
PageRequest,RepositoryCommand,Command,com.ptc.core.command.common.ServerCommand,Externalizable,Serializable
This class provies a query implementation based on the contents of an
AttributeContainer. The results, criteria, and sort specifications are
derived from the input AttributeContainer.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
DEFAULT_REPOSITORY_SELECTORFields inherited from class com.ptc.core.command.common.bean.AbstractServerCommand
SERVERFields inherited from interface com.ptc.core.command.common.Command
FEEDBACK_SPEC, LOCALEFields inherited from interface com.ptc.core.command.common.bean.repository.PageRequest
COUNT, OBJECT_ID_OFFSET_LIST, OFFSETFields inherited from interface com.ptc.core.command.common.bean.repository.RepositoryCommand
PAGE_MODE, RESULT_CONTAINER, RESULT_SESSION, SORTFields inherited from interface com.ptc.core.command.common.ServerCommand
COMMAND_CONTEXT, CONTAINER_IDENTIFIER, FILTER -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.Gets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.voidsetExcludedTypes(TypeIdentifier[] a_ExcludedTypes) Sets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.voidsetInputContainer(AttributeContainer a_InputContainer) Sets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.Methods inherited from class com.ptc.core.query.command.common.BasicQueryCommand
appendCriteria, getResult, getSort, readVersion, setCriteria, setResult, setSortMethods inherited from class com.ptc.core.query.command.common.AbstractQueryCommand
buildCriteriaSpec, getCriteriaAugmentor, getCriteriaSpec, getFilter, getFilterAttribute, getPageMode, readVersion, setCriteriaAugmentor, setCriteriaSpec, setPageModeMethods inherited from class com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
buildResultList, getCount, getObjectIdOffsetList, getOffset, getPagingSnapshotQueryLimit, getRepositorySelector, getResultContainer, getResultList, getResultSession, readVersion, setCount, setObjectIdOffsetList, setOffset, setPagingSanpshotQueryLimit, setPagingSnapshotQueryLimit, setRepositorySelector, setResultContainer, setResultSession, toStringMethods inherited from class com.ptc.core.command.common.bean.AbstractServerCommand
execute, getCommandContext, getContainerIdentifier, isExecutable, putOnCommandContext, readVersion, setCommandContext, setContainerIdentifier, setFilterMethods inherited from class com.ptc.core.command.common.bean.AbstractCommand
getFeedbackSpec, getLocale, getTargetLanguage, readVersion, setFeedbackSpec, setLocale, setTargetLanguageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ptc.core.command.common.Command
getFeedbackSpec, getLocale, getTargetLanguage, setFeedbackSpec, setLocale, setTargetLanguage
-
Method Details
-
getInputContainer
Gets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.
Supported API: true- Returns:
- AttributeContainer
- Throws:
UnsupportedOperationException
-
setInputContainer
public void setInputContainer(AttributeContainer a_InputContainer) throws UnsupportedOperationException, WTPropertyVetoException, CommandException Sets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.
Supported API: true- Parameters:
a_InputContainer-- Throws:
UnsupportedOperationExceptionWTPropertyVetoExceptionCommandException
-
getExcludedTypes
Gets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.
Supported API: true- Returns:
- TypeIdentifier[]
-
setExcludedTypes
Sets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.
Supported API: true- Parameters:
a_ExcludedTypes-- Throws:
WTPropertyVetoException
-