Class DefaultPROSAPIUserService

java.lang.Object
de.hybris.platform.prosservices.services.impl.DefaultPROSAPIUserService
All Implemented Interfaces:
PROSAPIUserService

public class DefaultPROSAPIUserService extends Object implements PROSAPIUserService
Class is responsible for providing concrete implementation of the PROSAPIUserService interface. The class uses the prosApiUserDao class to query the database and return APIUserModel type.
  • Constructor Details

    • DefaultPROSAPIUserService

      public DefaultPROSAPIUserService()
  • Method Details

    • getAPIUserByCode

      public APIUserModel getAPIUserByCode(String code) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Find APIUser model based on the code.
      Specified by:
      getAPIUserByCode in interface PROSAPIUserService
      Parameters:
      code - the code
      Returns:
      the APIUser
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
    • getAPIUserByUserName

      public APIUserModel getAPIUserByUserName(String userName) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Find APIUser model based on the userName.
      Specified by:
      getAPIUserByUserName in interface PROSAPIUserService
      Parameters:
      userName - the userName
      Returns:
      the APIUser
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
    • getProsApiUserDao

      protected PROSAPIUserDao getProsApiUserDao()
      Returns the prosApiUserDao
      Returns:
    • setProsApiUserDao

      public void setProsApiUserDao(PROSAPIUserDao prosApiUserDao)
      Sets the prosApiUserDao
      Parameters:
      prosApiUserDao -