Beispiel #1
0
        public virtual long findCleanableHistoricProcessInstancesReportCountByCriteria(CleanableHistoricProcessInstanceReportImpl query)
        {
            query.CurrentTimestamp = ClockUtil.CurrentTime;

            AuthorizationManager.configureQueryHistoricFinishedInstanceReport(query, Resources.PROCESS_DEFINITION);
            TenantManager.configureQuery(query);
            return((long?)DbEntityManager.selectOne("selectFinishedProcessInstancesReportEntitiesCount", query).Value);
        }
Beispiel #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @SuppressWarnings("unchecked") public java.util.List<org.camunda.bpm.engine.history.CleanableHistoricProcessInstanceReportResult> findCleanableHistoricProcessInstancesReportByCriteria(org.camunda.bpm.engine.impl.CleanableHistoricProcessInstanceReportImpl query, org.camunda.bpm.engine.impl.Page page)
        public virtual IList <CleanableHistoricProcessInstanceReportResult> findCleanableHistoricProcessInstancesReportByCriteria(CleanableHistoricProcessInstanceReportImpl query, Page page)
        {
            query.CurrentTimestamp = ClockUtil.CurrentTime;

            AuthorizationManager.configureQueryHistoricFinishedInstanceReport(query, Resources.PROCESS_DEFINITION);
            TenantManager.configureQuery(query);
            return(DbEntityManager.selectList("selectFinishedProcessInstancesReportEntities", query, page));
        }