Class UserProfile
- java.lang.Object
-
- com.saperion.ngc.model.authorization.UserProfile
-
public final class UserProfile extends java.lang.Object
This class provied access to the settings in the current user's profile.- Author:
- cmerkel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserProfile
get()
Returns the profile of the current user.boolean
isAdministrationAllowed()
boolean
isConfigureAllowed()
boolean
isDisplayAllowed()
boolean
isEditAllowed()
boolean
isImportAllowed()
boolean
isIndexingAllowed()
boolean
isQueryAllowed()
java.lang.String
toString()
-
-
-
Method Detail
-
get
public static UserProfile get()
Returns the profile of the current user.- Returns:
- the profile of the current user
-
isImportAllowed
public boolean isImportAllowed()
-
isIndexingAllowed
public boolean isIndexingAllowed()
-
isQueryAllowed
public boolean isQueryAllowed()
-
isDisplayAllowed
public boolean isDisplayAllowed()
-
isEditAllowed
public boolean isEditAllowed()
-
isAdministrationAllowed
public boolean isAdministrationAllowed()
-
isConfigureAllowed
public boolean isConfigureAllowed()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-