Class MetricsAggregatedQueryDto
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.webapp.db.QueryParameters
org.camunda.bpm.webapp.rest.dto.AbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
org.camunda.bpm.admin.impl.plugin.base.dto.MetricsAggregatedQueryDto
- All Implemented Interfaces:
Serializable
public class MetricsAggregatedQueryDto
extends AbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Date
protected String
protected Date
protected int
protected int
protected Date
Fields inherited from class org.camunda.bpm.webapp.rest.dto.AbstractRestQueryParametersDto
DEFAULT_ORDER, objectMapper, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortOrder
Fields inherited from class org.camunda.bpm.webapp.db.QueryParameters
historyEnabled, maxResultsLimitEnabled
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
ConstructorDescriptionMetricsAggregatedQueryDto
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getOrderByValue
(String sortBy) int
int
protected boolean
isValidSortByValue
(String value) void
setEndDate
(Date endDate) void
setGroupBy
(String groupBy) void
setMetrics
(List<String> metrics) void
setStartDate
(Date startDate) void
setSubscriptionStartDate
(Date subscriptionStartDate) void
Methods inherited from class org.camunda.bpm.webapp.rest.dto.AbstractRestQueryParametersDto
getInternalOrderBy, getOrderBy, resolveVariableValue, setObjectMapper, setSortBy, setSortOrder, setValueBasedOnAnnotation, sortOptionsValid
Methods inherited from class org.camunda.bpm.webapp.db.QueryParameters
disableMaxResultsLimit, isHistoryEnabled, isMaxResultsLimitEnabled, setHistoryEnabled
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Field Details
-
groupBy
-
metrics
-
subscriptionStartDate
-
startDate
-
endDate
-
subscriptionMonth
protected int subscriptionMonth -
subscriptionDay
protected int subscriptionDay
-
-
Constructor Details
-
MetricsAggregatedQueryDto
-
-
Method Details
-
setGroupBy
-
getGroupBy
-
setMetrics
-
getMetrics
-
setSubscriptionStartDate
-
setStartDate
-
setEndDate
-
getOrderByValue
- Specified by:
getOrderByValue
in classAbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
-
isValidSortByValue
- Specified by:
isValidSortByValue
in classAbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
-
validateAndPrepareQuery
public void validateAndPrepareQuery() -
getSubscriptionMonth
public int getSubscriptionMonth() -
getSubscriptionDay
public int getSubscriptionDay()
-