public class CommerceAddressRestrictionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddressRestriction> 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 |
---|---|
CommerceAddressRestriction |
cloneWithOriginalValues() |
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.
|
long |
getCompanyId()
Returns the company ID of this commerce address restriction.
|
com.liferay.portal.kernel.model.Country |
getCountry() |
long |
getCountryId()
Returns the country ID of this commerce address restriction.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce address restriction.
|
long |
getGroupId()
Returns the group ID of this commerce address restriction.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce address restriction.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce address restriction.
|
long |
getPrimaryKey()
Returns the primary key of this commerce address restriction.
|
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.
|
void |
persist() |
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 |
setCompanyId(long companyId)
Sets the company ID of this commerce address restriction.
|
void |
setCountryId(long countryId)
Sets the country ID of this commerce address restriction.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce address restriction.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce address restriction.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce address restriction.
|
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.
|
protected CommerceAddressRestrictionWrapper |
wrap(CommerceAddressRestriction commerceAddressRestriction) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceAddressRestrictionWrapper(CommerceAddressRestriction commerceAddressRestriction)
public 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 CommerceAddressRestriction cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceAddressRestrictionModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
public java.lang.String getClassName()
getClassName
in interface CommerceAddressRestrictionModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface CommerceAddressRestrictionModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface CommerceAddressRestrictionModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCommerceAddressRestrictionId()
getCommerceAddressRestrictionId
in interface CommerceAddressRestrictionModel
public long getCompanyId()
getCompanyId
in interface CommerceAddressRestrictionModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public com.liferay.portal.kernel.model.Country getCountry() throws com.liferay.portal.kernel.exception.PortalException
getCountry
in interface CommerceAddressRestriction
com.liferay.portal.kernel.exception.PortalException
public long getCountryId()
getCountryId
in interface CommerceAddressRestrictionModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceAddressRestrictionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getGroupId()
getGroupId
in interface CommerceAddressRestrictionModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceAddressRestrictionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceAddressRestrictionModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceAddressRestrictionModel
public long getUserId()
getUserId
in interface CommerceAddressRestrictionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceAddressRestrictionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceAddressRestrictionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface CommerceAddressRestrictionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface CommerceAddressRestrictionModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this commerce address restrictionpublic void setClassPK(long classPK)
setClassPK
in interface CommerceAddressRestrictionModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this commerce address restrictionpublic void setCommerceAddressRestrictionId(long commerceAddressRestrictionId)
setCommerceAddressRestrictionId
in interface CommerceAddressRestrictionModel
commerceAddressRestrictionId
- the commerce address restriction ID of this commerce address restrictionpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceAddressRestrictionModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce address restrictionpublic void setCountryId(long countryId)
setCountryId
in interface CommerceAddressRestrictionModel
countryId
- the country ID of this commerce address restrictionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceAddressRestrictionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce address restrictionpublic void setGroupId(long groupId)
setGroupId
in interface CommerceAddressRestrictionModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce address restrictionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceAddressRestrictionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce address restrictionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceAddressRestrictionModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce address restrictionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceAddressRestrictionModel
primaryKey
- the primary key of this commerce address restrictionpublic void setUserId(long userId)
setUserId
in interface CommerceAddressRestrictionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce address restrictionpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceAddressRestrictionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce address restrictionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceAddressRestrictionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce address restrictionprotected CommerceAddressRestrictionWrapper wrap(CommerceAddressRestriction commerceAddressRestriction)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddressRestriction>