public class CommerceAddressRestrictionWrapper extends java.lang.Object implements CommerceAddressRestriction, com.liferay.portal.kernel.model.ModelWrapper<CommerceAddressRestriction>
This class is a wrapper for CommerceAddressRestriction.
CommerceAddressRestriction,
Serialized FormCOMMERCE_ADDRESS_RESTRICTION_ID_ACCESSOR| Constructor and Description |
|---|
CommerceAddressRestrictionWrapper(CommerceAddressRestriction commerceAddressRestriction) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceAddressRestriction commerceAddressRestriction) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this commerce address restriction.
|
long |
getClassNameId()
Returns the class name ID of this commerce address restriction.
|
long |
getClassPK()
Returns the class pk of this commerce address restriction.
|
long |
getCommerceAddressRestrictionId()
Returns the commerce address restriction ID of this commerce address restriction.
|
CommerceCountry |
getCommerceCountry() |
long |
getCommerceCountryId()
Returns the commerce country ID of this commerce address restriction.
|
long |
getCompanyId()
Returns the company ID of this commerce address restriction.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce address restriction.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this commerce address restriction.
|
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 address restriction.
|
long |
getPrimaryKey()
Returns the primary key of this commerce address restriction.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this commerce address restriction.
|
java.lang.String |
getUserName()
Returns the user name of this commerce address restriction.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce address restriction.
|
CommerceAddressRestriction |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this commerce address restriction.
|
void |
setClassPK(long classPK)
Sets the class pk of this commerce address restriction.
|
void |
setCommerceAddressRestrictionId(long commerceAddressRestrictionId)
Sets the commerce address restriction ID of this commerce address restriction.
|
void |
setCommerceCountryId(long commerceCountryId)
Sets the commerce country ID of this commerce address restriction.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce address restriction.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce address restriction.
|
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 address restriction.
|
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 address restriction.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce address restriction.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this commerce address restriction.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce address restriction.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce address restriction.
|
com.liferay.portal.kernel.model.CacheModel<CommerceAddressRestriction> |
toCacheModel() |
CommerceAddressRestriction |
toEscapedModel() |
java.lang.String |
toString() |
CommerceAddressRestriction |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceAddressRestrictionWrapper(CommerceAddressRestriction commerceAddressRestriction)
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<CommerceAddressRestriction>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public java.lang.Object clone()
clone in interface CommerceAddressRestrictionModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>clone in class java.lang.Objectpublic int compareTo(CommerceAddressRestriction commerceAddressRestriction)
compareTo in interface CommerceAddressRestrictionModelcompareTo in interface java.lang.Comparable<CommerceAddressRestriction>public java.lang.String getClassName()
getClassName in interface CommerceAddressRestrictionModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface CommerceAddressRestrictionModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface CommerceAddressRestrictionModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic long getCommerceAddressRestrictionId()
getCommerceAddressRestrictionId in interface CommerceAddressRestrictionModelpublic CommerceCountry getCommerceCountry() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCountry in interface CommerceAddressRestrictioncom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceCountryId()
getCommerceCountryId in interface CommerceAddressRestrictionModelpublic long getCompanyId()
getCompanyId in interface CommerceAddressRestrictionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceAddressRestrictionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceAddressRestrictionModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface CommerceAddressRestrictionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceAddressRestrictionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceAddressRestrictionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceAddressRestrictionModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic long getUserId()
getUserId in interface CommerceAddressRestrictionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceAddressRestrictionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceAddressRestrictionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommerceAddressRestrictionModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceAddressRestrictionModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public boolean isEscapedModel()
isEscapedModel in interface CommerceAddressRestrictionModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public boolean isNew()
isNew in interface CommerceAddressRestrictionModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void persist()
CommerceAddressRestriction interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceAddressRestrictionModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void setClassName(java.lang.String className)
setClassName in interface CommerceAddressRestrictionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface CommerceAddressRestrictionModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this commerce address restrictionpublic void setClassPK(long classPK)
setClassPK in interface CommerceAddressRestrictionModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this commerce address restrictionpublic void setCommerceAddressRestrictionId(long commerceAddressRestrictionId)
setCommerceAddressRestrictionId in interface CommerceAddressRestrictionModelcommerceAddressRestrictionId - the commerce address restriction ID of this commerce address restrictionpublic void setCommerceCountryId(long commerceCountryId)
setCommerceCountryId in interface CommerceAddressRestrictionModelcommerceCountryId - the commerce country ID of this commerce address restrictionpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceAddressRestrictionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce address restrictionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceAddressRestrictionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce address restrictionpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceAddressRestrictionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceAddressRestrictionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceAddressRestrictionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void setGroupId(long groupId)
setGroupId in interface CommerceAddressRestrictionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce address restrictionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceAddressRestrictionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce address restrictionpublic void setNew(boolean n)
setNew in interface CommerceAddressRestrictionModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceAddressRestrictionModelprimaryKey - the primary key of this commerce address restrictionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceAddressRestrictionModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setUserId(long userId)
setUserId in interface CommerceAddressRestrictionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce address restrictionpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceAddressRestrictionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce address restrictionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceAddressRestrictionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce address restrictionpublic com.liferay.portal.kernel.model.CacheModel<CommerceAddressRestriction> toCacheModel()
toCacheModel in interface CommerceAddressRestrictionModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public CommerceAddressRestriction toEscapedModel()
toEscapedModel in interface CommerceAddressRestrictionModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public java.lang.String toString()
toString in interface CommerceAddressRestrictionModeltoString in class java.lang.Objectpublic CommerceAddressRestriction toUnescapedModel()
toUnescapedModel in interface CommerceAddressRestrictionModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public java.lang.String toXmlString()
toXmlString in interface CommerceAddressRestrictionModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic CommerceAddressRestriction getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceAddressRestriction>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>