org.squashtest.tm.service.project
Interface ProjectFilterModificationService

All Known Implementing Classes:
ProjectFilterModificationServiceImpl

public interface ProjectFilterModificationService


Method Summary
 org.squashtest.tm.domain.projectfilter.ProjectFilter findProjectFilterByUserLogin()
          This method returns the default project filter for the current user
 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
 

Method Detail

findProjectFilterByUserLogin

org.squashtest.tm.domain.projectfilter.ProjectFilter findProjectFilterByUserLogin()
This method returns the default project filter for the current user

Returns:
a projectFilter

saveOrUpdateProjectFilter

void saveOrUpdateProjectFilter(List<Long> projectIdList,
                               boolean isActive)
This method update the projects filter project white list and status (activated or not)

Parameters:
projectIdList - the list of project in the "white list" (to be display)
isActive - the status (activated or not)

updateProjectFilterStatus

void updateProjectFilterStatus(boolean status)
Method which update the project filter status

Parameters:
status - the project filter status

getAllProjects

List<org.squashtest.tm.domain.project.Project> getAllProjects()
Get the list of all existing projects

Returns:
the list of all projects (List)


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.