public interface CustomFieldBindingDao extends CustomCustomFieldBindingDao
| Modifier and Type | Method and Description |
|---|---|
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) |
List<Object[]> |
findEffectiveBindingsForEntities(List<Long> entityIds,
org.squashtest.tm.domain.customfield.BindableEntity entityType)
batched version of
findEffectiveBindingsForEntity(long, BindableEntity). |
List<org.squashtest.tm.domain.customfield.CustomFieldBinding> |
findEffectiveBindingsForEntity(long entityId,
org.squashtest.tm.domain.customfield.BindableEntity entityType)
Given a bound entity, find which custom field bindings are effectively honored.
|
void |
persist(org.squashtest.tm.domain.customfield.CustomFieldBinding binding) |
findAllByIds, findAllByIds, removeCustomFieldBindingsorg.squashtest.tm.domain.customfield.CustomFieldBinding findById(long bindingId)
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)
List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findAllForCustomField(long customFieldId)
void persist(org.squashtest.tm.domain.customfield.CustomFieldBinding binding)
Long countAllForProjectAndEntity(long projectId, org.squashtest.tm.domain.customfield.BindableEntity boundEntity)
List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findAllAlike(long id)
id - List<org.squashtest.tm.domain.customfield.CustomFieldBinding> findEffectiveBindingsForEntity(long entityId, org.squashtest.tm.domain.customfield.BindableEntity entityType)
boundEntityId - boundEntityType - List<Object[]> findEffectiveBindingsForEntities(List<Long> entityIds, org.squashtest.tm.domain.customfield.BindableEntity entityType)
findEffectiveBindingsForEntity(long, BindableEntity).
The result set is a bit different as it returns a tuple-2 : [ entityId, CustomFieldBinding].
The first element of the array is an entityId, and the second is a CustomFieldBinding.
If an entity (of a given id) has multiple binding actually honored, multiple tuples will be
returned for that entity.entityIds - entityType - Copyright © 2010-2015 Henix, henix.fr. All Rights Reserved.