org.squashtest.csp.tm.internal.service
Class GenericWorkspaceService<LIBRARY extends Library<NODE>,NODE extends LibraryNode>
java.lang.Object
org.squashtest.csp.tm.internal.service.GenericWorkspaceService<LIBRARY,NODE>
- Type Parameters:
LIBRARY - NODE -
- All Implemented Interfaces:
- WorkspaceService<LIBRARY>
@Transactional
public class GenericWorkspaceService<LIBRARY extends Library<NODE>,NODE extends LibraryNode>
- extends Object
- implements WorkspaceService<LIBRARY>
Generic service for workspace access. This service must be configured through XML.
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericWorkspaceService
public GenericWorkspaceService()
findAllLibraries
@PostFilter(value="hasPermission(filterObject, \'READ\') or hasRole(\'ROLE_ADMIN\')")
public List<LIBRARY> findAllLibraries()
- Description copied from interface:
WorkspaceService
- Returns all the libraries of LIBRARY type.
- Specified by:
findAllLibraries in interface WorkspaceService<LIBRARY extends Library<NODE>>
- Returns:
setLibraryDao
public final void setLibraryDao(LibraryDao<LIBRARY,NODE> libraryDao)
setLibraryStrategy
public void setLibraryStrategy(LibrarySelectionStrategy<LIBRARY,NODE> libraryStrategy)
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.