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

All Superinterfaces:
CustomGenericProjectDao

public interface GenericProjectDao
extends CustomGenericProjectDao

Author:
Gregory Fouquet

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

Method Detail

countGenericProjects

long countGenericProjects()

findAll

List<org.squashtest.tm.domain.project.GenericProject> findAll(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting)

findProjectsFiltered

List<org.squashtest.tm.domain.project.GenericProject> findProjectsFiltered(org.squashtest.tm.core.foundation.collection.PagingAndSorting pagingAndSorting,
                                                                           String filter)

findById

org.squashtest.tm.domain.project.GenericProject findById(long projectId)

findBoundTestAutomationProjects

List<org.squashtest.tm.domain.testautomation.TestAutomationProject> findBoundTestAutomationProjects(long id)

findAllByIds

List<org.squashtest.tm.domain.project.GenericProject> findAllByIds(List<Long> ids)
Parameters:
idList -
Returns:

remove

void remove(org.squashtest.tm.domain.project.GenericProject project)
Simply remove entity

Parameters:
project - : the GenericProject to remove


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