Package com.liferay.commerce.model
Class CommerceAddressRestrictionWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddressRestriction>
com.liferay.commerce.model.CommerceAddressRestrictionWrapper
- All Implemented Interfaces:
CommerceAddressRestriction
,CommerceAddressRestrictionModel
,com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceAddressRestriction>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<CommerceAddressRestriction>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.model.CommerceAddressRestriction
COMMERCE_ADDRESS_RESTRICTION_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceAddressRestrictionWrapper
(CommerceAddressRestriction commerceAddressRestriction) -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this commerce address restriction.long
Returns the class name ID of this commerce address restriction.long
Returns the class pk of this commerce address restriction.long
Returns the commerce address restriction ID of this commerce address restriction.long
Returns the company ID of this commerce address restriction.com.liferay.portal.kernel.model.Country
long
Returns the country ID of this commerce address restriction.Returns the create date of this commerce address restriction.long
Returns the group ID of this commerce address restriction.Returns the modified date of this commerce address restriction.long
Returns the mvcc version of this commerce address restriction.long
Returns the primary key of this commerce address restriction.long
Returns the user ID of this commerce address restriction.Returns the user name of this commerce address restriction.Returns the user uuid of this commerce address restriction.void
persist()
void
setClassName
(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
(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
(Map<String, Object> attributes) void
setModifiedDate
(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
(String userName) Sets the user name of this commerce address restriction.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce address restriction.protected CommerceAddressRestrictionWrapper
wrap
(CommerceAddressRestriction commerceAddressRestriction) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CommerceAddressRestrictionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceAddressRestrictionModel
-
getClassName
Returns the fully qualified class name of this commerce address restriction.- Specified by:
getClassName
in interfaceCommerceAddressRestrictionModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this commerce address restriction
-
getClassNameId
public long getClassNameId()Returns the class name ID of this commerce address restriction.- Specified by:
getClassNameId
in interfaceCommerceAddressRestrictionModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this commerce address restriction
-
getClassPK
public long getClassPK()Returns the class pk of this commerce address restriction.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceCommerceAddressRestrictionModel
- Returns:
- the class pk of this commerce address restriction
-
getCommerceAddressRestrictionId
public long getCommerceAddressRestrictionId()Returns the commerce address restriction ID of this commerce address restriction.- Specified by:
getCommerceAddressRestrictionId
in interfaceCommerceAddressRestrictionModel
- Returns:
- the commerce address restriction ID of this commerce address restriction
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce address restriction.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceAddressRestrictionModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this commerce address restriction
-
getCountry
public com.liferay.portal.kernel.model.Country getCountry() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCountry
in interfaceCommerceAddressRestriction
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryId
public long getCountryId()Returns the country ID of this commerce address restriction.- Specified by:
getCountryId
in interfaceCommerceAddressRestrictionModel
- Returns:
- the country ID of this commerce address restriction
-
getCreateDate
Returns the create date of this commerce address restriction.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceAddressRestrictionModel
- Returns:
- the create date of this commerce address restriction
-
getGroupId
public long getGroupId()Returns the group ID of this commerce address restriction.- Specified by:
getGroupId
in interfaceCommerceAddressRestrictionModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce address restriction
-
getModifiedDate
Returns the modified date of this commerce address restriction.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceAddressRestrictionModel
- Returns:
- the modified date of this commerce address restriction
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce address restriction.- Specified by:
getMvccVersion
in interfaceCommerceAddressRestrictionModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce address restriction
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce address restriction.- Specified by:
getPrimaryKey
in interfaceCommerceAddressRestrictionModel
- Returns:
- the primary key of this commerce address restriction
-
getUserId
public long getUserId()Returns the user ID of this commerce address restriction.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceAddressRestrictionModel
- Returns:
- the user ID of this commerce address restriction
-
getUserName
Returns the user name of this commerce address restriction.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceAddressRestrictionModel
- Returns:
- the user name of this commerce address restriction
-
getUserUuid
Returns the user uuid of this commerce address restriction.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceAddressRestrictionModel
- Returns:
- the user uuid of this commerce address restriction
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceCommerceAddressRestrictionModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this commerce address restriction.- Specified by:
setClassNameId
in interfaceCommerceAddressRestrictionModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this commerce address restriction
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this commerce address restriction.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceCommerceAddressRestrictionModel
- Parameters:
classPK
- the class pk of this commerce address restriction
-
setCommerceAddressRestrictionId
public void setCommerceAddressRestrictionId(long commerceAddressRestrictionId) Sets the commerce address restriction ID of this commerce address restriction.- Specified by:
setCommerceAddressRestrictionId
in interfaceCommerceAddressRestrictionModel
- Parameters:
commerceAddressRestrictionId
- the commerce address restriction ID of this commerce address restriction
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce address restriction.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceAddressRestrictionModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this commerce address restriction
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this commerce address restriction.- Specified by:
setCountryId
in interfaceCommerceAddressRestrictionModel
- Parameters:
countryId
- the country ID of this commerce address restriction
-
setCreateDate
Sets the create date of this commerce address restriction.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceAddressRestrictionModel
- Parameters:
createDate
- the create date of this commerce address restriction
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce address restriction.- Specified by:
setGroupId
in interfaceCommerceAddressRestrictionModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce address restriction
-
setModifiedDate
Sets the modified date of this commerce address restriction.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceAddressRestrictionModel
- Parameters:
modifiedDate
- the modified date of this commerce address restriction
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce address restriction.- Specified by:
setMvccVersion
in interfaceCommerceAddressRestrictionModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce address restriction
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce address restriction.- Specified by:
setPrimaryKey
in interfaceCommerceAddressRestrictionModel
- Parameters:
primaryKey
- the primary key of this commerce address restriction
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce address restriction.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceAddressRestrictionModel
- Parameters:
userId
- the user ID of this commerce address restriction
-
setUserName
Sets the user name of this commerce address restriction.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceAddressRestrictionModel
- Parameters:
userName
- the user name of this commerce address restriction
-
setUserUuid
Sets the user uuid of this commerce address restriction.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceAddressRestrictionModel
- Parameters:
userUuid
- the user uuid of this commerce address restriction
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceAddressRestrictionModel
-
wrap
protected CommerceAddressRestrictionWrapper wrap(CommerceAddressRestriction commerceAddressRestriction) - Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddressRestriction>
-