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

java.lang.Object
  extended by com.atlassian.greenhopper.service.rapid.view.ColumnStatusAOListMapper
All Implemented Interfaces:
AOListMapper<ColumnStatusAO,java.lang.String>

public class ColumnStatusAOListMapper
extends java.lang.Object
implements AOListMapper<ColumnStatusAO,java.lang.String>


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

Method Detail

addCreateValues

public void addCreateValues(java.lang.String statusId,
                            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<ColumnStatusAO,java.lang.String>

setValues

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

Specified by:
setValues in interface AOListMapper<ColumnStatusAO,java.lang.String>

getExisting

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

Specified by:
getExisting in interface AOListMapper<ColumnStatusAO,java.lang.String>

findExisting

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

Specified by:
findExisting in interface AOListMapper<ColumnStatusAO,java.lang.String>

getActiveObjectClass

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

Specified by:
getActiveObjectClass in interface AOListMapper<ColumnStatusAO,java.lang.String>

fromAO

public java.util.List<java.lang.String> fromAO(ColumnStatusAO[] columnStatusAOs)
Specified by:
fromAO in interface AOListMapper<ColumnStatusAO,java.lang.String>

postCreateUpdate

public void postCreateUpdate(ColumnStatusAO t,
                             java.lang.String 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<ColumnStatusAO,java.lang.String>

preDelete

public void preDelete(ColumnStatusAO 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<ColumnStatusAO,java.lang.String>


Copyright © 2007-2013 Atlassian. All Rights Reserved.