org.squashtest.csp.tm.internal.repository
Interface GenericProjectDao

All Superinterfaces:
CustomGenericProjectDao

public interface GenericProjectDao
extends CustomGenericProjectDao

Author:
Gregory Fouquet

Method Summary
 long countGenericProjects()
           
 List<GenericProject> findAll(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)
           
 List<Project> findAllByIds(List<Long> ids)
           
 List<TestAutomationProject> findBoundTestAutomationProjects(long id)
           
 GenericProject findById(long projectId)
           
 void remove(GenericProject project)
          Simply remove entity
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.CustomGenericProjectDao
coerceTemplateIntoProject, isProjectTemplate
 

Method Detail

countGenericProjects

long countGenericProjects()

findAll

@PostFilter(value="hasPermission(filterObject, \'MANAGEMENT\') or  hasRole(\'ROLE_ADMIN\')")
List<GenericProject> findAll(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)

findById

GenericProject findById(long projectId)

findBoundTestAutomationProjects

List<TestAutomationProject> findBoundTestAutomationProjects(long id)

findAllByIds

List<Project> findAllByIds(List<Long> ids)
Parameters:
idList -
Returns:

remove

void remove(GenericProject project)
Simply remove entity

Parameters:
project - : the GenericProject to remove


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