|
||||||||||
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.QuickFilterAOMapper
@Service public class QuickFilterAOMapper
Constructor Summary | |
---|---|
QuickFilterAOMapper()
|
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toAO(QuickFilter quickFilter)
Return a mapping of AO column names to values which will represent the domain object. |
java.util.Map<java.lang.String,java.lang.Object> |
toAO(RapidViewAO rapidViewAO,
QuickFilter quickFilter)
Returns a map representation of the domain object, similar to AOMapper.toAO(Object) but also incorporating
the parent record information. |
java.util.List<QuickFilter> |
toModel(java.util.List<QuickFilterAO> quickFilterAOs)
|
QuickFilter |
toModel(QuickFilterAO quickFilterAO)
Constructs a (usually immutable) domain object from the AO record. |
void |
update(QuickFilter source,
QuickFilterAO target)
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 QuickFilterAOMapper()
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.Object> toAO(RapidViewAO rapidViewAO, QuickFilter quickFilter)
RelatedAOMapper
AOMapper.toAO(Object)
but also incorporating
the parent record information.
toAO
in interface RelatedAOMapper<RapidViewAO,QuickFilterAO,QuickFilter>
public java.util.Map<java.lang.String,java.lang.Object> toAO(QuickFilter quickFilter)
AOMapper
toAO
in interface AOMapper<QuickFilterAO,QuickFilter>
quickFilter
- the new domain object
public QuickFilter toModel(QuickFilterAO quickFilterAO)
AOMapper
toModel
in interface AOMapper<QuickFilterAO,QuickFilter>
quickFilterAO
- the record to use
public void update(QuickFilter source, QuickFilterAO target)
AOMapper
update
in interface AOMapper<QuickFilterAO,QuickFilter>
source
- the domain objecttarget
- the corresponding AO recordpublic java.util.List<QuickFilter> toModel(java.util.List<QuickFilterAO> quickFilterAOs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |