Infolayer
The Infolayer class contains a set of static methods providing general information about the current state of the Infolayer.Static Operations
- getCurrentUser(): User [I] [N]
- Returns the user logged in to this session context. Please note that the result type may vary if the user class is set to a different class using the il-userclass tagged value.
- getCurrentDateTime(): DateTime [I] [N]
- Returns the current date and time.
- getMimeType(s: String): String [I] [N]
- Returns the mime type for the given file name or extension, as defined in conf/mime.types.
- getConfigurationProperty(s: String): String [I] [N]
- Returns the system/servlet/model property with the given name.
- getActiveUsers(): Set(User) [I] [N]
- Returns the set of users currently logged in. As for getCurrentUser(), the actual return type may differ depending on the il-userclass tagged value.