org.squashtest.tm.service.customfield
Interface CustomFieldHelper<X extends org.squashtest.tm.domain.customfield.BoundEntity>

All Known Implementing Classes:
AbstractCustomFieldHelper, CustomFieldHelperImpl, NoValuesCustomFieldHelper

public interface CustomFieldHelper<X extends org.squashtest.tm.domain.customfield.BoundEntity>


Method Summary
 List<org.squashtest.tm.domain.customfield.CustomField> getCustomFieldConfiguration()
          sorted by position, filtered by location.
 List<org.squashtest.tm.domain.customfield.CustomFieldValue> getCustomFieldValues()
           
 CustomFieldHelper<X> includeAllCustomFields()
          tells the helper to include every custom fields it finds.
 CustomFieldHelper<X> restrictToCommonFields()
          tells the helper to retain only the custom fields that are common to all the entities (in case they come from mixed projects, or are of mixed concrete classes)
 CustomFieldHelper<X> setRenderingLocations(Collection<org.squashtest.tm.domain.customfield.RenderingLocation> locations)
           
 CustomFieldHelper<X> setRenderingLocations(org.squashtest.tm.domain.customfield.RenderingLocation... locations)
           
 

Method Detail

setRenderingLocations

CustomFieldHelper<X> setRenderingLocations(org.squashtest.tm.domain.customfield.RenderingLocation... locations)

setRenderingLocations

CustomFieldHelper<X> setRenderingLocations(Collection<org.squashtest.tm.domain.customfield.RenderingLocation> locations)

restrictToCommonFields

CustomFieldHelper<X> restrictToCommonFields()
tells the helper to retain only the custom fields that are common to all the entities (in case they come from mixed projects, or are of mixed concrete classes)

Returns:
this object

includeAllCustomFields

CustomFieldHelper<X> includeAllCustomFields()
tells the helper to include every custom fields it finds.

Returns:

getCustomFieldConfiguration

List<org.squashtest.tm.domain.customfield.CustomField> getCustomFieldConfiguration()
sorted by position, filtered by location.

Returns:

getCustomFieldValues

List<org.squashtest.tm.domain.customfield.CustomFieldValue> getCustomFieldValues()


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