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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns 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
     
    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
     
    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.
     
    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

      public CommerceAddressRestrictionWrapper(CommerceAddressRestriction commerceAddressRestriction)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
    • cloneWithOriginalValues

      public CommerceAddressRestriction cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceAddressRestriction>
      Specified by:
      cloneWithOriginalValues in interface CommerceAddressRestrictionModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this commerce address restriction.
      Specified by:
      getClassName in interface CommerceAddressRestrictionModel
      Specified by:
      getClassName in interface com.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 interface CommerceAddressRestrictionModel
      Specified by:
      getClassNameId in interface com.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 interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceAddressRestrictionModel
      Specified by:
      getCompanyId in interface com.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 interface CommerceAddressRestriction
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCountryId

      public long getCountryId()
      Returns the country ID of this commerce address restriction.
      Specified by:
      getCountryId in interface CommerceAddressRestrictionModel
      Returns:
      the country ID of this commerce address restriction
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce address restriction.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce address restriction
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce address restriction.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      Specified by:
      getMvccVersion in interface com.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 interface CommerceAddressRestrictionModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceAddressRestrictionModel
      Returns:
      the user ID of this commerce address restriction
    • getUserName

      public String getUserName()
      Returns the user name of this commerce address restriction.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceAddressRestrictionModel
      Returns:
      the user name of this commerce address restriction
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce address restriction.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceAddressRestrictionModel
      Returns:
      the user uuid of this commerce address restriction
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface CommerceAddressRestrictionModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this commerce address restriction.
      Specified by:
      setClassNameId in interface CommerceAddressRestrictionModel
      Specified by:
      setClassNameId in interface com.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 interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceAddressRestrictionModel
      Specified by:
      setCompanyId in interface com.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 interface CommerceAddressRestrictionModel
      Parameters:
      countryId - the country ID of this commerce address restriction
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce address restriction.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce address restriction
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce address restriction.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceAddressRestrictionModel
      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 interface CommerceAddressRestrictionModel
      Specified by:
      setMvccVersion in interface com.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 interface CommerceAddressRestrictionModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceAddressRestrictionModel
      Parameters:
      userId - the user ID of this commerce address restriction
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce address restriction.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceAddressRestrictionModel
      Parameters:
      userName - the user name of this commerce address restriction
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce address restriction.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceAddressRestrictionModel
      Parameters:
      userUuid - the user uuid of this commerce address restriction
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceAddressRestrictionModel
    • wrap

      protected CommerceAddressRestrictionWrapper wrap(CommerceAddressRestriction commerceAddressRestriction)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceAddressRestriction>