You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Usages

Abstract Class

org.joget.directory.model.service.DefaultDirectoryManagerPlugin

Method Detail

Abstract Methods
authenticate
boolean authenticate(String username, String password)

Method called to authenticate a particular User against the directory

getDepartmentById
Department getDepartmentById(String departmentId)

Method called to retrieve a specific Department by Department Id

getDepartmentByName
Department getDepartmentByName(String name)

Method called to retrieve a specific Department by Department Name

getDepartmentHod
User getDepartmentHod(String departmentId)

Method called to return a specific HOD for a Department

getDepartmentList
Collection<Department> getDepartmentList()

Generic method called to retrieve all Departments within the directory

getDepartmentList
Collection<Department> getDepartmentList(String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve all Departments within the directory filtered by search parameters

getDepartmentListByOrganization
Collection<Department> getDepartmentListByOrganization(String organizationId, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve all Departments within a specific Organization filtered by search parameters

getDepartmentUserByGradeId
Collection<User> getDepartmentUserByGradeId(String departmentId, String gradeId)

Method called to retrieve a listing of Users which belongs to a specified Department and Grade

getTotalDepartments
Long getTotalDepartments(String organizationId)

Method called to retrieve the number of Departments within the directory

getEmployments
Collection<Employment> getEmployments(String filterString, String organizationId, String departmentId, String gradeId, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve the users' employment info within the directory filtered by search parameters

getTotalEmployments
Long getTotalEmployments(String filterString, String organizationId, String departmentId, String gradeId)

Method called to retrieve the number of users' employment info within the directory

getGradeById
Grade getGradeById(String gradeId)

Method called to retrieve a specific Grade by Grade id

getGradeList
Collection<Grade> getGradeList()

Generic method called to retrieve all Grades within the directory

getGroupById
Group getGroupById(String groupId)

Method called to retrieve a specific Group by id

getGroupByName
Group getGroupByName(String groupName)

Method called to retrieve a specific Group by name

getGroupByUsername
Collection<Group> getGroupByUsername(String username)

Method called to retrieve a collection of Group in which a user belongs to

getGroupList
Collection<Group> getGroupList()

Generic method called to retrieve the entire Group listing within the directory

getGroupList
Collection<Group> getGroupList(String nameFilter, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve the entire Group listing within the directory filtered by search parameters

getGroupsByOrganizationId
Collection<Group> getGroupsByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve all groups within a specific Organization filtered by search parameters

getTotalGroups
Long getTotalGroups()

Method call to retrieve the number of Groups available

getTotalGroupsByOrganizationId
Long getTotalGroupsByOrganizationId(String filterString, String organizationId)

Method call to retrieve the number of Groups available within a specific Organization filtered by search parameters

getUserByDepartmentId
Collection<User> getUserByDepartmentId(String departmentId)

Method called to retrieve a listing of Users by Department id

getUserByGradeId
Collection<User> getUserByGradeId(String gradeId)

Method called to retrieve a listing of Users by Grade id

getUserByGroupId
Collection<User> getUserByGroupId(String groupId)

Method called to retrieve a listing of Users by Group id

getUserByGroupName
Collection<User> getUserByGroupName(String groupName)

Method called to retrieve a listing of Users by Group name

getUserById
User getUserById(String userId)

Method called to retrieve a specific User by User id

getUserByOrganizationId
Collection<User> getUserByOrganizationId(String organizationId)

Method called to retrieve a listing of Users by Organization id

getUserByUsername
User getUserByUsername(String username)

Method called to retrieve a specific User by Username

getUserList
Collection<User> getUserList()

Generic method called to retrieve the entire User listing within the directory

getUserList
Collection<User> getUserList(String nameFilter, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve the entire User listing within the directory filtered by search parameters

getUsers
Collection<User> getUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve the users within the directory filtered by search parameters

getTotalUsers
Long getTotalUsers()

Method called to retrieve the number of Users available

getTotalUsers
Long getTotalUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active)

Method call to retrieve the number of Users available within the directory filtered by search parametersisUserInGroup

boolean isUserInGroup(String username, String groupName)

Method called to check if a User belongs to a specific Group

getUserDepartmentUser
Collection<User> getUserDepartmentUser(String username)

Method called to retrieve a listing of Users which belongs to the same Department as the specific Username

getUserHod
Collection<User> getUserHod(String username)

Method called to retrieve a listing of HODs in which a specific User reports to

getUserSubordinate
Collection<User> getUserSubordinate(String username)

Method called to retrieve a listing of all the subordinates which reports to a specific User

getUsersSubordinate
Collection<User> getUsersSubordinate(String username, String sort, Boolean desc, Integer start, Integer rows)

Method called to retrieve a listing of all the subordinates which reports to a specific User filtered by search parameters

getTotalUsersSubordinate
Long getTotalUsersSubordinate(String username)

Method called to retrieve the number of subordinates which reports to a specific User

getUserRoles
Collection<Role> getUserRoles(String username)

Method called to retrieve the Roles belonging to a specific User by Username

Utility Methods
getDirectoryManagerImpl
public org.joget.directory.model.service.DirectoryManager getDirectoryManagerImpl(java.util.Map properties)

Used by System to retrieve a directory manager implementation

  • No labels