Uses of Class
com.myhrcrmproject.dto.contractDTO.ContractResponseDTO
Packages that use ContractResponseDTO
Package
Description
-
Uses of ContractResponseDTO in com.myhrcrmproject.controller
Methods in com.myhrcrmproject.controller that return types with arguments of type ContractResponseDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ContractResponseDTO>ContractController.createNew(ContractRequestDTO requestDTO) Endpoint to create a new contract.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAll()Endpoint to retrieve a list of all contracts.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAllActiveContracts()Endpoint to retrieve a list of all active contracts.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAllActiveContracts(Integer id) Endpoint to retrieve a list of contracts by candidate ID.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAllByClientId(Integer id) Endpoint to retrieve a list of contracts by client ID.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAllByContractTypeId(Integer id) Endpoint to retrieve a list of contracts by type ID.org.springframework.http.ResponseEntity<List<ContractResponseDTO>>ContractController.findAllByEmployeeId(Integer id) Endpoint to retrieve a list of contracts by employee ID.org.springframework.http.ResponseEntity<ContractResponseDTO>Endpoint to retrieve a contract by its ID.org.springframework.http.ResponseEntity<ContractResponseDTO>ContractController.update(Integer id, ContractRequestDTO requestDTO) Endpoint to update an existing contract. -
Uses of ContractResponseDTO in com.myhrcrmproject.service
Methods in com.myhrcrmproject.service that return ContractResponseDTOModifier and TypeMethodDescriptionContractService.create(ContractRequestDTO requestDTO) Creates a new contract record based on the provided data.Retrieves a contract record by its unique identifier.ContractService.update(Integer id, ContractRequestDTO requestDTO) Updates an existing contract record with new data.Methods in com.myhrcrmproject.service that return types with arguments of type ContractResponseDTOModifier and TypeMethodDescriptionContractService.findAll()Retrieves a list of all contract records.ContractService.findAllActiveContracts()Retrieves a list of all active contract records.ContractService.findAllByCandidateId(Integer id) Retrieves a list of contracts associated with a specific candidate.ContractService.findAllByClientId(Integer id) Retrieves a list of contracts associated with a specific client.ContractService.findAllByContractTypeId(Integer id) Retrieves a list of contract records based on the type of contract.ContractService.findAllByEmployeeId(Integer id) Retrieves a list of contracts associated with a specific employee. -
Uses of ContractResponseDTO in com.myhrcrmproject.service.utills
Methods in com.myhrcrmproject.service.utills that return ContractResponseDTO