Interface Extension.RestrictedLanguagesProvider

All Known Implementing Classes:
CatalogManager
Enclosing class:
Extension

public static interface Extension.RestrictedLanguagesProvider
Implement this interface at your Manager class to restrict the access for an item for specific languages.
Since:
3.00 (beta1)
  • Method Details

    • getRestrictedLanguages

      Set<Language> getRestrictedLanguages(Item item)
      Return a set of Languages to allow access only for these languages. Returning an empty set would mean that access is forbidden for all languages!! Return null if you don't want to restrict access for the given item at all!