use of com.developmentontheedge.be5.metadata.model.RoleGroup in project be5 by DevelopmentOnTheEdge.
the class ModuleLoader2MergeModulesTest method setRoleGroups.
private void setRoleGroups(Project project, String name) {
BeModelCollection<RoleGroup> groups = project.getRoleGroups();
RoleGroup management = new RoleGroup(name, groups);
management.getRoleSet().addInclusionAll(Collections.singletonList(name));
DataElementUtils.save(management);
project.fireCodeChanged();
}
Aggregations