org.octopusden.employee.service.EmployeeService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of employee-service Show documentation
Show all versions of employee-service Show documentation
Octopus module: employee-service
package org.octopusden.employee.service
import org.octopusden.employee.client.common.dto.Employee
import org.octopusden.employee.client.common.dto.RequiredTimeDTO
import org.octopusden.employee.client.common.dto.WorkingDaysDTO
import java.time.LocalDate
interface EmployeeService {
fun getEmployee(username: String): Employee
fun getRequiredTime(username: String, fromDate: LocalDate, toDate: LocalDate): RequiredTimeDTO
fun isUserAvailable(username: String): Boolean
fun getEmployeeAvailableEarlier(employees: Set): Employee
fun getWorkingDays(fromDate: LocalDate, toDate: LocalDate): WorkingDaysDTO
}