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

All Superinterfaces:
CustomCustomFieldBindingDao

public interface CustomFieldBindingDao
extends CustomCustomFieldBindingDao


Method Summary
 Long countAllForProjectAndEntity(long projectId, BindableEntity boundEntity)
           
 List<CustomFieldBinding> findAllAlike(long id)
          Given an id, returns the list of all the entities binding the same project to the same entity.
 List<CustomFieldBinding> findAllForCustomField(long customFieldId)
           
 List<CustomFieldBinding> findAllForGenericProject(long projectId)
           
 List<CustomFieldBinding> findAllForProjectAndEntity(long projectId, BindableEntity boundEntity)
           
 List<CustomFieldBinding> findAllForProjectAndEntity(long projectId, BindableEntity boundEntity, org.squashtest.tm.core.foundation.collection.Paging paging)
           
 void persist(CustomFieldBinding binding)
           
 
Methods inherited from interface org.squashtest.csp.tm.internal.repository.CustomCustomFieldBindingDao
findAllByIds, findAllByIds, removeCustomFieldBindings
 

Method Detail

findAllForGenericProject

List<CustomFieldBinding> findAllForGenericProject(long projectId)

findAllForProjectAndEntity

List<CustomFieldBinding> findAllForProjectAndEntity(long projectId,
                                                    BindableEntity boundEntity)

findAllForProjectAndEntity

List<CustomFieldBinding> findAllForProjectAndEntity(long projectId,
                                                    BindableEntity boundEntity,
                                                    org.squashtest.tm.core.foundation.collection.Paging paging)

findAllForCustomField

List<CustomFieldBinding> findAllForCustomField(long customFieldId)

persist

void persist(CustomFieldBinding binding)

countAllForProjectAndEntity

Long countAllForProjectAndEntity(long projectId,
                                 BindableEntity boundEntity)

findAllAlike

List<CustomFieldBinding> findAllAlike(long id)
Given an id, returns the list of all the entities binding the same project to the same entity.

Parameters:
id -
Returns:


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