com.atlassian.greenhopper.manager.detailview
Class DetailViewFieldAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>
      extended by com.atlassian.greenhopper.manager.detailview.DetailViewFieldAOListMapper
All Implemented Interfaces:
AOListMapper<DetailViewFieldAO,DetailViewField>

public class DetailViewFieldAOListMapper
extends AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>

TODO: Document this class / interface here

Since:
v5.0

Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Constructor Summary
protected DetailViewFieldAOListMapper(RapidViewAO parentAO, RelatedAOMapper<RapidViewAO,DetailViewFieldAO,DetailViewField> mapper)
           
 
Method Summary
 java.lang.Class<DetailViewFieldAO> getActiveObjectClass()
          Get the class of T
 DetailViewFieldAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(DetailViewFieldAO recordAO, DetailViewField model)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(DetailViewFieldAO recordAO)
          Called before the element is deleted, gives the mapper a chance to clean up child objects
 
Methods inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
addCreateValues, findExisting, fromAO, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailViewFieldAOListMapper

protected DetailViewFieldAOListMapper(RapidViewAO parentAO,
                                      RelatedAOMapper<RapidViewAO,DetailViewFieldAO,DetailViewField> mapper)
Method Detail

getActiveObjectClass

public java.lang.Class<DetailViewFieldAO> getActiveObjectClass()
Description copied from interface: AOListMapper
Get the class of T

Specified by:
getActiveObjectClass in interface AOListMapper<DetailViewFieldAO,DetailViewField>
Specified by:
getActiveObjectClass in class AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>

postCreateUpdate

public void postCreateUpdate(DetailViewFieldAO recordAO,
                             DetailViewField model)
Description copied from interface: AOListMapper
Called on the updated AO object (either once created or updated/saved). Gives the mapper a chance to do further work, e.g. update child objects.

Specified by:
postCreateUpdate in interface AOListMapper<DetailViewFieldAO,DetailViewField>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>

preDelete

public void preDelete(DetailViewFieldAO recordAO)
Description copied from interface: AOListMapper
Called before the element is deleted, gives the mapper a chance to clean up child objects

Specified by:
preDelete in interface AOListMapper<DetailViewFieldAO,DetailViewField>
Specified by:
preDelete in class AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>

getExisting

public DetailViewFieldAO[] getExisting()
Description copied from interface: AOListMapper
Provides all existing T.

Specified by:
getExisting in interface AOListMapper<DetailViewFieldAO,DetailViewField>
Specified by:
getExisting in class AbstractRelatedAOListMapper<RapidViewAO,DetailViewFieldAO,DetailViewField>


Copyright © 2007-2012 Atlassian. All Rights Reserved.