Package org.eblocker.server.http.service
Class UserService
java.lang.Object
org.eblocker.server.http.service.UserService
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionUserService(DataSource datasource, DeviceService deviceService, DashboardCardService dashboardCardService, String standardUserTranslation) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(UserService.UserChangeListener listener) voidcreateUser(Integer associatedProfileId, String name, String nameKey, java.time.LocalDate birthday, UserRole userRole, String newPin) booleandeleteUser(Integer userId) getUserById(int id) getUsers(boolean refresh) voidinit()booleanisUniqueCustomerCreatedName(Integer id, String name) voidrefresh()restoreDefaultSystemUser(String name, int userId) voidvoidvoidupdateUser(Integer id, Integer customBlacklistId, Integer customWhitelistId) updateUser(Integer id, Integer associatedProfileId, String name, String nameKey, java.time.LocalDate birthday, UserRole userRole, String newPin) updateUser(Integer id, Map<String, WhiteListConfig> whiteListConfigMap) updateUser(Integer id, DashboardColumnsView columns)
-
Constructor Details
-
UserService
@Inject public UserService(DataSource datasource, DeviceService deviceService, DashboardCardService dashboardCardService, String standardUserTranslation)
-
-
Method Details
-
getUsers
-
createUser
-
updateUser
-
deleteUser
-
updateUser
-
updateUser
-
updateUser
-
updateUserDashboardView
-
updateAllDefaultDashboardView
public void updateAllDefaultDashboardView() -
getUserById
-
init
public void init() -
refresh
public void refresh() -
addListener
-
createDefaultSystemUser
-
restoreDefaultSystemUser
-
restoreDefaultSystemUser
-
isUniqueCustomerCreatedName
-
setPin
-
changePin
-
restoreDefaultSystemUserAsUsers
-