Holger's
Java API

com.antelmann.timeregister
Class OdbcPunchDB

java.lang.Object
  extended by com.antelmann.timeregister.AbstractPunchDB
      extended by com.antelmann.timeregister.SQLPunchDB
          extended by com.antelmann.timeregister.OdbcPunchDB
All Implemented Interfaces:
Licensed, PunchAdminDB, PunchDB

public class OdbcPunchDB
extends SQLPunchDB

Author:
Holger Antelmann

Field Summary
 
Fields inherited from class com.antelmann.timeregister.SQLPunchDB
CHECK_IN, CHECK_OUT, employeeAdminField, employeeBarcodeField, employeeCommentField, employeeEnabledField, employeeIdField, employeeNameField, employeePasswordField, employeeReadAllField, employeeReadField, employeeScheduleField, employeeTableName, holidayDateField, holidayNameField, holidayTableName, punchActivityField, punchCheckField, punchCommentField, punchEmployeeField, punchLocationField, punchTableName, punchTimeField, scheduleDayBeginField, scheduleFriBreakField, scheduleFriField, scheduleIntervalBeginField, scheduleIntervalCheckinField, scheduleIntervalEndField, scheduleIntervalNameField, scheduleIntervalTableName, scheduleMaxTimeField, scheduleMinTimeField, scheduleMonBreakField, scheduleMonField, scheduleNameField, scheduleSatBreakField, scheduleSatField, scheduleSunBreakField, scheduleSunField, scheduleTableName, scheduleThuBreakField, scheduleThuField, scheduleTueBreakField, scheduleTueField, scheduleWedBreakField, scheduleWedField, unitActivityField, unitApprovedField, unitBeginField, unitBreakField, unitCommentField, unitEmployeeField, unitEndField, unitTableName, unitTypeField
 
Fields inherited from class com.antelmann.timeregister.AbstractPunchDB
listeners
 
Constructor Summary
OdbcPunchDB(File iniFile)
           
OdbcPunchDB(Properties props)
          props must contain ODBCConnectionName
OdbcPunchDB(String connectionName, Properties props)
           
 
Method Summary
 
Methods inherited from class com.antelmann.timeregister.SQLPunchDB
close, delete, delete, delete, delete, deleteUser, extractUnits, extractUser, extractValidators, getActivities, getConnection, getFirstPunch, getHolidays, getLastPunch, getPassword, getPunch, getPunchData, getUser, getUsers, getWorkUnits, getWorkUnits, getWorkUnitsFor, getWorkUnitValidator, getWorkUnitValidators, insert, insert, insertUser, isInUse, save, store, storeUser, updatePassword, updateUser, updateWorkUnitValidator, verifyConsistency
 
Methods inherited from class com.antelmann.timeregister.AbstractPunchDB
addPunchListener, getPunchListeners, punch, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.antelmann.timeregister.PunchDB
addPunchListener, punch
 

Constructor Detail

OdbcPunchDB

public OdbcPunchDB(File iniFile)
            throws SQLException,
                   IOException
Throws:
SQLException
IOException

OdbcPunchDB

public OdbcPunchDB(Properties props)
            throws SQLException
props must contain ODBCConnectionName

Throws:
SQLException

OdbcPunchDB

public OdbcPunchDB(String connectionName,
                   Properties props)
            throws SQLException
Throws:
SQLException


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