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

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

public class SwimlaneAOListMapper
extends java.lang.Object
implements AOListMapper<SwimlaneAO,Swimlane>


Constructor Summary
SwimlaneAOListMapper(RapidViewAO rapidViewAO)
           
 
Method Summary
 void addCreateValues(Swimlane swimlane, java.util.Map<java.lang.String,java.lang.Object> params)
          Provide the db parameter for T to be created.
 SwimlaneAO findExisting(SwimlaneAO[] ts, Swimlane u)
          Get an existing T for given u.
 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
 void setValues(SwimlaneAO swimlaneAO, Swimlane swimlane)
          Updates an AO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwimlaneAOListMapper

public SwimlaneAOListMapper(RapidViewAO rapidViewAO)
Method Detail

getExisting

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

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

addCreateValues

public void addCreateValues(Swimlane swimlane,
                            java.util.Map<java.lang.String,java.lang.Object> params)
Description copied from interface: AOListMapper
Provide the db parameter for T to be created.

Specified by:
addCreateValues in interface AOListMapper<SwimlaneAO,Swimlane>

setValues

public void setValues(SwimlaneAO swimlaneAO,
                      Swimlane swimlane)
Description copied from interface: AOListMapper
Updates an AO. Note that save should not be called.

Specified by:
setValues in interface AOListMapper<SwimlaneAO,Swimlane>

findExisting

public SwimlaneAO findExisting(SwimlaneAO[] ts,
                               Swimlane u)
Description copied from interface: AOListMapper
Get an existing T for given u. Returns null if not found.

Specified by:
findExisting in interface AOListMapper<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>

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>

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>


Copyright © 2007-2012 Atlassian. All Rights Reserved.