Class TenantSearchGroupEvent.TenantRef
java.lang.Object
com.broadleafcommerce.search.core.messaging.TenantSearchGroupEvent.TenantRef
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TenantSearchGroupEvent
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanArbitrary attributes associated with this tenant.TheCurrencythat this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend.getId()getName()The general name for the tenantinthashCode()voidsetAttributes(Map<String, Object> attributes) Arbitrary attributes associated with this tenant.voidsetDefaultCurrency(Currency defaultCurrency) TheCurrencythat this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend.voidsetDefaultLocale(Locale defaultLocale) voidvoidThe general name for the tenanttoString()
-
Constructor Details
-
TenantRef
public TenantRef()
-
-
Method Details
-
getId
-
getName
The general name for the tenant- Returns:
- The general name for the tenant
-
getDefaultLocale
TheLocalethat this tenant, by default, assumes all data is within and can drive the defaultLocaleselection as a result.- Returns:
- The default
Localeas a string.
-
getDefaultCurrency
TheCurrencythat this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend. If not set, the system will use the default currency fordefaultLocalein response to API requests.- Returns:
- The
Currencythat this tenant.
-
getAttributes
Arbitrary attributes associated with this tenant. May include soft references to related entities, custom fields, or other data.- Returns:
- Map of attributes for this tenant
-
setId
-
setName
The general name for the tenant- Parameters:
name- The general name for the tenant
-
setDefaultLocale
TheLocalethat this tenant, by default, assumes all data is within and can drive the defaultLocaleselection as a result.- Parameters:
defaultLocale- The defaultLocaleas a string.
-
setDefaultCurrency
TheCurrencythat this tenant, by default, assumes all data is within and can drive the default currency selection on a frontend. If not set, the system will use the default currency fordefaultLocalein response to API requests.- Parameters:
defaultCurrency- TheCurrencythat this tenant
-
setAttributes
Arbitrary attributes associated with this tenant. May include soft references to related entities, custom fields, or other data.- Parameters:
attributes- Map of attributes for this tenant
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-