Uses of Class
org.compiere.model.Query
Package
Description
This is the package that contains the majority of iDempiere's generated model class and interface.
Provide majority of iDempiere's extended model class (M*).
Provide majority of iDempiere's extended model class (M*).
-
Uses of Query in org.compiere.model
Modifier and TypeMethodDescriptionQuery.addJoinClause
(String joinClause) Add join clause (with JOIN keyword)MTable.createQuery
(String whereClause, String trxName) Create new query for whereClausestatic final Query
MFactAcct.createRecordIdQuery
(int AD_Table_ID, int Record_ID, int C_AcctSchema_ID, String trxName) Create Fact_Acct query for table and record idstatic Query
MDashboardContent.getForSessionQuery
(boolean isShowInDashboard, int AD_User_ID, int AD_Role_ID) static Query
MDashboardContent.getForSessionQuery
(int AD_User_ID, int AD_Role_ID) static Query
MDashboardContent.getForUser
(int AD_User_ID, int AD_Role_ID) Query.selectColumns
(String... columns) Set the columns to include in select query.
Note that this doesn't effectiterate()
.Query.setApplyAccessFilter
(boolean flag) Turn on/off the addition of data access filterQuery.setApplyAccessFilter
(boolean fullyQualified, boolean RW) Turn on data access filter with controlsQuery.setClient_ID()
Set Client_ID true for WhereClause to auto include AD_Client_IDQuery.setClient_ID
(boolean isIncludeClient) Set include or not include AD_Client_ID in where clauseQuery.setForUpdate
(boolean forUpdate) Add FOR UPDATE clauseQuery.setNoVirtualColumn
(boolean noVirtualColumn) Virtual columns are lazy loaded by default.Query.setOnlyActiveRecords
(boolean onlyActiveRecords) Select only active records (i.e.Query.setOnlySelection
(int AD_PInstance_ID) Only records that are in T_Selection with AD_PInstance_ID.Query.setOrderBy
(String orderBy) Set order by clause.
If the string starts with "ORDER BY" then "ORDER BY" keywords will be discarded.Query.setPage
(int pPageSize, int pPagesToSkip) Set the pagination of the query.Query.setPageSize
(int pPageSize) Set the pagination of the query.Query.setParameters
(Object... parameters) Set query parametersQuery.setParameters
(List<Object> parameters) Set query parametersQuery.setQueryTimeout
(int seconds) Set query statement timeout in secondsQuery.setRecordstoSkip
(int pRecordsToSkip) Set the number of records to skip (a.k.a.Query.setVirtualColumns
(String... virtualColumns) Virtual columns to be included in the query.