Class CaseQuery.GroupByQuery
- java.lang.Object
-
- ch.ivyteam.ivy.persistence.query.Query<ICase>
-
- ch.ivyteam.ivy.workflow.query.CaseQuery
-
- ch.ivyteam.ivy.workflow.query.CaseQuery.GroupByQuery
-
- All Implemented Interfaces:
CaseQuery.IGroupByQueryColumns
- Enclosing class:
- CaseQuery
public static class CaseQuery.GroupByQuery extends CaseQuery implements CaseQuery.IGroupByQueryColumns
Provides methods to group the result by certain fields.Example:
Corresponds to SQL:CaseQuery.businessCases().groupBy().ownerRoleId().ownerName().aggregate().countRows();
SELECT OwnerRoleId, OwnerUserId, Count(*) AS Count FROM IWA_Case GROUP BY OwnerRoleId, OwnerUserId
- API:
- This is a public API.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ch.ivyteam.ivy.workflow.query.CaseQuery
CaseQuery.AggregationQuery, CaseQuery.FilterLink, CaseQuery.FilterQuery, CaseQuery.GroupByQuery, CaseQuery.IAggregationQuery, CaseQuery.IBoolFilterQuery, CaseQuery.ICaseStateFilterQuery, CaseQuery.IClobColumnFilterQuery, CaseQuery.IColumnFilterQuery, CaseQuery.ICustomFieldAggregationQuery, CaseQuery.ICustomFieldFilterQuery, CaseQuery.ICustomFieldGroupBy, CaseQuery.ICustomFieldOrderBy, CaseQuery.IDateColumnFilterQuery, CaseQuery.IFilterableColumns, CaseQuery.IFilterLink, CaseQuery.IFilterQuery, CaseQuery.IGroupByQueryColumns, CaseQuery.IIntegerColumnFilterQuery, CaseQuery.INumberColumnFilterQuery, CaseQuery.IOrderByQueryColumns, CaseQuery.IPatternColumnFilterQuery, CaseQuery.IStringColumnFilterQuery, CaseQuery.IWorkflowPriorityFilterQuery, CaseQuery.OrderByColumnQuery, CaseQuery.OrderByQuery
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseQuery.GroupByQueryactivatorId()Groups the result of the query by the fieldActivatorId.CaseQuery.GroupByQueryapplicationId()Groups the result of the query by the fieldApplicationId.CaseQuery.GroupByQuerybusinessCalendar()Groups the result of the query by the fieldBusinessCalendar.CaseQuery.GroupByQuerybusinessCaseId()Groups the result of the query by the fieldBusinessCaseId.CaseQuery.GroupByQuerybusinessRuntime()Groups the result of the query by the fieldBusinessRuntime.CaseQuery.GroupByQuerycaseId()Groups the result of the query by the fieldCaseId.CaseQuery.GroupByQuerycategory()Groups the result of the query by the fieldCategory.CaseQuery.GroupByQuerycreatorId()Groups the result of the query by the fieldCreatorId.CaseQuery.GroupByQuerycreatorTaskId()Groups the result of the query by the fieldCreatorTaskId.CaseQuery.GroupByQuerycreatorUserDisplayName()Groups the result of the query by the fieldCreatorUserDisplayName.CaseQuery.GroupByQuerycreatorUserName()Groups the result of the query by the fieldCreatorUserName.CaseQuery.ICustomFieldGroupBycustomField()Groups the result of the query by a custom field specified during further composition.CaseQuery.GroupByQuerydescription()Groups the result of the query by the fieldDescription.CaseQuery.GroupByQuerydisplayDescriptionTemplate()Groups the result of the query by the fieldDisplayDescriptionTemplate.CaseQuery.GroupByQuerydisplayNameTemplate()Groups the result of the query by the fieldDisplayNameTemplate.CaseQuery.GroupByQueryendTimestamp()Groups the result of the query by the fieldEndTimestamp.CaseQuery.GroupByQueryenvironment()Groups the result of the query by the fieldEnvironment.CaseQuery.GroupByQueryname()Groups the result of the query by the fieldName.CaseQuery.GroupByQueryownerDisplayName()Groups the result of the query by the fieldOwnerDisplayName.CaseQuery.GroupByQueryownerId()Groups the result of the query by the fieldOwnerId.CaseQuery.GroupByQueryownerName()Groups the result of the query by the fieldOwnerName.CaseQuery.GroupByQuerypriority()Groups the result of the query by the fieldPriority.CaseQuery.GroupByQueryprocessModelId()Groups the result of the query by the fieldProcessModelId.CaseQuery.GroupByQuerystage()Groups the result of the query by the fieldStage.CaseQuery.GroupByQuerystartTimestamp()Groups the result of the query by the fieldStartTimestamp.CaseQuery.GroupByQuerystate()Groups the result of the query by the fieldState.CaseQuery.GroupByQuerytaskStartId()Groups the result of the query by the fieldTaskStartId.CaseQuery.GroupByQueryworkingTime()Groups the result of the query by the fieldWorkingTime.
-
-
-
Method Detail
-
caseId
public CaseQuery.GroupByQuery caseId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
CaseId.SQL part:
GROUP BY CaseId- Specified by:
caseIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.caseId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
businessCaseId
public CaseQuery.GroupByQuery businessCaseId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
BusinessCaseId.SQL part:
GROUP BY BusinessCaseId- Specified by:
businessCaseIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.businessCaseId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
applicationId
public CaseQuery.GroupByQuery applicationId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
ApplicationId.SQL part:
GROUP BY ApplicationId- Specified by:
applicationIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.applicationId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
processModelId
public CaseQuery.GroupByQuery processModelId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
ProcessModelId.SQL part:
GROUP BY ProcessModelId- Specified by:
processModelIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.processModelId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
taskStartId
public CaseQuery.GroupByQuery taskStartId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
TaskStartId.SQL part:
GROUP BY TaskStartId- Specified by:
taskStartIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.taskStartId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
activatorId
public CaseQuery.GroupByQuery activatorId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
ActivatorId.SQL part:
GROUP BY ActivatorId- Specified by:
activatorIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.activatorId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
creatorId
public CaseQuery.GroupByQuery creatorId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
CreatorId.SQL part:
GROUP BY CreatorId- Specified by:
creatorIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.creatorId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
creatorUserName
public CaseQuery.GroupByQuery creatorUserName()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
CreatorUserName.SQL part:
GROUP BY CreatorUserNameThis is a virtual column. It contains the same value as the column
Nameof the referencedCreator.- Specified by:
creatorUserNamein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.creatorUserName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
creatorUserDisplayName
public CaseQuery.GroupByQuery creatorUserDisplayName()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
CreatorUserDisplayName.SQL part:
GROUP BY CreatorUserDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedCreator.- Specified by:
creatorUserDisplayNamein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.creatorUserDisplayName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
creatorTaskId
public CaseQuery.GroupByQuery creatorTaskId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
CreatorTaskId.SQL part:
GROUP BY CreatorTaskId- Specified by:
creatorTaskIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.creatorTaskId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
environment
public CaseQuery.GroupByQuery environment()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Environment.SQL part:
GROUP BY Environment- Specified by:
environmentin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.environment()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
displayNameTemplate
public CaseQuery.GroupByQuery displayNameTemplate()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
DisplayNameTemplate.SQL part:
GROUP BY DisplayNameTemplate- Specified by:
displayNameTemplatein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.displayNameTemplate()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
name
public CaseQuery.GroupByQuery name()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Name.SQL part:
GROUP BY Name- Specified by:
namein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.name()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
displayDescriptionTemplate
public CaseQuery.GroupByQuery displayDescriptionTemplate()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
DisplayDescriptionTemplate.SQL part:
GROUP BY DisplayDescriptionTemplate- Specified by:
displayDescriptionTemplatein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.displayDescriptionTemplate()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
description
public CaseQuery.GroupByQuery description()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Description.SQL part:
GROUP BY Description- Specified by:
descriptionin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.description()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
startTimestamp
public CaseQuery.GroupByQuery startTimestamp()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
StartTimestamp.SQL part:
GROUP BY StartTimestamp- Specified by:
startTimestampin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.startTimestamp()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
endTimestamp
public CaseQuery.GroupByQuery endTimestamp()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
EndTimestamp.SQL part:
GROUP BY EndTimestamp- Specified by:
endTimestampin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.endTimestamp()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
businessCalendar
public CaseQuery.GroupByQuery businessCalendar()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
BusinessCalendar.SQL part:
GROUP BY BusinessCalendar- Specified by:
businessCalendarin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.businessCalendar()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
workingTime
public CaseQuery.GroupByQuery workingTime()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
WorkingTime.SQL part:
GROUP BY WorkingTime- Specified by:
workingTimein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.workingTime()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
businessRuntime
public CaseQuery.GroupByQuery businessRuntime()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
BusinessRuntime.SQL part:
GROUP BY BusinessRuntime- Specified by:
businessRuntimein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.businessRuntime()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
state
public CaseQuery.GroupByQuery state()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
State.SQL part:
GROUP BY State- Specified by:
statein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.state()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
priority
public CaseQuery.GroupByQuery priority()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Priority.SQL part:
GROUP BY Priority- Specified by:
priorityin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.priority()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
stage
public CaseQuery.GroupByQuery stage()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Stage.SQL part:
GROUP BY Stage- Specified by:
stagein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.stage()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
ownerId
public CaseQuery.GroupByQuery ownerId()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
OwnerId.SQL part:
GROUP BY OwnerId- Specified by:
ownerIdin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.ownerId()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
ownerName
public CaseQuery.GroupByQuery ownerName()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
OwnerName.SQL part:
GROUP BY OwnerNameThis is a virtual column. It contains the same value as the column
MemberNameof the referencedOwner.- Specified by:
ownerNamein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.ownerName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
ownerDisplayName
public CaseQuery.GroupByQuery ownerDisplayName()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
OwnerDisplayName.SQL part:
GROUP BY OwnerDisplayNameThis is a virtual column. It contains the same value as the column
DisplayNameof the referencedOwner.- Specified by:
ownerDisplayNamein interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.ownerDisplayName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
category
public CaseQuery.GroupByQuery category()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by the field
Category.SQL part:
GROUP BY Category- Specified by:
categoryin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- See Also:
CaseQuery.IGroupByQueryColumns.category()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
customField
public CaseQuery.ICustomFieldGroupBy customField()
Description copied from interface:CaseQuery.IGroupByQueryColumnsGroups the result of the query by a custom field specified during further composition.
- Specified by:
customFieldin interfaceCaseQuery.IGroupByQueryColumns- Returns:
- query for further composition
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-