public virtual long findHistoricCaseInstanceCountByQueryCriteria(HistoricCaseInstanceQueryImpl historicCaseInstanceQuery) { if (HistoryEnabled) { configureHistoricCaseInstanceQuery(historicCaseInstanceQuery); return((long?)DbEntityManager.selectOne("selectHistoricCaseInstanceCountByQueryCriteria", historicCaseInstanceQuery).Value); } return(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.HistoricCaseInstance> findHistoricCaseInstancesByQueryCriteria(org.camunda.bpm.engine.impl.HistoricCaseInstanceQueryImpl historicCaseInstanceQuery, org.camunda.bpm.engine.impl.Page page) public virtual IList <HistoricCaseInstance> findHistoricCaseInstancesByQueryCriteria(HistoricCaseInstanceQueryImpl historicCaseInstanceQuery, Page page) { if (HistoryEnabled) { configureHistoricCaseInstanceQuery(historicCaseInstanceQuery); return(DbEntityManager.selectList("selectHistoricCaseInstancesByQueryCriteria", historicCaseInstanceQuery, page)); } return(Collections.EMPTY_LIST); }
protected internal virtual void configureHistoricCaseInstanceQuery(HistoricCaseInstanceQueryImpl query) { TenantManager.configureQuery(query); }