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

All Superinterfaces:
CustomCustomFieldBindingDao

public interface CustomFieldBindingDao
extends CustomCustomFieldBindingDao


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

Method Detail

findById

org.squashtest.tm.domain.customfield.CustomFieldBinding findById(long bindingId)

findAllForGenericProject

List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findAllForGenericProject(long projectId)

findAllForProjectAndEntity

List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findAllForProjectAndEntity(long projectId,
                                                                                         org.squashtest.tm.domain.customfield.BindableEntity boundEntity)

findAllForProjectAndEntity

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

findAllForCustomField

List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findAllForCustomField(long customFieldId)

persist

void persist(org.squashtest.tm.domain.customfield.CustomFieldBinding binding)

countAllForProjectAndEntity

Long countAllForProjectAndEntity(long projectId,
                                 org.squashtest.tm.domain.customfield.BindableEntity boundEntity)

findAllAlike

List<org.squashtest.tm.domain.customfield.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-2013 Henix, henix.fr. All Rights Reserved.