public class AccessManager extends Object
Constructor and Description |
---|
AccessManager() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasAccess(Benutzer benutzer,
EAccessProperty property)
Checks if the property is available for this user.
|
static boolean |
hasAccess(Benutzer benutzer,
Mandant client,
EAccessProperty property)
Checks if the property is available for this user.
|
static boolean |
hasAccessViaLicense(EAccessProperty property)
Checks if the property is available in the license.
|
static boolean |
hasAccessViaLicense(EAccessProperty property,
Mandant client)
Checks if the property is available in the license and on the client.
|
public static boolean hasAccess(Benutzer benutzer, EAccessProperty property)
benutzer
- the userproperty
- the propertytrue
if available, false
otherwisepublic static boolean hasAccess(Benutzer benutzer, Mandant client, EAccessProperty property)
benutzer
- the userclient
- the clientproperty
- the propertytrue
if available, false
otherwisepublic static boolean hasAccessViaLicense(EAccessProperty property)
property
- the propertytrue
if available, false
otherwisepublic static boolean hasAccessViaLicense(EAccessProperty property, Mandant client)
property
- the propertyclient
- the clienttrue
if available, false
otherwiseCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.