Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Description

Thai

ลักษณะ

  • org.joget.report.service.ReportManager
  • Under wflow-core module
  • Service methods used to collect data for reporting purpose

Code Sample

Thai

ตัวอย่างโค้ด

Code Block
languagejava
import java.util.Collection;
import org.joget.apps.app.service.AppUtil;
import org.joget.report.model.ReportRow;
import org.joget.report.service.ReportManager;
 
ReportManager reportManager = (ReportManager) AppUtil.getApplicationContext().getBean("reportManager");
 
//get sla report for process instances of CRM app
Collection<ReportRow> processSla = reportManager.getWorkflowProcessSlaReport("crm", null, null, null, null, null); 

Methods

Thai

กระบวนการ

getReportAppList
public java.util.Collection<org.joget.report.model.ReportApp> getReportAppList(java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

Retrieves list of all app from report table

Thai

ดึงรายการแอพทั้งหมดจากตารางรายงาน

getReportApp
public org.joget.report.model.ReportApp getReportApp(java.lang.String appId, java.lang.String appVersion, java.lang.String appName)

Gets an app data from report table

Thai

รับข้อมูลแอพจากตารางรายงาน

getReportAppListSize
public long getReportAppListSize()

Retrieves the number of app from report table

Thai

ดึงข้อมูลจำนวนแอพจากตารางรายงาน

getReportWorkflowActivity

...

Gets activity data from report table

Thai

รับข้อมูลกิจกรรมจากตารางรายงาน

getReportWorkflowActivityInstance

...

Gets activity instance data from report table

Thai

รับข้อมูลตัวอย่างกิจกรรมจากตารางรายงาน

getReportWorkflowActivityInstanceList

...

Retrieves list of activity instances from report table

Thai

ดึงรายการอินสแตนซ์กิจกรรมจากตารางรายงาน

getReportWorkflowActivityInstanceListSize

...

Retrieves the number of activity instances from report table

Thai

ดึงข้อมูลจำนวนของอินสแตนซ์กิจกรรมจากตารางรายงาน

getReportWorkflowActivityList

...

Retrieves list of activities from report table

Thai

ดึงข้อมูลจำนวนกิจกรรมจากตารางรายงาน

getReportWorkflowActivityListSize

...

Retrieves the number of activities from report table

Thai

ดึงข้อมูลจำนวนกิจกรรมจากตารางรายงาน

getReportWorkflowPackage
public org.joget.report.model.ReportWorkflowPackage getReportWorkflowPackage(ReportApp reportApp, java.lang.String packageId, java.lang.String packageVersion, java.lang.String packageName)

Gets workflow package data from report table

Thai

รับข้อมูลแพ็คเกจเวิร์กโฟลว์จากตารางรายงาน

getReportWorkflowProcess
public org.joget.report.model.ReportWorkflowProcess getReportWorkflowProcess(ReportWorkflowPackage reportWorkflowPackage, java.lang.String processDefId, java.lang.String processName)

Gets process data from report table

Thai

รับข้อมูลกระบวนการจากตารางรายงาน

getReportWorkflowProcessInstance

...

Gets process instance data from report table

Thai

รับข้อมูลอินสแตนซ์กระบวนการจากตารางรายงาน

getReportWorkflowProcessInstanceList

...

Retrieves list of process instances from report table

Thai

ดึงรายการอินสแตนซ์ของกระบวนการจากตารางรายงาน

getReportWorkflowProcessInstanceListSize

...

Retrieves the number of process instances from report table

Thai

ดึงข้อมูลจำนวนอินสแตนซ์กระบวนการจากตารางรายงาน

getReportWorkflowProcessList

...

Retrieves list of processes from report table

Thai

ดึงรายการของกระบวนการจากตารางรายงาน

getReportWorkflowProcessListSize

...

Retrieves the number of processes from report table

Thai

ดึงจำนวนกระบวนการจากตารางรายงาน

getWorkflowActivitySlaReport

...

Retrieves an activity SLA report 

Thai

ดึงรายงาน SLA ของกิจกรรม

getWorkflowProcessSlaReport

...

Retrieves a process SLA report 

Thai

ดึงรายงาน SLA กระบวนการ

saveReportWorkflowActivityInstance

...

Save an activity instance data to report table 

Thai

บันทึกข้อมูลตัวอย่างกิจกรรมลงในตารางรายงาน

saveReportWorkflowProcessInstance

...

Save a process instance data to report table

Thai

...

บันทึกข้อมูลอินสแตนซ์กระบวนการในตารางรายงาน