Interface AccountModelMapper

All Superinterfaces:
AccountModelRoleMapper

public interface AccountModelMapper extends AccountModelRoleMapper

The Interface AccountModelMapper

An interface to define the account related models mapping.
Version:
8.0
Author:
Infosys Equinox
  • Method Details

    • accountToAccountDTO

      AccountsDTO accountToAccountDTO(Accounts account)
      This method is used to transform the accounts model into orchestration account data transfer model.
      Parameters:
      account - Indicates the Accounts model for converting
      Returns:
      Returns orchestration AccountsDTO model object
    • accountDTOToAccount

      Accounts accountDTOToAccount(AccountsDTO account)
      This method is used to transform the orchestration account data transfer model into accounts model
      Parameters:
      account - Indicates orchestration AccountsDTO model object
      Returns:
      Returns Accounts model object
    • accountSettingsToAccountSettingsDTO

      AccountSettingsDTO accountSettingsToAccountSettingsDTO(AccountSettings accountSettings)
      This method is used to transform the accountsettings model into orchestration accountsettings data transfer model.
      Parameters:
      accountSettings - Indicates the AccountSettings model for converting
      Returns:
      Returns orchestration AccountSettingsDTO model object
    • userToAccountRepDTO

      AccountRepDTO userToAccountRepDTO(Users users)
      This method is used to transform the accountrep model into orchestration accountrep data transfer model.
      Parameters:
      users - Indicates the Users model for converting
      Returns:
      Returns orchestration AccountRepDTO model object
    • addressOrchestrationToAddresses

      Addresses addressOrchestrationToAddresses(AddressOrchestration addressOrchestration)
      This method is used to transform the orchestration address model into address model
      Parameters:
      addressOrchestration - Indicates orchestration AddressOrchestration model object
      Returns:
      Returns Addresses model object
    • adressesDtoToAddessOrchestration

      AddressOrchestration adressesDtoToAddessOrchestration(AddressesDTO addressesDTO)
      This method is used to transform the orchestration address model into address model
      Parameters:
      addressesDTO - Indicates orchestration AddressesDTO model object
      Returns:
      Returns AddressOrchestration model object
    • addressesToAddressOrchestration

      AddressOrchestration addressesToAddressOrchestration(Addresses addresses)
      This method is used to transform the address model into orchestration address service model
      Parameters:
      addresses - Indicates Addresses model object
      Returns:
      Returns orchestration AddressOrchestration model object
    • addressesListToAddressOrchestrationList

      List<AddressOrchestration> addressesListToAddressOrchestrationList(List<Addresses> addresses)
      This method is used to transform list of the address model into list of orchestration address service model
      Parameters:
      addresses - Indicates Addresses model object
      Returns:
      Returns orchestration AddressesDTO model object
    • costCentersDTOToCostCentre

      CostCentre costCentersDTOToCostCentre(CostCentersDTO costCentreDTO)
      This method is used to transform the orchestration costCenters data transfer model into CostCenter model
      Parameters:
      costCentreDTO - Indicates orchestration CostCentersDTO model object
      Returns:
      Returns CostCentre model object
    • costCentreToCostCentersDTO

      CostCentersDTO costCentreToCostCentersDTO(CostCentre costCentre)
      This method is used to transform the CostCenter model into orchestration costCenters data transfer model
      Parameters:
      costCentre - Indicates CostCentre model object
      Returns:
      Returns orchestration CostCentersDTO model object
    • costCentreRequestToCostCentre

      CostCentre costCentreRequestToCostCentre(CostCentreRequest costCentreRequest)
      This method is used to transform the orchestration CostCentersRequest model into CostCenter model
      Parameters:
      costCentreRequest - Indicates orchestration CostCentreRequest model object
      Returns:
      Returns CostCentre model object
    • costCentreToCostCentreResponse

      CostCentreResponse costCentreToCostCentreResponse(CostCentre costCentre)
      This method is used to transform the CostCenter model into orchestration CostCenterResponse model
      Parameters:
      costCentre - Indicates CostCentre model object
      Returns:
      Returns orchestration CostCentreResponse model object
    • teamsDTOToTeam

      Team teamsDTOToTeam(TeamsDTO teamsDTO)
      This method is used to transform the orchestration team data transfer model into team model
      Parameters:
      teamsDTO - Indicates orchestration TeamsDTO model object
      Returns:
      Returns Team model object.
    • teamToTeamsDTO

      TeamsDTO teamToTeamsDTO(Team team)
      This method is used to transform the team model into the orchestration team data transfer model
      Parameters:
      team - Indicates Team model object
      Returns:
      Returns orchestration TeamsDTO model object
    • teamToTeamsResponse

      TeamsResponse teamToTeamsResponse(Team team)
      This method is used to transform the team model into orchestration teams response model.
      Parameters:
      team - Indicates Team model object
      Returns:
      Returns orchestration TeamsResponse model
    • accountPropertyToAccountPropertyDTO

      AccountPropertiesDTO accountPropertyToAccountPropertyDTO(AccountProperties accountProperty)
      This method is used to transform the account properties model into orchestration account properties data transfer model
      Parameters:
      accountProperty - Indicates AccountProperties model
      Returns:
      Returns orchestration AccountPropertiesDTO model
    • accountPropertyDTOToAccountProperty

      AccountProperties accountPropertyDTOToAccountProperty(AccountPropertiesDTO accountProperty)
      This method is used to transform the orchestration account properties data transfer model into account properties model
      Parameters:
      accountProperty - Indicates orchestration AccountPropertiesDTO model
      Returns:
      Returns AccountProperties model
    • budgetsToBudgetsDTO

      BudgetsDTO budgetsToBudgetsDTO(Budgets budgets)
      This method is used to transform the budgets model into orchestration budgets data transfer model
      Parameters:
      budgets - Indicates Budgets model
      Returns:
      Returns orchestration BudgetsDTO model
    • budgetsDTOToBudgets

      Budgets budgetsDTOToBudgets(BudgetsDTO budgetsDTO)
      This method is used to transform the orchestration budgets data transfer model into budgets model
      Parameters:
      budgetsDTO - Indicates orchestration BudgetsDTO model
      Returns:
      Returns Budgets model
    • budgetRequestToBudgets

      Budgets budgetRequestToBudgets(BudgetRequest budgetRequest)
      This method is used to transform the orchestration budgetRequest data transfer model into budgets model
      Parameters:
      budgetRequest - Indicates orchestration BudgetRequest model
      Returns:
      Returns Budgets model
    • accountBuyerToAccountBuyerDTO

      AccountBuyerDTO accountBuyerToAccountBuyerDTO(AccountBuyer accountBuyer)
      This method is used to transform the account buyer model into orchestration account buyer data transfer model
      Parameters:
      accountBuyer - Indicates AccountBuyer model
      Returns:
      Returns orchestration AccountBuyerDTO model
    • accountBuyerDTOToAccountBuyer

      AccountBuyer accountBuyerDTOToAccountBuyer(AccountBuyerDTO accountBuyerDTO)
      This method is used to transform the orchestration account buyer data transfer model into account buyer model
      Parameters:
      accountBuyerDTO - Indicates orchestration AccountBuyerDTO model
      Returns:
      Returns AccountBuyer model
    • contractsToContractsDTO

      ContractsDTO contractsToContractsDTO(Contracts contracts)
    • accountPropertiesToAccountPropertiesDTO

      List<AccountPropertiesDTO> accountPropertiesToAccountPropertiesDTO(List<AccountProperties> accountProperties)
    • accountPropertiesDTOToAccountProperties

      List<AccountProperties> accountPropertiesDTOToAccountProperties(List<AccountPropertiesDTO> accountPropertiesDTO)
      This method is used to transform the orchestration account properties data transfer list model into the account properties list model
      Parameters:
      accountPropertiesDTO - Indicates the list of AccountPropertiesDTO orchestration model
      Returns:
      Returns the list of AccountProperties model
    • budgetsToBudgetsDTO

      List<BudgetsDTO> budgetsToBudgetsDTO(List<Budgets> budgets)
      This method is used to transform the budgets list model into the orchestration budgets data transfer list model
      Parameters:
      budgets - Indicates the list of Budgets model
      Returns:
      Returns the list of BudgetsDTO orchestration model
    • budgetsDTOToBudgets

      List<Budgets> budgetsDTOToBudgets(List<BudgetsDTO> budgetsDTO)
      This method is used to transform the orchestration budgets data transfer list model into the budgets list model
      Parameters:
      budgetsDTO - Indicates the list of BudgetsDTO orchestration model
      Returns:
      Returns the list of Budgets model
    • accountBuyerToAccountBuyerDTO

      List<AccountBuyerDTO> accountBuyerToAccountBuyerDTO(List<AccountBuyer> accountBuyers)
      This method is used to transform the account buyer list model into the orchestration account buyer data transfer list model
      Parameters:
      accountBuyers - Indicates the list of AccountBuyer model
      Returns:
      Returns the list of AccountBuyerDTO orchestration model
    • accountBuyerDTOToAccountBuyer

      List<AccountBuyer> accountBuyerDTOToAccountBuyer(List<AccountBuyerDTO> accountBuyers)
      This method is used to transform the orchestration account buyer data transfer list model into the account buyer list model
      Parameters:
      accountBuyers - Indicates the list of AccountBuyerDTO orchestration model
      Returns:
      Returns the list of AccountBuyer model
    • addressesToAddressOrchestration

      List<AddressOrchestration> addressesToAddressOrchestration(List<Addresses> addresses)
      This method is used to transform the address list model into the orchestration address list model
      Parameters:
      addresses - Indicates the list of Addresses model
      Returns:
      Returns the list of AddressOrchestration model
    • teamToTeamsDTO

      List<TeamsDTO> teamToTeamsDTO(List<Team> team)
      This method is used to transform the team list model into the orchestration teams data transfer list model
      Parameters:
      team - Indicates the list of Team model
      Returns:
      Returns the list of TeamsDTO orchestration model
    • contractsToContractsDTO

      List<ContractsDTO> contractsToContractsDTO(List<Contracts> contracts)
      This method is used to transform the contract list model into the orchestration contract data transfer list model
      Parameters:
      contracts - Indicates the list of Contracts model
      Returns:
      Returns the list of ContractsDTO orchestration model
    • cutomersToAccountBuyerInfoDTO

      List<AccountBuyerInfoDTO> cutomersToAccountBuyerInfoDTO(List<Users> users)
      This method is used to transform the orchestration user info to account buyer data transfer list model into the accountbuyer list model
      Parameters:
      users - Indicates the list of Users orchestration model
      Returns:
      Returns the list of AccountBuyerInfoDTO model
    • costCentreToCostCentreResponse

      List<CostCentreResponse> costCentreToCostCentreResponse(List<CostCentre> costCentres)
      This method is used to transform the CostCentre list model into the CostCentreResponse list model
      Parameters:
      costCentres - Indicates the list of CostCentre model
      Returns:
      Returns the list of CostCentreResponse orchestration model