org.squashtest.csp.tm.service.customfield
Interface CustomFieldValueFinderService

All Known Subinterfaces:
CustomFieldValueManagerService, PrivateCustomFieldValueService
All Known Implementing Classes:
PrivateCustomFieldValueServiceImpl

@Transactional(readOnly=true)
public interface CustomFieldValueFinderService


Method Summary
 List<CustomFieldValue> findAllCustomFieldValues(BoundEntity boundEntity)
          Will return the list of the custom field values associated to the specified bound entity.
 List<CustomFieldValue> findAllCustomFieldValues(Long boundEntityId, BindableEntity bindableEntity)
          Same as findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity are broken down into its ID and type.
 boolean hasCustomFields(BoundEntity boundEntity)
          Tells whether the given bound entity has custom fields or not.
 boolean hasCustomFields(Long boundEntityId, BindableEntity bindableEntity)
          Same as hasCustomFields(BoundEntity), the bound entity being identified by its type and id
 

Method Detail

findAllCustomFieldValues

List<CustomFieldValue> findAllCustomFieldValues(BoundEntity boundEntity)
Will return the list of the custom field values associated to the specified bound entity. The authenticated use must be administrator or have read permission on that entity.

Parameters:
entityId -
entityType -
Returns:

hasCustomFields

boolean hasCustomFields(BoundEntity boundEntity)
Tells whether the given bound entity has custom fields or not.

Parameters:
boundEntity -
Returns:

hasCustomFields

boolean hasCustomFields(Long boundEntityId,
                        BindableEntity bindableEntity)
Same as hasCustomFields(BoundEntity), the bound entity being identified by its type and id

Parameters:
boundEntityId -
bindableEntity -
Returns:

findAllCustomFieldValues

List<CustomFieldValue> findAllCustomFieldValues(Long boundEntityId,
                                                BindableEntity bindableEntity)
Same as findAllCustomFieldValues(BoundEntity), but the properties identifying a BoundEntity are broken down into its ID and type.

Parameters:
boundEntityId -
bindableEntity -
Returns:


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