|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.service.rapid.view.subquery.SubqueryAOMapper
@Service public class SubqueryAOMapper
Constructor Summary | |
---|---|
SubqueryAOMapper()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toAO(RapidViewAO rapidViewAO,
Subquery subquery)
Returns a map representation of the domain object, similar to AOMapper.toAO(Object) but also incorporating
the parent record information. |
java.util.Map<java.lang.String,java.lang.Object> |
toAO(Subquery subquery)
Return a mapping of AO column names to values which will represent the domain object. |
Subquery |
toModel(SubqueryAO subqueryAO)
Constructs a (usually immutable) domain object from the AO record. |
void |
update(Subquery subquery,
SubqueryAO subqueryAO)
Copies fields from a domain object to the AO record representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubqueryAOMapper()
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Object> toAO(RapidViewAO rapidViewAO, Subquery subquery)
RelatedAOMapper
AOMapper.toAO(Object)
but also incorporating
the parent record information.
toAO
in interface RelatedAOMapper<RapidViewAO,SubqueryAO,Subquery>
public java.util.Map<java.lang.String,java.lang.Object> toAO(Subquery subquery)
AOMapper
toAO
in interface AOMapper<SubqueryAO,Subquery>
subquery
- the new domain object
public Subquery toModel(SubqueryAO subqueryAO)
AOMapper
toModel
in interface AOMapper<SubqueryAO,Subquery>
subqueryAO
- the record to use
public void update(Subquery subquery, SubqueryAO subqueryAO)
AOMapper
update
in interface AOMapper<SubqueryAO,Subquery>
subquery
- the domain objectsubqueryAO
- the corresponding AO record
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |