Package org.appng.api.model
Interface Account
-
- All Known Subinterfaces:
ApplicationSubject
,AuthSubject
,Subject
- All Known Implementing Classes:
ApplicationSubjectImpl
,SubjectImpl
public interface Account
Basic account data.- Author:
- Matthias Müller
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAuthName()
Returns the username of thisAccount
, e.g.String
getEmail()
Returns the email for thisAccount
, e.g.String
getLanguage()
Returns the language tag for thisAccount
in the IETF BCP 47 notation:<lang>-<country>
.
Examples: en en-US de de-CHString
getRealname()
Returns the real name of thisAccount
, e.g.String
getTimeZone()
Returns the timezone for thisAccount
, e.g.
-
-
-
Method Detail
-
getAuthName
String getAuthName()
Returns the username of thisAccount
, e.g. 'admin'.- Returns:
- the username
-
getRealname
String getRealname()
Returns the real name of thisAccount
, e.g. 'appNG Administrator'.- Returns:
- the real name
-
getLanguage
String getLanguage()
Returns the language tag for thisAccount
in the IETF BCP 47 notation:<lang>-<country>
.
Examples:- en
- en-US
- de
- de-CH
- Returns:
- the language
- See Also:
Locale.forLanguageTag(String)
-
getTimeZone
String getTimeZone()
Returns the timezone for thisAccount
, e.g. 'Europe/Berlin'.- Returns:
- the timezone
-
-