@Service(value="squashtest.tm.service.ProjectFilterModificationService") @Transactional public class ProjectFilterModificationServiceImpl extends Object implements ProjectFilterModificationService
| Constructor and Description |
|---|
ProjectFilterModificationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.squashtest.tm.domain.projectfilter.ProjectFilter |
findProjectFilterByUserLogin()
This method checks whether this user uses a project filter.
|
List<org.squashtest.tm.domain.project.Project> |
getAllProjects()
Get the list of all existing projects
|
void |
saveOrUpdateProjectFilter(List<Long> projectIdList,
boolean isActive)
This method update the projects filter project white list and status (activated or not)
|
void |
updateProjectFilterStatus(boolean status)
Method which update the project filter status
|
public ProjectFilterModificationServiceImpl()
public org.squashtest.tm.domain.projectfilter.ProjectFilter findProjectFilterByUserLogin()
findProjectFilterByUserLogin in interface ProjectFilterModificationServicepublic void saveOrUpdateProjectFilter(List<Long> projectIdList, boolean isActive)
ProjectFilterModificationServicesaveOrUpdateProjectFilter in interface ProjectFilterModificationServiceprojectIdList - the list of project in the "white list" (to be display)isActive - the status (activated or not)public void updateProjectFilterStatus(boolean status)
ProjectFilterModificationServiceupdateProjectFilterStatus in interface ProjectFilterModificationServicestatus - the project filter status@PostFilter(value="hasPermission(filterObject, \'READ\') or hasRole(\'ROLE_ADMIN\')") @Transactional(readOnly=true) public List<org.squashtest.tm.domain.project.Project> getAllProjects()
ProjectFilterModificationServicegetAllProjects in interface ProjectFilterModificationServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.