com.atlassian.greenhopper.manager
Interface RelatedAOMapper<P,T extends Entity,U>

All Superinterfaces:
AOMapper<T,U>
All Known Implementing Classes:
BoardAdminAOMapper, CardColorAOMapper, ColumnAOMapper, DetailViewFieldAOMapper, EstimateStatisticAOMapper, NonWorkingDayAOMapper, QuickFilterAOMapper, SubqueryAOMapper, SwimlaneAOMapper, TrackingStatisticAOMapper, WorkingDaysAOMapper

public interface RelatedAOMapper<P,T extends Entity,U>
extends AOMapper<T,U>

A specialisation of AOMapper for AO records T which have a relationship with a parent record P.

Since:
v5.9.5

Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toAO(P parent, U model)
          Returns a map representation of the domain object, similar to AOMapper.toAO(Object) but also incorporating the parent record information.
 
Methods inherited from interface com.atlassian.greenhopper.manager.AOMapper
toAO, toModel, update
 

Method Detail

toAO

@NotNull
java.util.Map<java.lang.String,java.lang.Object> toAO(P parent,
                                                              U model)
Returns a map representation of the domain object, similar to AOMapper.toAO(Object) but also incorporating the parent record information.

Parameters:
parent -
model -
Returns:


Copyright © 2007-2014 Atlassian. All Rights Reserved.