Versions Compared

Key

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

Table of Contents

Usages

Thai

ตามธรรมเนียม

  • Userview Permission Plugins are used for handling permissions and access rights in a userview.

    Thai

    Userview Permission Plugins ใช้สำหรับจัดการสิทธิ์และสิทธิ์การเข้าถึงใน userview

  • English
    Form Permission Plugins are used for handling permissions and access rights in a form and field element.
    Thai

    Form Permission Plugins ใช้สำหรับจัดการสิทธิ์และสิทธิ์การเข้าถึงในองค์ประกอบของฟอร์มและฟิลด์

  • A useable Userview Permission plugin must extends org.joget.apps.userview.model.UserviewPermission abstract class.

    Thai

    ปลั๊กอินอนุญาตของ Userview ที่ใช้ได้จะต้องขยายคลาสนามธรรม org.joget.apps.userview.model.UserviewPermission

  • A useable Form Permission plugin must extends org.joget.apps.userview.model.UserviewPermission abstract class and implements org.joget.apps.form.model.FormPermission interface.

    Thai

    ปลั๊กอินสิทธิ์ในแบบฟอร์มที่ใช้ได้จะต้องขยายคลาสนามธรรม org.joget.apps.userview.model.UserviewPermission และใช้ส่วนเสริม org.joget.apps.form.model.FormPermission

Abstract Class

Thai

ชั้นนามธรรม


org.joget.apps.userview.model.UserviewPermission

  • Under wflow-core module

    Thai

    ภายใต้โมดูล wflow-core

  • Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.

    Thai

    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.

    Thai

    ดำเนินการ org.joget.plugin.property.model.PropertyEditable โปรดอ้างอิงถึง Plugin Base Abstract Class and Interface

  • A base abstract class to develop a Userview/Form Permission plugin. 

    Thai

    คลาสนามธรรมพื้นฐานเพื่อพัฒนาปลั๊กอินอนุญาตของ Userview / Form




Method Detail

Thai

รายละเอียดวิธีการ


Abstract Methods
Thai
วิธีการเชิงนามธรรม
isAuthorize
public abstract boolean isAuthorize()

Check the current user is authorized to proceed.

Thai

ตรวจสอบผู้ใช้ปัจจุบันได้รับอนุญาตให้ดำเนินการต่อ

Utility Methods
getRequestParameters
public java.util.Map getRequestParameters()

Gets request parameters

Thai

รับพารามิเตอร์คำขอ

setRequestParameters
public void setRequestParameters(java.util.Map requestParameters)

Sets request parameters

Thai

ตั้งค่าพารามิเตอร์คำขอ

getRequestParameter
public java.lang.Object getRequestParameter(java.lang.String requestParameter)

Convenience method to get a parameter value

Thai

วิธีการอำนวยความสะดวกในการรับค่าพารามิเตอร์

getRequestParameterString

...

Return Empty string instead of NULL.

Thai

วิธีการความสะดวกสบายในการรับพารามิเตอร์ค่าสตริง

ส่งคืนสตริงที่ว่างเปล่าแทน NULL

getCurrentUser
public org.joget.directory.model.User getCurrentUser()

Gets current logged in user. 

Return NULL if anonymous.

Thai

รับผู้ใช้ที่ล็อกอินปัจจุบัน

ส่งคืน NULL หากไม่ระบุชื่อ

setCurrentUser
public void setCurrentUser(org.joget.directory.model.User currentUser)

Sets current logged in user.

Thai

ตั้งค่าผู้ใช้ที่ล็อกอินปัจจุบัน

Interface

Thai

อินเตอร์เฟซ

org.joget.apps.form.model.FormPermission

  • Under wflow-core module

    Thai

    ภายใต้โมดูล wflow-core

  • This interface is used to mark a Userview Permission Plugin is reusable in Form Builder.

    Thai

    อินเทอร์เฟซนี้ใช้เพื่อทำเครื่องหมายว่าปลั๊กอินอนุญาตของ Userview นั้นสามารถนำมาใช้ซ้ำได้ใน Form Builder




  • No interface method is available in this interface.

    Thai

    ไม่มีวิธีการอินเทอร์เฟซในอินเทอร์เฟซนี้




Plugin Properties Options

Thai

ตัวเลือกคุณสมบัติปลั๊กอิน


Tutorials

Thai

สอน


Related Community Plugins

Thai

ปลั๊กอินที่เกี่ยวข้อง

  • Bean Shell Permission

    org.joget.apps.userview.lib.BeanShellPermission (wflow-core)

  • Department Permission

    org.joget.apps.userview.lib.DepartmentPermission (wflow-core)

  • Group Permission
    org.joget.apps.userview.lib.GroupPermission (wflow-core)
  • Logged In User Permission
    org.joget.apps.userview.lib.LoggedInUserPermission (wflow-core)
  • Organization Permission
    org.joget.apps.userview.lib.OrganizationPermission (wflow-core)
  • User Permission
    org.joget.apps.userview.lib.UserPermission (wflow-core)

...