public interface CustomFieldValueFinderService
| Modifier and Type | Method and Description |
|---|---|
boolean |
areValuesEditable(long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
Tells if the CF values of the given entity are editable, according to both security rules and sensible business
rules.
|
List<org.squashtest.tm.domain.customfield.CustomFieldValue> |
findAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity boundEntity)
Will return the list of the custom field values associated to the specified bound entity.
|
List<org.squashtest.tm.domain.customfield.CustomFieldValue> |
findAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> boundEntities)
Same as
findAllCustomFieldValues(BoundEntity), using a List of entities instead. |
List<org.squashtest.tm.domain.customfield.CustomFieldValue> |
findAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> boundEntities,
Collection<org.squashtest.tm.domain.customfield.CustomField> restrictedToThoseCustomfields)
Same as
findAllCustomFieldValues(Collection), but only the values refering to one of the custom fields
given as argument will be retained. |
List<org.squashtest.tm.domain.customfield.CustomFieldValue> |
findAllCustomFieldValues(long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
Same as
findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity are broken
down into its ID and type. |
List<org.squashtest.tm.domain.customfield.CustomFieldValue> |
findAllForEntityAndRenderingLocation(org.squashtest.tm.domain.customfield.BoundEntity boundEntity,
org.squashtest.tm.domain.customfield.RenderingLocation renderingLocation) |
boolean |
hasCustomFields(org.squashtest.tm.domain.customfield.BoundEntity boundEntity)
Tells whether the given bound entity has custom fields or not.
|
boolean |
hasCustomFields(Long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
Same as
hasCustomFields(BoundEntity), the bound entity being identified by its type and id |
List<org.squashtest.tm.domain.customfield.CustomFieldValue> findAllCustomFieldValues(org.squashtest.tm.domain.customfield.BoundEntity boundEntity)
entityId - entityType - List<org.squashtest.tm.domain.customfield.CustomFieldValue> findAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> boundEntities)
findAllCustomFieldValues(BoundEntity), using a List of entities instead. This method is pure
convenience, to fetch custom fields in bulk (and soften the db queries overhead).
The order of the result is arbitrary.boundEntity - List<org.squashtest.tm.domain.customfield.CustomFieldValue> findAllCustomFieldValues(Collection<? extends org.squashtest.tm.domain.customfield.BoundEntity> boundEntities, Collection<org.squashtest.tm.domain.customfield.CustomField> restrictedToThoseCustomfields)
findAllCustomFieldValues(Collection), but only the values refering to one of the custom fields
given as argument will be retained.boundEntities - restrictedToThoseCustomfields - boolean hasCustomFields(org.squashtest.tm.domain.customfield.BoundEntity boundEntity)
boundEntity - boolean hasCustomFields(Long boundEntityId, org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
hasCustomFields(BoundEntity), the bound entity being identified by its type and idboundEntityId - bindableEntity - List<org.squashtest.tm.domain.customfield.CustomFieldValue> findAllCustomFieldValues(long boundEntityId, org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity are broken
down into its ID and type.boundEntityId - bindableEntity - boolean areValuesEditable(long boundEntityId,
org.squashtest.tm.domain.customfield.BindableEntity bindableEntity)
boundEntityId - bindableEntity - List<org.squashtest.tm.domain.customfield.CustomFieldValue> findAllForEntityAndRenderingLocation(org.squashtest.tm.domain.customfield.BoundEntity boundEntity, org.squashtest.tm.domain.customfield.RenderingLocation renderingLocation)
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.