Versions Compared

Key

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

...

方法细节

抽象方法
认证
authenticate 
public boolean authenticate公共布尔authenticate(java.lang.String用户名,java.lang.String密码)(java.lang.String username, java.lang.String password)

...

public org.joget.directory.model.Department getDepartmentById(java.lang.String departmentId)getDepartmentById(java.lang.String departmentId)

...

public org.joget.directory.model.Department getDepartmentByName(java.lang.String name)getDepartmentByName(java.lang.String name)

根据部门名称检索部门

...

public org.joget.directory.model.User getDepartmentHod(java.lang.String departmentId)getDepartmentHod(java.lang.String departmentId)

...

public java.util.Collection <org.joget.directory.model.Department> getDepartmentList()<org.joget.directory.model.Department> getDepartmentList()

检索所有部门

...

public java.util.Collection <org.joget.directory.model.Department> getDepartmentsByOrganizationId(javagetDepartmentsByOrganizationId(java.lang.String filterString,java.lang.String organizationId,java.lang.String sort,java.lang.Boolean desc,java.lang .Integer开始,java.lang.Integer行)<org.joget.directory.model.Department> getDepartmentsByOrganizationId(java.lang.String filterStringfilterString, java.lang.String organizationId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

检索由搜索参数过滤的特定组织内的所有部门。

getDepartmentsByParentId
public java.util.Collection <org.joget.directory.model.Department> getDepartmentsByParentId(java.lang.String filterString,java.lang.String parentId,java.lang.String sort,javaInteger start, java.lang.Integer rows)

检索由搜索参数过滤的特定组织内的所有部门。

getDepartmentsByParentId
public java.util.Collection Boolean desc,java.lang .Integer开始,java.lang.Integer行)<org.joget.directory.model.Department>  getDepartmentsByParentId(java.lang.String filterString, java.lang.String parentId, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

...

public java.util.Collection <org.joget.directory.model.User> getDepartmentUserByGradeId(java.lang.String departmentId,java.lang.String gradeId)<org.joget.directory.model.User> getDepartmentUserByGradeId(java.lang.String departmentId, java.lang.String gradeId)

...

public void setProperties(java.util.Map <java.lang.String,java.lang.Object> properties)

设置属性以在用户安全实施中使用 

的GetProperties
getProperties
public java.util.Map <java.lang.String,java.lang.Object> getProperties()

...

public java.lang.String encryptPassword(java.lang.String username,java.lang.String password)

使用自定义方法对密码进行加密 

验证密码
verifyPassword
 
public java.lang.Boolean verifyPassword(org.joget.directory.model.User user,java.lang.String password)

...