com.atlassian.greenhopper.service.rapid.view
Class SwimlaneAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>
      extended by com.atlassian.greenhopper.service.rapid.view.SwimlaneAOListMapper
All Implemented Interfaces:
AOListMapper<SwimlaneAO,Swimlane>

public class SwimlaneAOListMapper
extends AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>
implements AOListMapper<SwimlaneAO,Swimlane>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Constructor Summary
SwimlaneAOListMapper(RapidViewAO parentAO, RelatedAOMapper<RapidViewAO,SwimlaneAO,Swimlane> mapper)
           
 
Method Summary
 java.lang.Class<SwimlaneAO> getActiveObjectClass()
          Get the class of T
 SwimlaneAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(SwimlaneAO t, Swimlane u)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(SwimlaneAO t)
          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
 
Methods inherited from interface com.atlassian.greenhopper.manager.AOListMapper
addCreateValues, findExisting, fromAO, setValues
 

Constructor Detail

SwimlaneAOListMapper

public SwimlaneAOListMapper(RapidViewAO parentAO,
                            RelatedAOMapper<RapidViewAO,SwimlaneAO,Swimlane> mapper)
Method Detail

getExisting

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

Specified by:
getExisting in interface AOListMapper<SwimlaneAO,Swimlane>
Specified by:
getExisting in class AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>

getActiveObjectClass

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

Specified by:
getActiveObjectClass in interface AOListMapper<SwimlaneAO,Swimlane>
Specified by:
getActiveObjectClass in class AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>

postCreateUpdate

public void postCreateUpdate(SwimlaneAO t,
                             Swimlane u)
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<SwimlaneAO,Swimlane>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>

preDelete

public void preDelete(SwimlaneAO t)
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<SwimlaneAO,Swimlane>
Specified by:
preDelete in class AbstractRelatedAOListMapper<RapidViewAO,SwimlaneAO,Swimlane>


Copyright © 2007-2013 Atlassian. All Rights Reserved.