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 Summary
Modifier and TypeMethodDescriptiongetRestrictedLanguages(Item item) Return a set ofLanguagesto allow access only for these languages.
-
Method Details
-
getRestrictedLanguages
Return a set ofLanguagesto 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!
-