com.elasticpath.domain.catalog
Interface Brand

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

public interface Brand
extends Entity

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)
          Get the localized display name for this brand.
 java.lang.String getImageUrl()
          Returns the url of the brand logo image.
 LocalizedProperties getLocalizedProperties()
          Returns the LocalizedProperties.
 java.lang.String getSeoUrlWithoutSuffix(java.util.Locale locale)
          Get the seo url for this brand.
 void setCode(java.lang.String code)
          Sets the brand code.
 void setImageUrl(java.lang.String imageUrl)
          Sets the url of the brand logo image.
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

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

getCode

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

Returns:
the brand code of the brand

getDisplayName

java.lang.String getDisplayName(java.util.Locale locale)
Get the localized display name for this brand.

Parameters:
locale - the current Locale
Returns:
the localized display name

getImageUrl

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

Returns:
the url of the brand logo image

getLocalizedProperties

LocalizedProperties getLocalizedProperties()
Returns the LocalizedProperties.

Returns:
the LocalizedProperties

getSeoUrlWithoutSuffix

java.lang.String getSeoUrlWithoutSuffix(java.util.Locale locale)
Get the seo url for this brand.

Parameters:
locale - the current Locale
Returns:
the seo url for this brand

setCode

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

Parameters:
code - the brand code of the brand

setImageUrl

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

Parameters:
imageUrl - the url of the brand logo image