Package data.service

Interface AttendanceDataService

All Known Implementing Classes:
FileDataService

public interface AttendanceDataService
Represents a service for handling attendance data.
  • Method Details

    • getAttendanceRecord_ByAttendanceID

      AttendanceRecord getAttendanceRecord_ByAttendanceID(String attendanceID)
      Retrieves an attendance record by its attendance ID.
      Parameters:
      attendanceID - The ID of the attendance record.
      Returns:
      The attendance record with the specified ID.
    • getAttendanceRecord_ByEmployeeID

      AttendanceRecord getAttendanceRecord_ByEmployeeID(int employeeID)
      Retrieves an attendance record by employee ID.
      Parameters:
      employeeID - The ID of the employee.
      Returns:
      The attendance record associated with the specified employee.
    • getAllAttendance_ByEmployeeID

      List<AttendanceRecord> getAllAttendance_ByEmployeeID(int employeeID)
      Retrieves all attendance records for a specific employee.
      Parameters:
      employeeID - The ID of the employee.
      Returns:
      A list of all attendance records for the specified employee.
    • getAllAttendanceRecords

      List<AttendanceRecord> getAllAttendanceRecords()
      Retrieves all attendance records.
      Returns:
      A list of all attendance records.
    • updateAttendanceRecord

      void updateAttendanceRecord(AttendanceRecord attendance)
      Updates an attendance record.
      Parameters:
      attendance - The attendance record to be updated.
    • addAttendanceRecord

      void addAttendanceRecord(AttendanceRecord attendance)
      Adds a new attendance record.
      Parameters:
      attendance - The attendance record to be added.
    • getAll_AttendanceRecord_ForPeriod

      List<AttendanceRecord> getAll_AttendanceRecord_ForPeriod(LocalDate periodStart, LocalDate periodEnd)
      Retrieves all attendance records for a specified period.
      Parameters:
      periodStart - The start date of the period.
      periodEnd - The end date of the period.
      Returns:
      A list of all attendance records within the specified period.