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
FieldsModifier and TypeFieldDescriptionprotected Dateprotected Stringprotected Dateprotected intprotected intprotected DateFields inherited from class org.camunda.bpm.webapp.rest.dto.AbstractRestQueryParametersDto
DEFAULT_ORDER, objectMapper, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortOrderFields inherited from class org.camunda.bpm.webapp.db.QueryParameters
historyEnabled, maxResultsLimitEnabledFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
ConstructorsConstructorDescriptionMetricsAggregatedQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetOrderByValue(String sortBy) intintprotected booleanisValidSortByValue(String value) voidsetEndDate(Date endDate) voidsetGroupBy(String groupBy) voidsetMetrics(List<String> metrics) voidsetStartDate(Date startDate) voidsetSubscriptionStartDate(Date subscriptionStartDate) voidMethods inherited from class org.camunda.bpm.webapp.rest.dto.AbstractRestQueryParametersDto
getInternalOrderBy, getOrderBy, resolveVariableValue, setObjectMapper, setSortBy, setSortOrder, setValueBasedOnAnnotation, sortOptionsValidMethods inherited from class org.camunda.bpm.webapp.db.QueryParameters
disableMaxResultsLimit, isHistoryEnabled, isMaxResultsLimitEnabled, setHistoryEnabledMethods 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:
getOrderByValuein classAbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
-
isValidSortByValue
- Specified by:
isValidSortByValuein classAbstractRestQueryParametersDto<MetricsAggregatedQueryDto>
-
validateAndPrepareQuery
public void validateAndPrepareQuery() -
getSubscriptionMonth
public int getSubscriptionMonth() -
getSubscriptionDay
public int getSubscriptionDay()
-