Package de.xima.fc.user
Class UserAccess
- java.lang.Object
-
- de.xima.fc.user.UserAccess
-
public class UserAccess extends Object
- Author:
- XIMA MEDIA GmbH, Dresden
-
-
Constructor Summary
Constructors Constructor Description UserAccess(LicenseAccess licenseAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LicenseAccess
getLicenseAccess()
Gets the licenseAccessboolean
hasAccess(Benutzer user, EAccessProperty property)
Checks if an user has access
-
-
-
Constructor Detail
-
UserAccess
public UserAccess(LicenseAccess licenseAccess)
-
-
Method Detail
-
hasAccess
public boolean hasAccess(Benutzer user, EAccessProperty property)
Checks if an user has access- Parameters:
user
- the userproperty
- the property to check- Returns:
true
if user has access,false
otherwhise
-
getLicenseAccess
public LicenseAccess getLicenseAccess()
Gets the licenseAccess- Returns:
- the licenseAccess
-
-