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

java.lang.Object
  extended by com.atlassian.greenhopper.service.rapid.view.QuickFilterAOListMapper
All Implemented Interfaces:
AOListMapper<QuickFilterAO,QuickFilter>

public class QuickFilterAOListMapper
extends java.lang.Object
implements AOListMapper<QuickFilterAO,QuickFilter>


Constructor Summary
QuickFilterAOListMapper(RapidViewAO rapidViewAO)
           
 
Method Summary
 void addCreateValues(QuickFilter quickFilter, java.util.Map<java.lang.String,java.lang.Object> params)
          Provide the db parameter for T to be created.
 QuickFilterAO findExisting(QuickFilterAO[] ts, QuickFilter u)
          Get an existing T for given u.
 java.lang.Class<QuickFilterAO> getActiveObjectClass()
          Get the class of T
 QuickFilterAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(QuickFilterAO t, QuickFilter u)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(QuickFilterAO t)
          Called before the element is deleted, gives the mapper a chance to clean up child objects
 void setValues(QuickFilterAO t, QuickFilter u)
          Updates an AO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuickFilterAOListMapper

public QuickFilterAOListMapper(RapidViewAO rapidViewAO)
Method Detail

addCreateValues

public void addCreateValues(QuickFilter quickFilter,
                            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<QuickFilterAO,QuickFilter>

setValues

public void setValues(QuickFilterAO t,
                      QuickFilter u)
Description copied from interface: AOListMapper
Updates an AO. Note that save should not be called.

Specified by:
setValues in interface AOListMapper<QuickFilterAO,QuickFilter>

getExisting

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

Specified by:
getExisting in interface AOListMapper<QuickFilterAO,QuickFilter>

findExisting

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

Specified by:
findExisting in interface AOListMapper<QuickFilterAO,QuickFilter>

getActiveObjectClass

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

Specified by:
getActiveObjectClass in interface AOListMapper<QuickFilterAO,QuickFilter>

postCreateUpdate

public void postCreateUpdate(QuickFilterAO t,
                             QuickFilter 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<QuickFilterAO,QuickFilter>

preDelete

public void preDelete(QuickFilterAO 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<QuickFilterAO,QuickFilter>


Copyright © 2007-2012 Atlassian. All Rights Reserved.