Interface ApplicationInfo
public interface ApplicationInfo
Partially de-normalized representation of a multitenant application. Generally used during fetch
queries to discriminate results based on what is visible to the current application context. See
ContextRequest
.- Author:
- Jeff Fischer
-
Method Summary
Modifier and TypeMethodDescriptionA soft reference for the application id.getName()
The general name for the applicationvoid
setContextId
(String contextId) A soft reference for the application id.void
setDefaultLocale
(Locale defaultLocale) void
The general name for the application
-
Method Details
-
getContextId
String getContextId()A soft reference for the application id. Multitenant hierarchies for applications and catalogs are maintained separately in the multitenant microservice.- Returns:
- The soft reference to the application id
-
setContextId
A soft reference for the application id. Multitenant hierarchies for applications and catalogs are maintained separately in the multitenant microservice.- Parameters:
contextId
- The soft reference to the application id
-
getName
String getName()The general name for the application- Returns:
- The general name for the application
-
setName
The general name for the application- Parameters:
name
- The general name for the application
-
getDefaultLocale
Locale getDefaultLocale()TheLocale
that this application, by default, assumes all data is within and can drive the defaultLocale
selection as a result.- Returns:
- The default
Locale
as a string.
-
setDefaultLocale
TheLocale
that this application, by default, assumes all data is within and can drive the defaultLocale
selection as a result.- Parameters:
defaultLocale
- The defaultLocale
as a string.
-