com.antelmann.timeregister
Class WorkUnitGenerator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkUnitGenerator
public WorkUnitGenerator(Logger logger)
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