org.squashtest.csp.tm.service
Interface ProjectFilterModificationService

All Known Implementing Classes:
ProjectFilterModificationServiceImpl

public interface ProjectFilterModificationService


Method Summary
 ProjectFilter findProjectFilterByUserLogin()
          This method returns the default project filter for the current user
 List<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

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<Project> getAllProjects()
Get the list of all existing projects

Returns:
the list of all projects (List)


Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.