Class LanguagePrivileges
java.lang.Object
com.gentics.contentnode.rest.model.LanguagePrivileges
Privileges set on a specific language
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLanguage for which the privileges are setPrivileges for the languagevoid
setLanguage
(ContentLanguage language) Set the languagevoid
setPrivileges
(Map<Privilege, Boolean> privileges) Set the privilege map
-
Field Details
-
language
-
privileges
-
-
Constructor Details
-
LanguagePrivileges
public LanguagePrivileges()Create empty instance
-
-
Method Details
-
getLanguage
Language for which the privileges are set- Returns:
- language
-
setLanguage
Set the language- Parameters:
language
-
-
getPrivileges
Privileges for the language- Returns:
- privilege map
-
setPrivileges
Set the privilege map- Parameters:
privileges
- privilege map
-