Interface AdCategoryServiceLocal

    • Method Detail

      • clearAdCategoriesCache

        void clearAdCategoriesCache​(Long languageId)
        Evicts all keys matching the current network and for the given language. If the languageId is null then will evict for all languages.
      • findByParentAndInternalName

        AdCategoryVO findByParentAndInternalName​(AdCategoryVO parent,
                                                 String internalName)
        Finds a category with the given parent and internal name. In case parent is null it will look for root categories
      • listRoot

        List<AdCategory> listRoot​(boolean onlyActive)
        Returns a list of root categories, optionally only the active
      • listVisible

        List<AdCategoryDetailedVO> listVisible​(User user)
        Returns the visible ad categories for the given user or the logged user if null