Class AbstractReportQueryCommand
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.report.command.common.AbstractReportQueryCommand
- All Implemented Interfaces:
PageRequest,RepositoryCommand,Command,com.ptc.core.command.common.ServerCommand,Externalizable,Serializable
- Direct Known Subclasses:
BasicReportQueryCommand,PersistedReportQueryCommand
public abstract class AbstractReportQueryCommand
extends AbstractQueryCommand
implements Externalizable
This class provies a query implementation based on a QML source. The
results, criteria, and sort specifications are derived from the QML.
The default PageMode is also set so that no paging is performed.
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: arguments; The runtime arguments of the report query.Gets the value of the attribute: tableModel; This method returns a relational TableModel view of the results.booleanGets the value of the attribute: generateTypeInstances; Used to determine whether or not TypeInstances should be generated.voidsetArguments(Hashtable a_Arguments) Sets the value of the attribute: arguments; The runtime arguments of the report query.voidsetGenerateTypeInstances(boolean a_GenerateTypeInstances) Sets the value of the attribute: generateTypeInstances; Used to determine whether or not TypeInstances should be generated.Methods inherited from class com.ptc.core.query.command.common.AbstractQueryCommand
buildCriteriaSpec, buildToString, getCriteriaAugmentor, getCriteriaSpec, getFilter, getFilterAttribute, readVersion, setCriteriaAugmentor, setCriteriaSpecMethods inherited from class com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
buildResultList, getCount, getObjectIdOffsetList, getOffset, getPagingSnapshotQueryLimit, getRepositorySelector, getRequestor, getResultContainer, getResultSession, getSelectorTypename, readVersion, setCount, setObjectIdOffsetList, setOffset, setPagingSanpshotQueryLimit, setPagingSnapshotQueryLimit, setRepositorySelector, setResultContainer, setResultSession, setSortMethods 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
-
getTableModel
Gets the value of the attribute: tableModel; This method returns a relational TableModel view of the results.
Supported API: true- Returns:
- TableModel
-
getArguments
Gets the value of the attribute: arguments; The runtime arguments of the report query. The values are mapped to query bind parameters as specified in the QML.
Supported API: true- Returns:
- Hashtable
-
setArguments
Sets the value of the attribute: arguments; The runtime arguments of the report query. The values are mapped to query bind parameters as specified in the QML.
Supported API: true- Parameters:
a_Arguments-- Throws:
WTPropertyVetoException
-
isGenerateTypeInstances
public boolean isGenerateTypeInstances()Gets the value of the attribute: generateTypeInstances; Used to determine whether or not TypeInstances should be generated.
Supported API: true- Returns:
- boolean
-
setGenerateTypeInstances
public void setGenerateTypeInstances(boolean a_GenerateTypeInstances) throws WTPropertyVetoException Sets the value of the attribute: generateTypeInstances; Used to determine whether or not TypeInstances should be generated.
Supported API: true- Parameters:
a_GenerateTypeInstances-- Throws:
WTPropertyVetoException
-