Also used :
UserGroupWithoutOwnerException(ca.corefacility.bioinformatics.irida.exceptions.UserGroupWithoutOwnerException)
java.util(java.util)
DTUserGroup(ca.corefacility.bioinformatics.irida.ria.web.models.datatables.DTUserGroup)
UserGroupSpecification(ca.corefacility.bioinformatics.irida.repositories.specification.UserGroupSpecification)
EntityExistsException(ca.corefacility.bioinformatics.irida.exceptions.EntityExistsException)
LoggerFactory(org.slf4j.LoggerFactory)
Autowired(org.springframework.beans.factory.annotation.Autowired)
Controller(org.springframework.stereotype.Controller)
Model(org.springframework.ui.Model)
DataIntegrityViolationException(org.springframework.dao.DataIntegrityViolationException)
ImmutableList(com.google.common.collect.ImmutableList)
DataTablesResponseModel(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.models.DataTablesResponseModel)
DataTablesResponse(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.DataTablesResponse)
ConstraintViolation(javax.validation.ConstraintViolation)
DTGroupMember(ca.corefacility.bioinformatics.irida.ria.web.models.datatables.DTGroupMember)
MessageSource(org.springframework.context.MessageSource)
Logger(org.slf4j.Logger)
ImmutableMap(com.google.common.collect.ImmutableMap)
Role(ca.corefacility.bioinformatics.irida.model.user.Role)
DataTablesRequest(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.config.DataTablesRequest)
UserGroupRole(ca.corefacility.bioinformatics.irida.model.user.group.UserGroupJoin.UserGroupRole)
UserGroupJoin(ca.corefacility.bioinformatics.irida.model.user.group.UserGroupJoin)
PageRequest(org.springframework.data.domain.PageRequest)
UserGroup(ca.corefacility.bioinformatics.irida.model.user.group.UserGroup)
Page(org.springframework.data.domain.Page)
Collectors(java.util.stream.Collectors)
UserGroupService(ca.corefacility.bioinformatics.irida.service.user.UserGroupService)
Principal(java.security.Principal)
ConstraintViolationException(javax.validation.ConstraintViolationException)
UserService(ca.corefacility.bioinformatics.irida.service.user.UserService)
org.springframework.web.bind.annotation(org.springframework.web.bind.annotation)
User(ca.corefacility.bioinformatics.irida.model.user.User)
DataTablesParams(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.DataTablesParams)
DTUserGroup(ca.corefacility.bioinformatics.irida.ria.web.models.datatables.DTUserGroup)
PageRequest(org.springframework.data.domain.PageRequest)
User(ca.corefacility.bioinformatics.irida.model.user.User)
DataTablesResponseModel(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.models.DataTablesResponseModel)
DataTablesResponse(ca.corefacility.bioinformatics.irida.ria.web.components.datatables.DataTablesResponse)
DTUserGroup(ca.corefacility.bioinformatics.irida.ria.web.models.datatables.DTUserGroup)
UserGroup(ca.corefacility.bioinformatics.irida.model.user.group.UserGroup)