From 20db0191a901837cb3209e16a082508fafeca87b Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Tue, 12 Nov 2024 10:36:11 +0100 Subject: [PATCH] Fix import order and add javadoc --- .../kitodo/production/model/LazyRoleModel.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Kitodo/src/main/java/org/kitodo/production/model/LazyRoleModel.java b/Kitodo/src/main/java/org/kitodo/production/model/LazyRoleModel.java index 16d6946836a..42a6c67923c 100644 --- a/Kitodo/src/main/java/org/kitodo/production/model/LazyRoleModel.java +++ b/Kitodo/src/main/java/org/kitodo/production/model/LazyRoleModel.java @@ -13,15 +13,15 @@ import static java.lang.Math.toIntExact; +import java.util.Collections; +import java.util.List; +import java.util.Map; + import org.kitodo.data.database.exceptions.DAOException; import org.kitodo.production.services.data.RoleService; import org.primefaces.model.FilterMeta; import org.primefaces.model.SortOrder; -import java.util.Collections; -import java.util.List; -import java.util.Map; - public class LazyRoleModel extends LazyDTOModel { private boolean showRolesOfAllAvailableClients = false; @@ -30,10 +30,20 @@ public LazyRoleModel(RoleService roleService) { super(roleService); } + /** + * Get value of 'showRolesOfAllAvailableClients'. + * + * @return value of 'showRolesOfAllAvailableClients' + */ public boolean isShowRolesOfAllAvailableClients() { return showRolesOfAllAvailableClients; } + /** + * Set value of 'showRolesOfAllAvailableClients'. + * + * @param showRolesOfAllAvailableClients boolean + */ public void setShowRolesOfAllAvailableClients(boolean showRolesOfAllAvailableClients) { this.showRolesOfAllAvailableClients = showRolesOfAllAvailableClients; }