Package pro.taskana.monitor.internal
Interface MonitorMapper
public interface MonitorMapper
This class is the mybatis mapping of task monitoring.
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomAttributeValuesForReport(TimeIntervalReportBuilder<?, ?, ?> report, List<CombinedClassificationFilter> combinedClassificationFilter, TaskCustomField taskCustomField) getTaskCountOfCategories(Instant now, TaskTimestamp timestamp, TimeIntervalReportBuilder<?, ?, ?> report) getTaskCountOfClassifications(Instant now, TaskTimestamp timestamp, TimeIntervalReportBuilder<?, ?, ?> report) getTaskCountOfDetailedClassifications(Instant now, TaskTimestamp timestamp, TimeIntervalReportBuilder<?, ?, ?> report) getTaskCountOfTaskCustomFieldValues(Instant now, TaskTimestamp timestamp, TimeIntervalReportBuilder<?, ?, ?> report) getTaskCountOfWorkbaskets(Instant now, TaskTimestamp timestamp, TimeIntervalReportBuilder<?, ?, ?> report) getTaskIdsForSelectedItems(Instant now, TimeIntervalReportBuilder<?, ?, ?> report, List<CombinedClassificationFilter> combinedClassificationFilter, String groupedBy, TaskTimestamp timestamp, List<SelectedItem> selectedItems, boolean joinWithAttachments) getTasksCountByState(String[] domains, TaskState[] states, String[] workbasketIds, Integer priorityMinimum) getTasksCountForStatusGroupedByOrgLevel(Instant now, TaskTimestamp status, TimeIntervalReportBuilder<?, ?, ?> report)
-
Method Details
-
getTaskCountOfWorkbaskets
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountOfWorkbaskets") @Result(column="WORKBASKET_KEY",property="key") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="NUMBER_OF_TASKS",property="numberOfTasks") List<MonitorQueryItem> getTaskCountOfWorkbaskets(@Param("now") Instant now, @Param("timestamp") TaskTimestamp timestamp, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskCountOfCategories
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountOfCategories") @Result(column="CLASSIFICATION_CATEGORY",property="key") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="NUMBER_OF_TASKS",property="numberOfTasks") List<MonitorQueryItem> getTaskCountOfCategories(@Param("now") Instant now, @Param("timestamp") TaskTimestamp timestamp, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskCountOfClassifications
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountOfClassifications") @Result(column="CLASSIFICATION_KEY",property="key") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="NUMBER_OF_TASKS",property="numberOfTasks") List<MonitorQueryItem> getTaskCountOfClassifications(@Param("now") Instant now, @Param("timestamp") TaskTimestamp timestamp, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskCountOfDetailedClassifications
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountOfDetailedClassifications") @Result(column="TASK_CLASSIFICATION_KEY",property="key") @Result(column="ATTACHMENT_CLASSIFICATION_KEY",property="attachmentKey") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="NUMBER_OF_TASKS",property="numberOfTasks") List<DetailedMonitorQueryItem> getTaskCountOfDetailedClassifications(@Param("now") Instant now, @Param("timestamp") TaskTimestamp timestamp, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskCountOfTaskCustomFieldValues
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountOfTaskCustomFieldValues") @Result(column="CUSTOM_FIELD",property="key") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="NUMBER_OF_TASKS",property="numberOfTasks") List<MonitorQueryItem> getTaskCountOfTaskCustomFieldValues(@Param("now") Instant now, @Param("timestamp") TaskTimestamp timestamp, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskIdsForSelectedItems
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskIdsForSelectedItems") List<String> getTaskIdsForSelectedItems(@Param("now") Instant now, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report, @Param("combinedClassificationFilter") List<CombinedClassificationFilter> combinedClassificationFilter, @Param("groupedBy") String groupedBy, @Param("timestamp") TaskTimestamp timestamp, @Param("selectedItems") List<SelectedItem> selectedItems, @Param("joinWithAttachments") boolean joinWithAttachments) -
getTasksCountByState
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTasksCountByState") @Result(column="WORKBASKET_KEY",property="workbasketKey") @Result(column="STATE",property="state") @Result(column="COUNT",property="count") List<TaskQueryItem> getTasksCountByState(@Param("domains") String[] domains, @Param("states") TaskState[] states, @Param("workbasketIds") String[] workbasketIds, @Param("priorityMinimum") Integer priorityMinimum) -
getCustomAttributeValuesForReport
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getCustomAttributeValuesForReport") List<String> getCustomAttributeValuesForReport(@Param("report") TimeIntervalReportBuilder<?, ?, ?> report, @Param("combinedClassificationFilter") List<CombinedClassificationFilter> combinedClassificationFilter, @Param("customField") TaskCustomField taskCustomField) -
getTasksCountForStatusGroupedByOrgLevel
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTasksCountForStatusGroupedByOrgLevel") @Result(column="STATUS",property="status") @Result(column="AGE_IN_DAYS",property="ageInDays") @Result(column="COUNT",property="count") @Result(column="ORG_LEVEL_1",property="orgLevel1") @Result(column="ORG_LEVEL_2",property="orgLevel2") @Result(column="ORG_LEVEL_3",property="orgLevel3") @Result(column="ORG_LEVEL_4",property="orgLevel4") List<TimestampQueryItem> getTasksCountForStatusGroupedByOrgLevel(@Param("now") Instant now, @Param("status") TaskTimestamp status, @Param("report") TimeIntervalReportBuilder<?, ?, ?> report) -
getTaskCountByPriority
@SelectProvider(type=MonitorMapperSqlProvider.class, method="getTaskCountByPriority") @Result(column="WORKBASKET_KEY",property="workbasketKey") @Result(column="COUNT",property="count") @Result(column="PRIORITY",property="priority") List<PriorityQueryItem> getTaskCountByPriority(@Param("report") WorkbasketPriorityReportBuilderImpl report)
-