public interface BoundEntityDao
| Modifier and Type | Method and Description |
|---|---|
List<org.squashtest.tm.domain.customfield.BoundEntity> |
findAllForBinding(org.squashtest.tm.domain.customfield.CustomFieldBinding customFieldBinding)
given a CustomFieldBinding, returns all the existing entities subject to that binding; namely all the {@link BindableEntity} that belongs
to the project of that binding.
|
org.squashtest.tm.domain.customfield.BoundEntity |
findBoundEntity(org.squashtest.tm.domain.customfield.CustomFieldValue customFieldValue)
given a
CustomFieldValue id, returns the BoundEntity instance it is related to. |
org.squashtest.tm.domain.customfield.BoundEntity |
findBoundEntity(Long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity entityType)
Will retrieve a
BoundEntity according to its ID and type. |
boolean |
hasCustomField(Long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity entityType)
Tells whether the given bound entity has custom fields or not.
|
List<org.squashtest.tm.domain.customfield.BoundEntity> findAllForBinding(org.squashtest.tm.domain.customfield.CustomFieldBinding customFieldBinding)
customFieldBinding - org.squashtest.tm.domain.customfield.BoundEntity findBoundEntity(org.squashtest.tm.domain.customfield.CustomFieldValue customFieldValue)
CustomFieldValue id, returns the BoundEntity instance it is related to.customFieldValueId - org.squashtest.tm.domain.customfield.BoundEntity findBoundEntity(Long boundEntityId, org.squashtest.tm.domain.customfield.BindableEntity entityType)
BoundEntity according to its ID and type.boundEntityId - entityType - boolean hasCustomField(Long boundEntityId, org.squashtest.tm.domain.customfield.BindableEntity entityType)
boundEntityId - entityType - Copyright © 2010–2017 Henix, henix.fr. All rights reserved.