Package com.appiancorp.suiteapi.portal
Class SiteLocaleSettings
java.lang.Object
com.appiancorp.suiteapi.portal.SiteLocaleSettings
- All Implemented Interfaces:
Serializable
Bean to hold the application locale settings.
- See Also:
-
Constructor Summary
ConstructorDescriptionSiteLocaleSettings
(SiteLocaleSettings siteLocaleSettings) Create copy of SiteLocaleSettings object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.appiancorp.suiteapi.portal.LocaleSetting[]
int
hashCode()
boolean
void
setLocaleSettings
(com.appiancorp.suiteapi.portal.LocaleSetting[] localSettings) void
setPrimaryLocale
(Locale primaryLocale) void
setSitewideLocale
(boolean siteWideLocale)
-
Constructor Details
-
SiteLocaleSettings
public SiteLocaleSettings() -
SiteLocaleSettings
Create copy of SiteLocaleSettings object. Used to ensure that the object stored in the cache is not directly modified.- Parameters:
siteLocaleSettings
- Locale Settings to create a clone of.
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getPrimaryLocale
- Returns:
- Returns the primaryLocale.
-
setPrimaryLocale
- Parameters:
primaryLocale
- The primaryLocale to set.
-
isSitewideLocale
public boolean isSitewideLocale()- Returns:
- Returns the siteWideLocale.
-
setSitewideLocale
public void setSitewideLocale(boolean siteWideLocale) - Parameters:
siteWideLocale
- The siteWideLocale to set.
-
getLocaleSettings
public com.appiancorp.suiteapi.portal.LocaleSetting[] getLocaleSettings()- Returns:
- Returns the localSettings.
-
setLocaleSettings
public void setLocaleSettings(com.appiancorp.suiteapi.portal.LocaleSetting[] localSettings) - Parameters:
localSettings
- The localSettings to set.
-