com.atlassian.greenhopper.manager.workingdays
Class WorkingDaysAOListMapper

java.lang.Object
  extended by com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>
      extended by com.atlassian.greenhopper.manager.workingdays.WorkingDaysAOListMapper
All Implemented Interfaces:
AOListMapper<WorkingDaysAO,WorkingDaysConfig>

public class WorkingDaysAOListMapper
extends AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.AbstractRelatedAOListMapper
mapper, parentAO
 
Constructor Summary
WorkingDaysAOListMapper(RapidViewAO rapidViewAO, WorkingDaysAOMapper mapper, com.atlassian.activeobjects.external.ActiveObjects ao, NonWorkingDayAOMapper nonWorkingDayAOMapper)
           
 
Method Summary
 java.lang.Class<WorkingDaysAO> getActiveObjectClass()
          Get the class of T
 WorkingDaysAO[] getExisting()
          Provides all existing T.
 void postCreateUpdate(WorkingDaysAO recordAO, WorkingDaysConfig workingDaysConfig)
          Called on the updated AO object (either once created or updated/saved).
 void preDelete(WorkingDaysAO workingDaysAO)
          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

WorkingDaysAOListMapper

public WorkingDaysAOListMapper(RapidViewAO rapidViewAO,
                               WorkingDaysAOMapper mapper,
                               com.atlassian.activeobjects.external.ActiveObjects ao,
                               NonWorkingDayAOMapper nonWorkingDayAOMapper)
Method Detail

getActiveObjectClass

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

Specified by:
getActiveObjectClass in interface AOListMapper<WorkingDaysAO,WorkingDaysConfig>
Specified by:
getActiveObjectClass in class AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>

postCreateUpdate

public void postCreateUpdate(WorkingDaysAO recordAO,
                             WorkingDaysConfig workingDaysConfig)
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<WorkingDaysAO,WorkingDaysConfig>
Specified by:
postCreateUpdate in class AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>

preDelete

public void preDelete(WorkingDaysAO workingDaysAO)
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<WorkingDaysAO,WorkingDaysConfig>
Specified by:
preDelete in class AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>

getExisting

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

Specified by:
getExisting in interface AOListMapper<WorkingDaysAO,WorkingDaysConfig>
Specified by:
getExisting in class AbstractRelatedAOListMapper<RapidViewAO,WorkingDaysAO,WorkingDaysConfig>


Copyright © 2007-2014 Atlassian. All Rights Reserved.