User Directory
User Directory
Search function
This event expects data-search-type attr embedded in clicked button with value either advanced or
basic. This indicates the current selected search type. It will show, hide and reset the fields related to
the selected search type.
onSearchCriteriaChangeEvent handler
show, hide and reset elements determined by selectors embedded in selected search criteria
Sample:
Below is default
Select last name for basic search. It should show textbox with basic-column-value-field class.
onResetClickEvent handler
Show, hide and reset elements determined by selectors embedded in reset button
onSearchClickEvent handler
Set systemuser status to true or false. Refer to functions below to trace activate and deactivate user.
Edit User
For edit user issues, trace codes below. (Edit user used to be update roles only)
SystemUserResource.java (endpoint)
SystemUserServiceImpl.java
Theres additional layer in service layer that validates NativeQueryCriteria because theres a criterion in
UI that doesnt have corresponding column in database namely the User Type. User Type can either be
employeeId, facultyId, parentId, guardianId or studentId column in SystemUser table.