Holger's
Java API

com.antelmann.timeregister
Class WorkUnitGenerator

java.lang.Object
  extended by com.antelmann.timeregister.WorkUnitGenerator
All Implemented Interfaces:
PunchListener, EventListener

public class WorkUnitGenerator
extends Object
implements PunchListener

responsible for generating WorkUnit objects and put them into the database. This implementation requires a PunchAdminDB as a parameter to the call of punchPerformed.

Author:
Holger Antelmann

Constructor Summary
WorkUnitGenerator(Logger logger)
           
 
Method Summary
 void punchPerformed(PunchDB db, PunchData pd)
          called only after the given PunchData object has been successfully committed to the database
 void punchPerformed2(PunchDB db, PunchData pd)
           
 void punchPerformedOld(PunchDB db, PunchData pd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkUnitGenerator

public WorkUnitGenerator(Logger logger)
Method Detail

punchPerformed

public void punchPerformed(PunchDB db,
                           PunchData pd)
Description copied from interface: PunchListener
called only after the given PunchData object has been successfully committed to the database

Specified by:
punchPerformed in interface PunchListener
See Also:
PunchDB.addPunchListener(PunchListener), PunchDB.punch(PunchData)

punchPerformed2

public void punchPerformed2(PunchDB db,
                            PunchData pd)

punchPerformedOld

public void punchPerformedOld(PunchDB db,
                              PunchData pd)


(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads