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. SeeContextRequest
.- Author:
- Jeff Fischer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContextId()
A soft reference for the application id.Locale
getDefaultLocale()
String
getName()
The general name for the applicationvoid
setContextId(String contextId)
A soft reference for the application id.void
setDefaultLocale(Locale defaultLocale)
void
setName(String name)
The general name for the application
-
-
-
Method Detail
-
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
void setContextId(String contextId)
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
void setName(String name)
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.
-
-