@ProviderType public class CommerceWarehouseWrapper extends java.lang.Object implements CommerceWarehouse, com.liferay.portal.kernel.model.ModelWrapper<CommerceWarehouse>
This class is a wrapper for CommerceWarehouse.
CommerceWarehouse,
Serialized FormCOMMERCE_WAREHOUSE_ID_ACCESSOR| Constructor and Description |
|---|
CommerceWarehouseWrapper(CommerceWarehouse commerceWarehouse) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceWarehouse commerceWarehouse) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive()
Returns the active of this commerce warehouse.
|
java.lang.String |
getCity()
Returns the city of this commerce warehouse.
|
CommerceCountry |
getCommerceCountry() |
long |
getCommerceCountryId()
Returns the commerce country ID of this commerce warehouse.
|
CommerceRegion |
getCommerceRegion() |
long |
getCommerceRegionId()
Returns the commerce region ID of this commerce warehouse.
|
long |
getCommerceWarehouseId()
Returns the commerce warehouse ID of this commerce warehouse.
|
java.util.List<CommerceWarehouseItem> |
getCommerceWarehouseItems() |
long |
getCompanyId()
Returns the company ID of this commerce warehouse.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce warehouse.
|
java.lang.String |
getDescription()
Returns the description of this commerce warehouse.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this commerce warehouse.
|
double |
getLatitude()
Returns the latitude of this commerce warehouse.
|
double |
getLongitude()
Returns the longitude of this commerce warehouse.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce warehouse.
|
java.lang.String |
getName()
Returns the name of this commerce warehouse.
|
boolean |
getPrimary()
Returns the primary of this commerce warehouse.
|
long |
getPrimaryKey()
Returns the primary key of this commerce warehouse.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getStreet1()
Returns the street1 of this commerce warehouse.
|
java.lang.String |
getStreet2()
Returns the street2 of this commerce warehouse.
|
java.lang.String |
getStreet3()
Returns the street3 of this commerce warehouse.
|
long |
getUserId()
Returns the user ID of this commerce warehouse.
|
java.lang.String |
getUserName()
Returns the user name of this commerce warehouse.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce warehouse.
|
CommerceWarehouse |
getWrappedModel() |
java.lang.String |
getZip()
Returns the zip of this commerce warehouse.
|
int |
hashCode() |
boolean |
isActive()
Returns
true if this commerce warehouse is active. |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isGeolocated() |
boolean |
isNew() |
boolean |
isPrimary()
Returns
true if this commerce warehouse is primary. |
void |
persist() |
void |
resetOriginalValues() |
void |
setActive(boolean active)
Sets whether this commerce warehouse is active.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCity(java.lang.String city)
Sets the city of this commerce warehouse.
|
void |
setCommerceCountryId(long commerceCountryId)
Sets the commerce country ID of this commerce warehouse.
|
void |
setCommerceRegionId(long commerceRegionId)
Sets the commerce region ID of this commerce warehouse.
|
void |
setCommerceWarehouseId(long commerceWarehouseId)
Sets the commerce warehouse ID of this commerce warehouse.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce warehouse.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce warehouse.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce warehouse.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this commerce warehouse.
|
void |
setLatitude(double latitude)
Sets the latitude of this commerce warehouse.
|
void |
setLongitude(double longitude)
Sets the longitude of this commerce warehouse.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce warehouse.
|
void |
setName(java.lang.String name)
Sets the name of this commerce warehouse.
|
void |
setNew(boolean n) |
void |
setPrimary(boolean primary)
Sets whether this commerce warehouse is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce warehouse.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStreet1(java.lang.String street1)
Sets the street1 of this commerce warehouse.
|
void |
setStreet2(java.lang.String street2)
Sets the street2 of this commerce warehouse.
|
void |
setStreet3(java.lang.String street3)
Sets the street3 of this commerce warehouse.
|
void |
setUserId(long userId)
Sets the user ID of this commerce warehouse.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce warehouse.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce warehouse.
|
void |
setZip(java.lang.String zip)
Sets the zip of this commerce warehouse.
|
com.liferay.portal.kernel.model.CacheModel<CommerceWarehouse> |
toCacheModel() |
CommerceWarehouse |
toEscapedModel() |
java.lang.String |
toString() |
CommerceWarehouse |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceWarehouseWrapper(CommerceWarehouse commerceWarehouse)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public java.lang.Object clone()
clone in interface CommerceWarehouseModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>clone in class java.lang.Objectpublic int compareTo(CommerceWarehouse commerceWarehouse)
compareTo in interface CommerceWarehouseModelcompareTo in interface java.lang.Comparable<CommerceWarehouse>public boolean getActive()
getActive in interface CommerceWarehouseModelpublic java.lang.String getCity()
getCity in interface CommerceWarehouseModelpublic CommerceCountry getCommerceCountry() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCountry in interface CommerceWarehousecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceCountryId()
getCommerceCountryId in interface CommerceWarehouseModelpublic CommerceRegion getCommerceRegion() throws com.liferay.portal.kernel.exception.PortalException
getCommerceRegion in interface CommerceWarehousecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceRegionId()
getCommerceRegionId in interface CommerceWarehouseModelpublic long getCommerceWarehouseId()
getCommerceWarehouseId in interface CommerceWarehouseModelpublic java.util.List<CommerceWarehouseItem> getCommerceWarehouseItems()
getCommerceWarehouseItems in interface CommerceWarehousepublic long getCompanyId()
getCompanyId in interface CommerceWarehouseModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceWarehouseModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getDescription()
getDescription in interface CommerceWarehouseModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceWarehouseModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface CommerceWarehouseModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic double getLatitude()
getLatitude in interface CommerceWarehouseModelpublic double getLongitude()
getLongitude in interface CommerceWarehouseModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceWarehouseModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getName()
getName in interface CommerceWarehouseModelpublic boolean getPrimary()
getPrimary in interface CommerceWarehouseModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceWarehouseModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceWarehouseModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getStreet1()
getStreet1 in interface CommerceWarehouseModelpublic java.lang.String getStreet2()
getStreet2 in interface CommerceWarehouseModelpublic java.lang.String getStreet3()
getStreet3 in interface CommerceWarehouseModelpublic long getUserId()
getUserId in interface CommerceWarehouseModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceWarehouseModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceWarehouseModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getZip()
getZip in interface CommerceWarehouseModelpublic int hashCode()
hashCode in interface CommerceWarehouseModelhashCode in class java.lang.Objectpublic boolean isActive()
true if this commerce warehouse is active.isActive in interface CommerceWarehouseModeltrue if this commerce warehouse is active; false otherwisepublic boolean isCachedModel()
isCachedModel in interface CommerceWarehouseModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public boolean isEscapedModel()
isEscapedModel in interface CommerceWarehouseModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public boolean isGeolocated()
isGeolocated in interface CommerceWarehousepublic boolean isNew()
isNew in interface CommerceWarehouseModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public boolean isPrimary()
true if this commerce warehouse is primary.isPrimary in interface CommerceWarehouseModeltrue if this commerce warehouse is primary; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setActive(boolean active)
setActive in interface CommerceWarehouseModelactive - the active of this commerce warehousepublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceWarehouseModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setCity(java.lang.String city)
setCity in interface CommerceWarehouseModelcity - the city of this commerce warehousepublic void setCommerceCountryId(long commerceCountryId)
setCommerceCountryId in interface CommerceWarehouseModelcommerceCountryId - the commerce country ID of this commerce warehousepublic void setCommerceRegionId(long commerceRegionId)
setCommerceRegionId in interface CommerceWarehouseModelcommerceRegionId - the commerce region ID of this commerce warehousepublic void setCommerceWarehouseId(long commerceWarehouseId)
setCommerceWarehouseId in interface CommerceWarehouseModelcommerceWarehouseId - the commerce warehouse ID of this commerce warehousepublic void setCompanyId(long companyId)
setCompanyId in interface CommerceWarehouseModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce warehousepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceWarehouseModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce warehousepublic void setDescription(java.lang.String description)
setDescription in interface CommerceWarehouseModeldescription - the description of this commerce warehousepublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceWarehouseModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceWarehouseModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceWarehouseModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setGroupId(long groupId)
setGroupId in interface CommerceWarehouseModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce warehousepublic void setLatitude(double latitude)
setLatitude in interface CommerceWarehouseModellatitude - the latitude of this commerce warehousepublic void setLongitude(double longitude)
setLongitude in interface CommerceWarehouseModellongitude - the longitude of this commerce warehousepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceWarehouseModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce warehousepublic void setName(java.lang.String name)
setName in interface CommerceWarehouseModelname - the name of this commerce warehousepublic void setNew(boolean n)
setNew in interface CommerceWarehouseModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void setPrimary(boolean primary)
setPrimary in interface CommerceWarehouseModelprimary - the primary of this commerce warehousepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceWarehouseModelprimaryKey - the primary key of this commerce warehousepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceWarehouseModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setStreet1(java.lang.String street1)
setStreet1 in interface CommerceWarehouseModelstreet1 - the street1 of this commerce warehousepublic void setStreet2(java.lang.String street2)
setStreet2 in interface CommerceWarehouseModelstreet2 - the street2 of this commerce warehousepublic void setStreet3(java.lang.String street3)
setStreet3 in interface CommerceWarehouseModelstreet3 - the street3 of this commerce warehousepublic void setUserId(long userId)
setUserId in interface CommerceWarehouseModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce warehousepublic void setUserName(java.lang.String userName)
setUserName in interface CommerceWarehouseModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce warehousepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceWarehouseModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce warehousepublic void setZip(java.lang.String zip)
setZip in interface CommerceWarehouseModelzip - the zip of this commerce warehousepublic com.liferay.portal.kernel.model.CacheModel<CommerceWarehouse> toCacheModel()
toCacheModel in interface CommerceWarehouseModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public CommerceWarehouse toEscapedModel()
toEscapedModel in interface CommerceWarehouseModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public java.lang.String toString()
toString in interface CommerceWarehouseModeltoString in class java.lang.Objectpublic CommerceWarehouse toUnescapedModel()
toUnescapedModel in interface CommerceWarehouseModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public java.lang.String toXmlString()
toXmlString in interface CommerceWarehouseModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommerceWarehouse getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceWarehouse>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceWarehouse>