示例#1
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: public long findHistoricTaskInstanceCountByQueryCriteria(final org.camunda.bpm.engine.impl.HistoricTaskInstanceQueryImpl historicTaskInstanceQuery)
        public virtual long findHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery)
        {
            if (HistoryEnabled)
            {
                configureQuery(historicTaskInstanceQuery);
                return((long?)DbEntityManager.selectOne("selectHistoricTaskInstanceCountByQueryCriteria", historicTaskInstanceQuery).Value);
            }

            return(0);
        }
示例#2
0
        // historic task instance query ////////////////////////////////////

        public virtual void configureHistoricTaskInstanceQuery(HistoricTaskInstanceQueryImpl query)
        {
            configureQuery(query, PROCESS_DEFINITION, "RES.PROC_DEF_KEY_", READ_HISTORY);
        }
示例#3
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.HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(final org.camunda.bpm.engine.impl.HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, final org.camunda.bpm.engine.impl.Page page)
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
        public virtual IList <HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page)
        {
            if (HistoryEnabled)
            {
                configureQuery(historicTaskInstanceQuery);
                return(DbEntityManager.selectList("selectHistoricTaskInstancesByQueryCriteria", historicTaskInstanceQuery, page));
            }

            return(Collections.EMPTY_LIST);
        }
示例#4
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: protected void configureQuery(final org.camunda.bpm.engine.impl.HistoricTaskInstanceQueryImpl query)
        protected internal virtual void configureQuery(HistoricTaskInstanceQueryImpl query)
        {
            AuthorizationManager.configureHistoricTaskInstanceQuery(query);
            TenantManager.configureQuery(query);
        }