ตามธรรมเนียม |
Extend the way to generate/scaffolding work for app based on current working form in Form Builder - Generate App.
ขยายวิธีการสร้าง / การทำงานของนั่งร้านสำหรับแอปโดยยึดตามรูปแบบการทำงานปัจจุบันใน Form Builder - Generate App. |
A useable Generator plugin must extends org.joget.apps.generator.model.GeneratorPlugin abstract class. |
ปลั๊กอินตัวสร้างที่ใช้งานได้จะต้องขยายคลาสนามธรรม org.joget.apps.generator.model.GeneratorPlugin |
ชั้นนามธรรม |
Under wflow-core module
ภายใต้โมดูล wflow-core |
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
ขยาย org.joget.plugin.base.ExtDefaultPlugin โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface. |
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
ดำเนินการ org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface. |
A base abstract class to develop a Generator plugin.
คลาสนามธรรมพื้นฐานเพื่อพัฒนาปลั๊กอินตัวสร้าง |
รายละเอียดวิธีการ |
วิธีการเชิงนามธรรม |
public abstract org.joget.apps.generator.model.GeneratorResult generate()
Execute the generator to generate/scaffolding work for app based on current working form. Please utilize GeneratorUtil in the generation logic.
เรียกใช้งาน generate/scaffolding สำหรับแอปตามรูปแบบการทำงานปัจจุบัน โปรดใช้ GeneratorUtil ในตรรกะการสร้าง |
public abstract java.lang.String getExplanation()
Gets the explanation and usage for this generator to display for admin user
รับคำอธิบายและการใช้งานสำหรับตัวสร้างนี้เพื่อแสดงสำหรับผู้ใช้ที่เป็นผู้ดูแลระบบ |
วิธีการ overridable |
public boolean isDisabled()
วิธีการยูทิลิตี้ |
public java.lang.String getFormId()
Gets the current working form id.
รับ ID รูปแบบการทำงานปัจจุบัน |
public void setFormId(java.lang.String formId)
Sets the current working form id.
ตั้งค่า id แบบฟอร์มการทำงานปัจจุบัน |
public org.joget.apps.app.model.AppDefinition getAppDefinition()
Gets the current working App Definition
รับคำนิยาม App ของแอปที่ทำงานอยู่ในปัจจุบัน |
public void setAppDefinition(org.joget.apps.app.model.AppDefinition appDef)
Sets the current working App Definition
ตั้งค่าคำนิยามแอปที่ทำงานอยู่ในปัจจุบัน |
public java.lang.String getDefaultPropertyValues()
Convenience method to get default properties from Plugin Properties Options
วิธีการสะดวกในการรับคุณสมบัติเริ่มต้นจากตัวเลือกคุณสมบัติปลั๊กอิน |
ตัวเลือกคุณสมบัติปลั๊กอิน |
Please refer to Plugin Properties Options for more information.
โปรดดู Plugin Properties Options สำหรับข้อมูลเพิ่มเติม |
สอน |
ปลั๊กอินที่เกี่ยวข้อง |
Not available
ไม่สามารถใช้ได้ |