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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<Language>
getRestrictedLanguages(Item item)
Return a set ofLanguages
to allow access only for these languages.
-
-
-
Method Detail
-
getRestrictedLanguages
java.util.Set<Language> getRestrictedLanguages(Item item)
Return a set ofLanguages
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!
-
-