Interface AdQuestionServiceLocal

    • Method Detail

      • canManageQuestionsAsBuyer

        boolean canManageQuestionsAsBuyer​(AdType adType)
        Returns true if the logged user is able to manage questions (e.g ask, remove) over the given adType as a buyer (i.e not the ad's owner). To know if the questions are enabled for the ad's owner see isQuestionsEnabled(AdType, User)
      • isQuestionsEnabled

        boolean isQuestionsEnabled​(AdType adType,
                                   User owner)
        Returns true if the ad's owner has enabled ads questions for the given type.