org.squashtest.tm.service.project
@Transactional(readOnly=true) public interface GenericProjectFinder extends CustomGenericProjectFinder
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.project.GenericProject> |
findAllOrderedByName(org.squashtest.tm.core.foundation.collection.Paging paging) |
org.squashtest.tm.domain.project.GenericProject |
findById(long projectId) |
org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> |
findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
Will find all Projects and Templates to which the user has management access to and return them ordered according to the given params.
|
findAdministrableProjectById, findAllAvailableTaProjects, findAllPossiblePermission, findBoundTestAutomationProjects, findPartyPermissionsBeanByProject, findPartyPermissionsBeansByProject, findPartyWithoutPermissionByProject@PostFilter(value="hasPermission(filterObject, \'READ\') or hasRole(\'ROLE_ADMIN\')") List<org.squashtest.tm.domain.project.GenericProject> findAllOrderedByName(org.squashtest.tm.core.foundation.collection.Paging paging)
@PreAuthorize(value="hasRole(\'ROLE_TM_PROJECT_MANAGER\') or hasRole(\'ROLE_ADMIN\')") org.squashtest.tm.core.foundation.collection.PagedCollectionHolder<List<org.squashtest.tm.domain.project.GenericProject>> findSortedProjects(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
filter - the PagingAndSorting that holds order and paging paramsPagedCollectionHolder containing all projects the user has management access to, ordered according to the given params.org.squashtest.tm.domain.project.GenericProject findById(long projectId)
Copyright © 2010-2014 Henix, henix.fr. All Rights Reserved.