|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.user.CustomTeamModificationServiceImpl
@Service(value="CustomTeamModificationService") @PreAuthorize(value="hasRole(\'ROLE_ADMIN\')") public class CustomTeamModificationServiceImpl
| Constructor Summary | |
|---|---|
CustomTeamModificationServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
addMember(long teamId,
String login)
Add one member, identified by its login |
void |
addMembers(long teamId,
List<String> logins)
Add one or more members, identified by their login, to a team identified by its id. |
void |
changeName(long teamId,
String name)
Changes the name the team of the given id. |
long |
countAll()
Will count all Teams in the database. |
void |
deleteTeam(long teamId)
Delete the team along with all it's acls. |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.Team>> |
findAllFiltered(org.squashtest.tm.core.foundation.collection.PagingAndSorting paging,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
|
List<org.squashtest.tm.domain.users.User> |
findAllNonMemberUsers(long teamId)
|
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.User>> |
findAllTeamMembers(long teamId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
|
void |
persist(org.squashtest.tm.domain.users.Team team)
Check if name is available and persist the new Team. |
void |
removeMember(long teamId,
long memberId)
|
void |
removeMemberFromAllTeams(long memberId)
|
void |
removeMembers(long teamId,
List<Long> memberIds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomTeamModificationServiceImpl()
| Method Detail |
|---|
public void persist(org.squashtest.tm.domain.users.Team team)
CustomTeamModificationService
persist in interface CustomTeamModificationServiceCustomTeamModificationService.persist(Team)public void deleteTeam(long teamId)
CustomTeamModificationService
deleteTeam in interface CustomTeamModificationServiceCustomTeamModificationService.deleteTeam(long)
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.Team>> findAllFiltered(org.squashtest.tm.core.foundation.collection.PagingAndSorting paging,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
findAllFiltered in interface CustomTeamFinderService
public void changeName(long teamId,
String name)
CustomTeamModificationService
changeName in interface CustomTeamModificationService
public void addMember(long teamId,
String login)
CustomTeamModificationService
addMember in interface CustomTeamModificationService
public void addMembers(long teamId,
List<String> logins)
CustomTeamModificationService
addMembers in interface CustomTeamModificationServicepublic List<org.squashtest.tm.domain.users.User> findAllNonMemberUsers(long teamId)
findAllNonMemberUsers in interface CustomTeamFinderService
public void removeMember(long teamId,
long memberId)
removeMember in interface CustomTeamModificationService
public void removeMembers(long teamId,
List<Long> memberIds)
removeMembers in interface CustomTeamModificationService
public org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.users.User>> findAllTeamMembers(long teamId,
org.squashtest.tm.core.foundation.collection.PagingAndSorting sorting,
org.squashtest.tm.core.foundation.collection.Filtering filtering)
findAllTeamMembers in interface CustomTeamFinderServicepublic void removeMemberFromAllTeams(long memberId)
removeMemberFromAllTeams in interface CustomTeamModificationServicepublic long countAll()
CustomTeamFinderService
countAll in interface CustomTeamFinderServiceCustomTeamFinderService#countAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||