org.squashtest.tm.service.internal.customfield
Class DenormalizedFieldHelper<X extends org.squashtest.tm.domain.denormalizedfield.DenormalizedFieldHolder>

java.lang.Object
  extended by org.squashtest.tm.service.internal.customfield.DenormalizedFieldHelper<X>
Type Parameters:
X -

public class DenormalizedFieldHelper<X extends org.squashtest.tm.domain.denormalizedfield.DenormalizedFieldHolder>
extends Object

This version exists for the DenormalizedFieldHolder, which are structurally equivalent to BoundEntity but with a different class domain. For the API see CustomFieldHelper, except that we'll deal with DenormalizedFieldValue instead of CustomFieldValue. Note that for now the only adding strategy is "includeAllCustomFields" .

Author:
bsiri

Constructor Summary
DenormalizedFieldHelper(Collection<X> entities)
           
DenormalizedFieldHelper(X entity)
           
 
Method Summary
 List<org.squashtest.tm.domain.customfield.CustomField> getCustomFieldConfiguration()
           
 List<org.squashtest.tm.domain.denormalizedfield.DenormalizedFieldValue> getDenormalizedFieldValues()
           
protected  void init()
           
 void setDenormalizedFieldValueFinder(DenormalizedFieldValueFinder finder)
           
 DenormalizedFieldHelper<X> setRenderingLocations(Collection<org.squashtest.tm.domain.customfield.RenderingLocation> locations)
           
 DenormalizedFieldHelper<X> setRenderingLocations(org.squashtest.tm.domain.customfield.RenderingLocation... locations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DenormalizedFieldHelper

public DenormalizedFieldHelper(X entity)

DenormalizedFieldHelper

public DenormalizedFieldHelper(Collection<X> entities)
Method Detail

setDenormalizedFieldValueFinder

public void setDenormalizedFieldValueFinder(DenormalizedFieldValueFinder finder)

setRenderingLocations

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

setRenderingLocations

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

getCustomFieldConfiguration

public List<org.squashtest.tm.domain.customfield.CustomField> getCustomFieldConfiguration()

getDenormalizedFieldValues

public List<org.squashtest.tm.domain.denormalizedfield.DenormalizedFieldValue> getDenormalizedFieldValues()

init

protected void init()


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