@ProviderType public interface CommerceInventoryWarehouseModel extends com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouse>, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
This interface and its corresponding implementation com.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.inventory.model.impl.CommerceInventoryWarehouseImpl.
CommerceInventoryWarehouse| Modifier and Type | Method and Description |
|---|---|
CommerceInventoryWarehouse |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this commerce inventory warehouse.
|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getCity()
Returns the city of this commerce inventory warehouse.
|
long |
getCommerceInventoryWarehouseId()
Returns the commerce inventory warehouse ID of this commerce inventory warehouse.
|
java.lang.String |
getCommerceRegionCode()
Returns the commerce region code of this commerce inventory warehouse.
|
long |
getCompanyId()
Returns the company ID of this commerce inventory warehouse.
|
java.lang.String |
getCountryTwoLettersISOCode()
Returns the country two letters iso code of this commerce inventory warehouse.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce inventory warehouse.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this commerce inventory warehouse.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this commerce inventory warehouse in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this commerce inventory warehouse in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this commerce inventory warehouse in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this commerce inventory warehouse in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this commerce inventory warehouse.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce inventory warehouse.
|
double |
getLatitude()
Returns the latitude of this commerce inventory warehouse.
|
double |
getLongitude()
Returns the longitude of this commerce inventory warehouse.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce inventory warehouse.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce inventory warehouse.
|
java.lang.String |
getName()
Returns the name of this commerce inventory warehouse.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this commerce inventory warehouse in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this commerce inventory warehouse in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this commerce inventory warehouse in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this commerce inventory warehouse in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this commerce inventory warehouse.
|
long |
getPrimaryKey()
Returns the primary key of this commerce inventory warehouse.
|
java.lang.String |
getStreet1()
Returns the street1 of this commerce inventory warehouse.
|
java.lang.String |
getStreet2()
Returns the street2 of this commerce inventory warehouse.
|
java.lang.String |
getStreet3()
Returns the street3 of this commerce inventory warehouse.
|
java.lang.String |
getType()
Returns the type of this commerce inventory warehouse.
|
long |
getUserId()
Returns the user ID of this commerce inventory warehouse.
|
java.lang.String |
getUserName()
Returns the user name of this commerce inventory warehouse.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce inventory warehouse.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce inventory warehouse.
|
java.lang.String |
getZip()
Returns the zip of this commerce inventory warehouse.
|
boolean |
isActive()
Returns
true if this commerce inventory warehouse is active. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setActive(boolean active)
Sets whether this commerce inventory warehouse is active.
|
void |
setCity(java.lang.String city)
Sets the city of this commerce inventory warehouse.
|
void |
setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
Sets the commerce inventory warehouse ID of this commerce inventory warehouse.
|
void |
setCommerceRegionCode(java.lang.String commerceRegionCode)
Sets the commerce region code of this commerce inventory warehouse.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce inventory warehouse.
|
void |
setCountryTwoLettersISOCode(java.lang.String countryTwoLettersISOCode)
Sets the country two letters iso code of this commerce inventory warehouse.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce inventory warehouse.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce inventory warehouse.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this commerce inventory warehouse in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this commerce inventory warehouse in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this commerce inventory warehouse from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this commerce inventory warehouse from the map of locales and localized descriptions, and sets the default locale.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce inventory warehouse.
|
void |
setLatitude(double latitude)
Sets the latitude of this commerce inventory warehouse.
|
void |
setLongitude(double longitude)
Sets the longitude of this commerce inventory warehouse.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce inventory warehouse.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce inventory warehouse.
|
void |
setName(java.lang.String name)
Sets the name of this commerce inventory warehouse.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this commerce inventory warehouse in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this commerce inventory warehouse in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this commerce inventory warehouse from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this commerce inventory warehouse from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce inventory warehouse.
|
void |
setStreet1(java.lang.String street1)
Sets the street1 of this commerce inventory warehouse.
|
void |
setStreet2(java.lang.String street2)
Sets the street2 of this commerce inventory warehouse.
|
void |
setStreet3(java.lang.String street3)
Sets the street3 of this commerce inventory warehouse.
|
void |
setType(java.lang.String type)
Sets the type of this commerce inventory warehouse.
|
void |
setUserId(long userId)
Sets the user ID of this commerce inventory warehouse.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce inventory warehouse.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce inventory warehouse.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce inventory warehouse.
|
void |
setZip(java.lang.String zip)
Sets the zip of this commerce inventory warehouse.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this commerce inventory warehouselong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce inventory warehouse@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce inventory warehouse@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode - the external reference code of this commerce inventory warehouselong getCommerceInventoryWarehouseId()
void setCommerceInventoryWarehouseId(long commerceInventoryWarehouseId)
commerceInventoryWarehouseId - the commerce inventory warehouse ID of this commerce inventory warehouselong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce inventory warehouselong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce inventory warehousejava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce inventory warehouse@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce inventory warehousejava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce inventory warehousejava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce inventory warehousejava.lang.String getName()
@AutoEscape java.lang.String getName(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getName(java.util.Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getName(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getName(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getNameCurrentLanguageId()
@AutoEscape java.lang.String getNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getNameMap()
void setName(java.lang.String name)
name - the name of this commerce inventory warehousevoid setName(java.lang.String name,
java.util.Locale locale)
name - the localized name of this commerce inventory warehouselocale - the locale of the languagevoid setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
name - the localized name of this commerce inventory warehouselocale - the locale of the languagedefaultLocale - the default localevoid setNameCurrentLanguageId(java.lang.String languageId)
void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
nameMap - the locales and localized names of this commerce inventory warehousevoid setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
nameMap - the locales and localized names of this commerce inventory warehousedefaultLocale - the default localejava.lang.String getDescription()
@AutoEscape java.lang.String getDescription(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
locale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.@AutoEscape java.lang.String getDescription(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getDescriptionCurrentLanguageId()
@AutoEscape java.lang.String getDescriptionCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
void setDescription(java.lang.String description)
description - the description of this commerce inventory warehousevoid setDescription(java.lang.String description,
java.util.Locale locale)
description - the localized description of this commerce inventory warehouselocale - the locale of the languagevoid setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
description - the localized description of this commerce inventory warehouselocale - the locale of the languagedefaultLocale - the default localevoid setDescriptionCurrentLanguageId(java.lang.String languageId)
void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
descriptionMap - the locales and localized descriptions of this commerce inventory warehousevoid setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
descriptionMap - the locales and localized descriptions of this commerce inventory warehousedefaultLocale - the default localeboolean getActive()
boolean isActive()
true if this commerce inventory warehouse is active.true if this commerce inventory warehouse is active; false otherwisevoid setActive(boolean active)
active - the active of this commerce inventory warehouse@AutoEscape java.lang.String getStreet1()
void setStreet1(java.lang.String street1)
street1 - the street1 of this commerce inventory warehouse@AutoEscape java.lang.String getStreet2()
void setStreet2(java.lang.String street2)
street2 - the street2 of this commerce inventory warehouse@AutoEscape java.lang.String getStreet3()
void setStreet3(java.lang.String street3)
street3 - the street3 of this commerce inventory warehouse@AutoEscape java.lang.String getCity()
void setCity(java.lang.String city)
city - the city of this commerce inventory warehouse@AutoEscape java.lang.String getZip()
void setZip(java.lang.String zip)
zip - the zip of this commerce inventory warehouse@AutoEscape java.lang.String getCommerceRegionCode()
void setCommerceRegionCode(java.lang.String commerceRegionCode)
commerceRegionCode - the commerce region code of this commerce inventory warehouse@AutoEscape java.lang.String getCountryTwoLettersISOCode()
void setCountryTwoLettersISOCode(java.lang.String countryTwoLettersISOCode)
countryTwoLettersISOCode - the country two letters iso code of this commerce inventory warehousedouble getLatitude()
void setLatitude(double latitude)
latitude - the latitude of this commerce inventory warehousedouble getLongitude()
void setLongitude(double longitude)
longitude - the longitude of this commerce inventory warehouse@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this commerce inventory warehousejava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionCommerceInventoryWarehouse cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceInventoryWarehouse>