Package data.service

Interface UserCredentialsDataService

All Known Implementing Classes:
FileDataService

public interface UserCredentialsDataService
Represents a service for managing user credentials data.
  • Method Details

    • getUserCredentials_ByEmployeeID

      UserCredentials getUserCredentials_ByEmployeeID(String employeeID)
      Retrieves user credentials by employee ID.
      Parameters:
      employeeID - The ID of the employee.
      Returns:
      The user credentials associated with the specified employee ID.
    • getUserCredentials_ByUserName

      UserCredentials getUserCredentials_ByUserName(String userName)
      Retrieves user credentials by username.
      Parameters:
      userName - The username.
      Returns:
      The user credentials associated with the specified username.
    • getUserCredentials_ByRole

      List<UserCredentials> getUserCredentials_ByRole(String role)
      Retrieves user credentials by role.
      Parameters:
      role - The role of the user.
      Returns:
      A list of user credentials associated with the specified role.
    • getUserCredentials_ByPosition

      List<UserCredentials> getUserCredentials_ByPosition(String position)
      Retrieves user credentials by position.
      Parameters:
      position - The position of the user.
      Returns:
      A list of user credentials associated with the specified position.
    • getUserCredentials_ByDepartment

      List<UserCredentials> getUserCredentials_ByDepartment(String department)
      Retrieves user credentials by department.
      Parameters:
      department - The department of the user.
      Returns:
      A list of user credentials associated with the specified department.
    • getAllUserCredentials

      List<UserCredentials> getAllUserCredentials()
      Retrieves all user credentials.
      Returns:
      A list of all user credentials.
    • updateUserCredentials

      void updateUserCredentials(UserCredentials userCredential)
      Updates user credentials.
      Parameters:
      userCredential - The user credentials to be updated.
    • addUserCredentials

      void addUserCredentials(UserCredentials userCredentials)
      Adds user credentials.
      Parameters:
      userCredentials - The user credentials to be added.
    • deleteUserCredentials_ByEmployeeID

      void deleteUserCredentials_ByEmployeeID(String employeeID)
      Deletes user credentials by employee ID.
      Parameters:
      employeeID - The ID of the employee whose credentials are to be deleted.