#145 [Rights-Module] preparation for module specific roles / fix UserRoleAssignmentCriteria

This commit is contained in:
Michael Hoennig 2019-07-03 22:23:51 +02:00
parent f79c4bd7a1
commit 31cd92f3be

View File

@ -18,12 +18,6 @@ import java.util.Objects;
*/ */
public class UserRoleAssignmentCriteria implements Serializable { public class UserRoleAssignmentCriteria implements Serializable {
/**
* Class for filtering UserRole
*/
private static class UserRoleFilter extends Filter<String> {
}
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private LongFilter id; private LongFilter id;
@ -32,7 +26,7 @@ public class UserRoleAssignmentCriteria implements Serializable {
private LongFilter entityObjectId; private LongFilter entityObjectId;
private UserRoleFilter assignedRole; private StringFilter assignedRole;
private LongFilter userId; private LongFilter userId;
@ -60,11 +54,11 @@ public class UserRoleAssignmentCriteria implements Serializable {
this.entityObjectId = entityObjectId; this.entityObjectId = entityObjectId;
} }
public UserRoleFilter getAssignedRole() { public StringFilter getAssignedRole() {
return assignedRole; return assignedRole;
} }
public void setAssignedRole(UserRoleFilter assignedRole) { public void setAssignedRole(StringFilter assignedRole) {
this.assignedRole = assignedRole; this.assignedRole = assignedRole;
} }