@Transactional @Service(value="squashtest.tm.service.InfoListManagerService") public class InfoListManagerServiceImpl extends Object implements InfoListManagerService
| Constructor and Description |
|---|
InfoListManagerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeCode(long infoListId,
String newCode) |
void |
changeDescription(long infoListId,
String newDescription) |
void |
changeItemsPositions(long infoListId,
int newIndex,
List<Long> itemsIds) |
void |
changeLabel(long infoListId,
String newLabel) |
List<org.squashtest.tm.domain.infolist.InfoList> |
findAllUserLists() |
List<IsBoundInfoListAdapter> |
findAllWithBoundInfo()
Fetches all infolists and tryurns them in an adapter also containing the bound project count.
|
org.squashtest.tm.domain.infolist.InfoList |
findByCode(String code) |
org.squashtest.tm.domain.infolist.InfoList |
findById(Long id) |
org.squashtest.tm.domain.infolist.InfoList |
findByUniqueProperty(String prop,
String value)
Finds an InfoList by a given, supposedly unique property
|
boolean |
isUsedByOneOrMoreProject(long infoListId) |
org.squashtest.tm.domain.infolist.InfoList |
persist(org.squashtest.tm.domain.infolist.InfoList infoList) |
void |
remove(List<Long> ids)
Removes all the info lists matching the given ids.
|
void |
remove(long infoListId) |
public org.squashtest.tm.domain.infolist.InfoList findById(Long id)
findById in interface InfoListFinderServicepublic org.squashtest.tm.domain.infolist.InfoList findByCode(String code)
findByCode in interface InfoListFinderServicepublic void changeDescription(long infoListId,
String newDescription)
changeDescription in interface InfoListManagerServicepublic void changeLabel(long infoListId,
String newLabel)
changeLabel in interface InfoListManagerServicepublic void changeCode(long infoListId,
String newCode)
changeCode in interface InfoListManagerServicepublic void changeItemsPositions(long infoListId,
int newIndex,
List<Long> itemsIds)
changeItemsPositions in interface InfoListManagerServicepublic boolean isUsedByOneOrMoreProject(long infoListId)
isUsedByOneOrMoreProject in interface InfoListManagerServicepublic void remove(long infoListId)
remove in interface InfoListManagerServicepublic List<org.squashtest.tm.domain.infolist.InfoList> findAllUserLists()
findAllUserLists in interface InfoListFinderServicepublic void remove(List<Long> ids)
InfoListManagerServiceremove in interface InfoListManagerServiceInfoListManagerService.remove(java.util.List)@Transactional(readOnly=true) public List<IsBoundInfoListAdapter> findAllWithBoundInfo()
InfoListFinderServicefindAllWithBoundInfo in interface InfoListFinderServiceInfoListFinderService.findAllWithBoundInfo()public org.squashtest.tm.domain.infolist.InfoList persist(org.squashtest.tm.domain.infolist.InfoList infoList)
persist in interface InfoListManagerServiceInfoListManagerService.persist(org.squashtest.tm.domain.infolist.InfoList)public org.squashtest.tm.domain.infolist.InfoList findByUniqueProperty(@NotNull
String prop,
@NotNull
String value)
InfoListFinderServicefindByUniqueProperty in interface InfoListFinderServiceInfoListFinderService.findByUniqueProperty(java.lang.String, java.lang.String)Copyright © 2010–2017 Henix, henix.fr. All rights reserved.