com.atlassian.greenhopper.manager.workingdays
Class NonWorkingDayAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>
      extended by com.atlassian.greenhopper.manager.workingdays.NonWorkingDayAOListMapper
All Implemented Interfaces:
AOListMapper<NonWorkingDayAO,NonWorkingDay>

public class NonWorkingDayAOListMapper
extends AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Constructor Summary
NonWorkingDayAOListMapper(WorkingDaysAO workingDaysAO, NonWorkingDayAOMapper mapper)
           
 
Method Summary
 java.lang.Class<NonWorkingDayAO> getActiveObjectClass()
          Get the class of T
 NonWorkingDayAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(NonWorkingDayAO recordAO, NonWorkingDay nonWorkingDay)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(NonWorkingDayAO 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

NonWorkingDayAOListMapper

public NonWorkingDayAOListMapper(WorkingDaysAO workingDaysAO,
                                 NonWorkingDayAOMapper mapper)
Method Detail

getActiveObjectClass

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

Specified by:
getActiveObjectClass in interface AOListMapper<NonWorkingDayAO,NonWorkingDay>
Specified by:
getActiveObjectClass in class AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>

postCreateUpdate

public void postCreateUpdate(NonWorkingDayAO recordAO,
                             NonWorkingDay nonWorkingDay)
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<NonWorkingDayAO,NonWorkingDay>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>

preDelete

public void preDelete(NonWorkingDayAO 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<NonWorkingDayAO,NonWorkingDay>
Specified by:
preDelete in class AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>

getExisting

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

Specified by:
getExisting in interface AOListMapper<NonWorkingDayAO,NonWorkingDay>
Specified by:
getExisting in class AbstractRelatedAOListMapper<WorkingDaysAO,NonWorkingDayAO,NonWorkingDay>


Copyright © 2007-2014 Atlassian. All Rights Reserved.