ลักษณะ |
ตัวอย่างโค้ด |
import java.util.Map; import org.joget.directory.model.service.DirectoryUtil; //retrieve all users in map Map<String, User> users = DirectoryUtil.getUsersMap(); |
ฟิลด์ |
public final static java.lang.String CUSTOM_IMPL_PROPERTIES = "customDirectoryManagerImplProperties";
System setting key to retrieve the plugin properties of the configured custom directory manager plugin. |
คีย์การตั้งค่าระบบเพื่อเรียกคืนคุณสมบัติปลั๊กอินของปลั๊กอินตัวจัดการไดเรกทอรีกำหนดเองที่กำหนดค่า |
public final static java.lang.String IMPL_PROPERTIES = "directoryManagerImplProperties";
System setting key to retrieve the plugin properties of the configured default directory manager plugin.
This is only available to OEM package which enable to use different directory manager as default.
คีย์การตั้งค่าระบบเพื่อดึงคุณสมบัติปลั๊กอินของปลั๊กอินตัวจัดการไดเรกทอรีเริ่มต้นที่กำหนดค่าไว้ ใช้ได้เฉพาะกับแพ็คเกจ OEM ที่เปิดใช้ตัวจัดการไดเรกทอรีอื่นเป็นค่าเริ่มต้น |
public final static java.lang.String ROLE_ANONYMOUS = "roleAnonymous";
Username of an Anonymous user.
ชื่อผู้ใช้ของผู้ใช้แบบไม่ระบุชื่อ |
กระบวนการ |
public static org.springframework.context.ApplicationContext getApplicationContext()
Utility method to retrieve the ApplicationContext of the system
วิธีการ Utility เพื่อดึง ApplicationContext ของระบบ |
public static java.util.Map<java.lang.String, org.joget.directory.model.Department> getDepartmentsMap()
Convenient method to retrieve all departments in a map of id-value pair
วิธีที่สะดวกในการดึงข้อมูลแผนกทั้งหมดในแผนที่ของคู่ id-value |
public static java.util.Map<java.lang.String, org.joget.directory.model.Group> getGroupsMap()
Convenient method to retrieve all groups in a map of id-value pair
วิธีที่สะดวกในการดึงข้อมูลกลุ่มทั้งหมดในแผนที่ของคู่ id-value |
public static java.lang.String getLoginFormFooter()
Get the HTML template to inject after a login form from user security enhancements implementation.
รับเทมเพลต HTML เพื่อแทรกหลังจากฟอร์มการเข้าสู่ระบบจากการใช้การปรับปรุงความปลอดภัยของผู้ใช้ |
public static java.lang.String getOverriddenDirectoryManagerClassName()
Get the class name of the custom Directory Manager in used
รับชื่อคลาสของตัวจัดการไดเรกทอรีแบบกำหนดเองที่ใช้งานอยู่ |
public static java.util.Map<java.lang.String, org.joget.directory.model.User> getUsersMap()
Convenient method to retrieve all users in a map of id-value pair
วิธีที่สะดวกในการดึงข้อมูลผู้ใช้ทั้งหมดในแผนที่ของคู่ค่า id |
public static org.joget.directory.model.service.UserSecurity getUserSecurity()
Get the user security enhancements implementation of the directory manager in used
รับการใช้งานการปรับปรุงความปลอดภัยของผู้ใช้ของตัวจัดการไดเรกทอรีที่ใช้งานอยู่ |
public static boolean isCustomDirectoryManager()
Flag to indicate the custom Directory Manager in used is not a extend implementation of the Joget default internal directory manager
ตั้งค่าสถานะเพื่อระบุตัวจัดการไดเรกทอรีแบบกำหนดเองที่ใช้ไม่ใช่การขยายการใช้งานของตัวจัดการไดเรกทอรีภายในเริ่มต้นของ Joget |
public static boolean isExtDirectoryManager()
Flag to indicate the custom Directory Manager in used is implemented the ExtDirectoryManager interface.
ตั้งค่าสถานะเพื่อระบุตัวจัดการไดเรกทอรีแบบกำหนดเองที่ใช้จะถูกนำมาใช้อินเทอร์เฟซ ExtDirectoryManager |
public static boolean isOverridden()
Flag to indicate there is a custom Directory Manager in used
ตั้งค่าสถานะเพื่อระบุว่ามีการใช้ตัวจัดการไดเรกทอรีแบบกำหนดเอง |
public static java.lang.Boolean userIsReadonly(java.lang.String username)
Flag to indicate the user return by the directory manager is readonly
ตั้งค่าสถานะเพื่อระบุว่าผู้ใช้ส่งคืนโดยตัวจัดการไดเรกทอรีนั้นอ่านได้อย่างเดียว |