From 31cd92f3beda382b9c7880141c63fef081ee142a Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 3 Jul 2019 22:23:51 +0200 Subject: [PATCH] #145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria --- .../service/dto/UserRoleAssignmentCriteria.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/hostsharing/hsadminng/service/dto/UserRoleAssignmentCriteria.java b/src/main/java/org/hostsharing/hsadminng/service/dto/UserRoleAssignmentCriteria.java index 5f7a6acc..e1d7f98e 100644 --- a/src/main/java/org/hostsharing/hsadminng/service/dto/UserRoleAssignmentCriteria.java +++ b/src/main/java/org/hostsharing/hsadminng/service/dto/UserRoleAssignmentCriteria.java @@ -18,12 +18,6 @@ import java.util.Objects; */ public class UserRoleAssignmentCriteria implements Serializable { - /** - * Class for filtering UserRole - */ - private static class UserRoleFilter extends Filter { - } - private static final long serialVersionUID = 1L; private LongFilter id; @@ -32,7 +26,7 @@ public class UserRoleAssignmentCriteria implements Serializable { private LongFilter entityObjectId; - private UserRoleFilter assignedRole; + private StringFilter assignedRole; private LongFilter userId; @@ -60,11 +54,11 @@ public class UserRoleAssignmentCriteria implements Serializable { this.entityObjectId = entityObjectId; } - public UserRoleFilter getAssignedRole() { + public StringFilter getAssignedRole() { return assignedRole; } - public void setAssignedRole(UserRoleFilter assignedRole) { + public void setAssignedRole(StringFilter assignedRole) { this.assignedRole = assignedRole; }