com.bea.alcs.domain.catalog
Interface Brand

All Superinterfaces:
CatalogObject, Entity, EpDomain, Persistence, java.io.Serializable
All Known Implementing Classes:
BrandImpl

public interface Brand
extends Entity, CatalogObject

Brand represents a product manufacturer/brand information.


Field Summary
static java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
          The name of localized property -- display name.
 
Method Summary
 java.lang.String getCode()
          Returns the brand code.
 java.lang.String getDisplayName(java.util.Locale locale)
          Deprecated. use getDisplayName(Locale, boolean) instead.
 java.lang.String getDisplayName(java.util.Locale locale, boolean fallback)
          Get the localized display name for this Brand in the given locale, falling back to the display name for the locale in this Brand's Master Catalog's default locale if requested.
 java.lang.String getImageUrl()
          Returns the url of the brand logo image.
 LocalizedProperties getLocalizedProperties()
          Returns the LocalizedProperties.
 java.util.Map<java.lang.String,LocalizedPropertyValue> getLocalizedPropertiesMap()
          Get the localized properties map.
 void setCode(java.lang.String code)
          Sets the brand code.
 void setImageUrl(java.lang.String imageUrl)
          Sets the url of the brand logo image.
 void setLocalizedProperties(LocalizedProperties localizedProperties)
          Sets the LocalizedProperties.
 void setLocalizedPropertiesMap(java.util.Map<java.lang.String,LocalizedPropertyValue> localizedPropertiesMap)
          Set the property map.
 
Methods inherited from interface com.bea.alcs.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.bea.alcs.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
 
Methods inherited from interface com.bea.alcs.domain.EpDomain
getElasticPath, getUtility, setDefaultValues, setElasticPath
 
Methods inherited from interface com.bea.alcs.domain.catalog.CatalogObject
getCatalog, setCatalog
 

Field Detail

LOCALIZED_PROPERTY_DISPLAY_NAME

static final java.lang.String LOCALIZED_PROPERTY_DISPLAY_NAME
The name of localized property -- display name.

See Also:
Constant Field Values
Method Detail

getImageUrl

java.lang.String getImageUrl()
Returns the url of the brand logo image.

Returns:
the url of the brand logo image

setImageUrl

void setImageUrl(java.lang.String imageUrl)
Sets the url of the brand logo image.

Parameters:
imageUrl - the url of the brand logo image

getLocalizedProperties

LocalizedProperties getLocalizedProperties()
Returns the LocalizedProperties.

Returns:
the LocalizedProperties

setLocalizedProperties

void setLocalizedProperties(LocalizedProperties localizedProperties)
Sets the LocalizedProperties.

Parameters:
localizedProperties - the LocalizedProperties

getCode

java.lang.String getCode()
Returns the brand code.

Returns:
the brand code of the brand

setCode

void setCode(java.lang.String code)
Sets the brand code.

Parameters:
code - the brand code of the brand

getDisplayName

java.lang.String getDisplayName(java.util.Locale locale)
Deprecated. use getDisplayName(Locale, boolean) instead.

Get the localized display name for this Brand in the given locale, falling back to the display name for the locale in this Brand's Master Catalog's default locale.

Parameters:
locale - the locale in which to return the display name
Returns:
the Brand's display name

getDisplayName

java.lang.String getDisplayName(java.util.Locale locale,
                                boolean fallback)
Get the localized display name for this Brand in the given locale, falling back to the display name for the locale in this Brand's Master Catalog's default locale if requested.

Parameters:
locale - the locale in which to return the display name
fallback - if true, will fallback to the display name in the Brand's Catalog if required
Returns:
the Brand's display name

getLocalizedPropertiesMap

java.util.Map<java.lang.String,LocalizedPropertyValue> getLocalizedPropertiesMap()
Get the localized properties map.

Returns:
the map

setLocalizedPropertiesMap

void setLocalizedPropertiesMap(java.util.Map<java.lang.String,LocalizedPropertyValue> localizedPropertiesMap)
Set the property map.

Parameters:
localizedPropertiesMap - the map to set