v++
This commit is contained in:
2023-12-31 17:36:20 +03:00
parent b4184d9361
commit 5baf2154e2
9 changed files with 296 additions and 74 deletions

View File

@@ -125,4 +125,18 @@ public class GroupsDBTable extends iDBTable<Group> {
}
};
}
public boolean containsGroupWithDescription(String description_in) {
for (Group group : Data.values()) {
if (group.description.equalsIgnoreCase(description_in))
return true;
}
return false;
}
public Group getGroupByDescription(String description_in) {
for (Group group : Data.values()) {
if (group.description.equalsIgnoreCase(description_in))
return group;
}
return null;
}
}