diff --git a/src/org/scada_lts/permissions/service/ViewUserPermissionsService.java b/src/org/scada_lts/permissions/service/ViewUserPermissionsService.java index f1bca4883b..e31badb488 100644 --- a/src/org/scada_lts/permissions/service/ViewUserPermissionsService.java +++ b/src/org/scada_lts/permissions/service/ViewUserPermissionsService.java @@ -18,17 +18,17 @@ public ViewUserPermissionsService(ViewDAO viewDAO) { } @Override - public List getPermissions(User object) { - return viewDAO.selectViewPermissions(object.getId()); + public List getPermissions(User user) { + return viewDAO.selectViewPermissions(user.getId()); } @Override - public void addOrUpdatePermissions(User object, List toAddOrUpdate) { - viewDAO.insertPermissions(object.getId(), toAddOrUpdate); + public void addOrUpdatePermissions(User user, List toAddOrUpdate) { + viewDAO.insertPermissions(user.getId(), toAddOrUpdate); } @Override - public void removePermissions(User object, List toRemove) { - viewDAO.deletePermissions(object.getId(), toRemove); + public void removePermissions(User user, List toRemove) { + viewDAO.deletePermissions(user.getId(), toRemove); } } diff --git a/src/org/scada_lts/permissions/service/WatchListProfilePermissionsService.java b/src/org/scada_lts/permissions/service/WatchListProfilePermissionsService.java index 81b3f4c301..f96edfa7da 100644 --- a/src/org/scada_lts/permissions/service/WatchListProfilePermissionsService.java +++ b/src/org/scada_lts/permissions/service/WatchListProfilePermissionsService.java @@ -17,17 +17,17 @@ public WatchListProfilePermissionsService(IUsersProfileDAO usersProfileDAO) { } @Override - public List getPermissions(UsersProfileVO object) { - return usersProfileDAO.selectWatchListPermissionsByProfileId(object.getId()); + public List getPermissions(UsersProfileVO profile) { + return usersProfileDAO.selectWatchListPermissionsByProfileId(profile.getId()); } @Override - public void addOrUpdatePermissions(UsersProfileVO object, List toAddOrUpdate) { - usersProfileDAO.insertWatchListUsersProfile(object.getId(), toAddOrUpdate); + public void addOrUpdatePermissions(UsersProfileVO profile, List toAddOrUpdate) { + usersProfileDAO.insertWatchListUsersProfile(profile.getId(), toAddOrUpdate); } @Override - public void removePermissions(UsersProfileVO object, List toRemove) { - usersProfileDAO.deleteWatchListUsersProfile(object.getId(), toRemove); + public void removePermissions(UsersProfileVO profile, List toRemove) { + usersProfileDAO.deleteWatchListUsersProfile(profile.getId(), toRemove); } } diff --git a/src/org/scada_lts/permissions/service/WatchListUserPermissionsService.java b/src/org/scada_lts/permissions/service/WatchListUserPermissionsService.java index 88952584e4..a8ff1d421b 100644 --- a/src/org/scada_lts/permissions/service/WatchListUserPermissionsService.java +++ b/src/org/scada_lts/permissions/service/WatchListUserPermissionsService.java @@ -17,18 +17,18 @@ public WatchListUserPermissionsService(WatchListDAO watchListDAO) { } @Override - public List getPermissions(User object) { - return watchListDAO.selectWatchListPermissions(object.getId()); + public List getPermissions(User user) { + return watchListDAO.selectWatchListPermissions(user.getId()); } @Override - public void addOrUpdatePermissions(User object, List toAddOrUpdate) { - watchListDAO.insertPermissions(object.getId(), toAddOrUpdate); + public void addOrUpdatePermissions(User user, List toAddOrUpdate) { + watchListDAO.insertPermissions(user.getId(), toAddOrUpdate); } @Override - public void removePermissions(User object, List toRemove) { - watchListDAO.deletePermissions(object.getId(), toRemove); + public void removePermissions(User user, List toRemove) { + watchListDAO.deletePermissions(user.getId(), toRemove); } } diff --git a/tomcat/lib/istack-commons-runtime-4.1.0-M1.jar b/tomcat/lib/istack-commons-runtime-4.1.0-M1.jar deleted file mode 100644 index a24403390a..0000000000 Binary files a/tomcat/lib/istack-commons-runtime-4.1.0-M1.jar and /dev/null differ diff --git a/tomcat/lib/jaxb-core-3.0.2.jar b/tomcat/lib/jaxb-core-3.0.2.jar new file mode 100644 index 0000000000..843b4ea5b0 Binary files /dev/null and b/tomcat/lib/jaxb-core-3.0.2.jar differ