|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.project.ProjectFilterModificationServiceImpl
@Service(value="squashtest.tm.service.ProjectFilterModificationService") @Transactional public class ProjectFilterModificationServiceImpl
| Constructor Summary | |
|---|---|
ProjectFilterModificationServiceImpl()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectFilterModificationServiceImpl()
| Method Detail |
|---|
public org.squashtest.tm.domain.projectfilter.ProjectFilter findProjectFilterByUserLogin()
findProjectFilterByUserLogin in interface ProjectFilterModificationService
public void saveOrUpdateProjectFilter(List<Long> projectIdList,
boolean isActive)
ProjectFilterModificationService
saveOrUpdateProjectFilter 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)
ProjectFilterModificationService
updateProjectFilterStatus 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()
ProjectFilterModificationService
getAllProjects in interface ProjectFilterModificationService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||