Interface CountryModel

All Superinterfaces:
AuditedModel, BaseModel<Country>, ClassedModel, Cloneable, Comparable<Country>, CTModel<Country>, MVCCModel, Serializable, ShardedModel, StagedAuditedModel, StagedModel
All Known Subinterfaces:
Country
All Known Implementing Classes:
CountryWrapper

@ProviderType public interface CountryModel extends BaseModel<Country>, CTModel<Country>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Country service. Represents a row in the "Country" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.CountryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.CountryImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this country.
      Specified by:
      getPrimaryKey in interface CTModel<Country>
      Returns:
      the primary key of this country
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this country.
      Specified by:
      setPrimaryKey in interface CTModel<Country>
      Parameters:
      primaryKey - the primary key of this country
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this country.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this country
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this country.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this country
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this country.
      Specified by:
      getCtCollectionId in interface CTModel<Country>
      Returns:
      the ct collection ID of this country
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this country.
      Specified by:
      setCtCollectionId in interface CTModel<Country>
      Parameters:
      ctCollectionId - the ct collection ID of this country
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this country.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this country
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this country.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this country
    • getDefaultLanguageId

      @AutoEscape String getDefaultLanguageId()
      Returns the default language ID of this country.
      Returns:
      the default language ID of this country
    • setDefaultLanguageId

      void setDefaultLanguageId(String defaultLanguageId)
      Sets the default language ID of this country.
      Parameters:
      defaultLanguageId - the default language ID of this country
    • getCountryId

      long getCountryId()
      Returns the country ID of this country.
      Returns:
      the country ID of this country
    • setCountryId

      void setCountryId(long countryId)
      Sets the country ID of this country.
      Parameters:
      countryId - the country ID of this country
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this country.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      Returns:
      the company ID of this country
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this country.
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      Parameters:
      companyId - the company ID of this country
    • getUserId

      long getUserId()
      Returns the user ID of this country.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this country
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this country.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this country
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this country.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this country
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this country.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this country
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this country.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this country
    • setUserName

      void setUserName(String userName)
      Sets the user name of this country.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this country
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this country.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this country
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this country.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this country
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this country.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this country
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this country.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this country
    • getA2

      Returns the a2 of this country.
      Returns:
      the a2 of this country
    • setA2

      void setA2(String a2)
      Sets the a2 of this country.
      Parameters:
      a2 - the a2 of this country
    • getA3

      Returns the a3 of this country.
      Returns:
      the a3 of this country
    • setA3

      void setA3(String a3)
      Sets the a3 of this country.
      Parameters:
      a3 - the a3 of this country
    • getActive

      boolean getActive()
      Returns the active of this country.
      Returns:
      the active of this country
    • isActive

      boolean isActive()
      Returns true if this country is active.
      Returns:
      true if this country is active; false otherwise
    • setActive

      void setActive(boolean active)
      Sets whether this country is active.
      Parameters:
      active - the active of this country
    • getBillingAllowed

      boolean getBillingAllowed()
      Returns the billing allowed of this country.
      Returns:
      the billing allowed of this country
    • isBillingAllowed

      boolean isBillingAllowed()
      Returns true if this country is billing allowed.
      Returns:
      true if this country is billing allowed; false otherwise
    • setBillingAllowed

      void setBillingAllowed(boolean billingAllowed)
      Sets whether this country is billing allowed.
      Parameters:
      billingAllowed - the billing allowed of this country
    • getGroupFilterEnabled

      boolean getGroupFilterEnabled()
      Returns the group filter enabled of this country.
      Returns:
      the group filter enabled of this country
    • isGroupFilterEnabled

      boolean isGroupFilterEnabled()
      Returns true if this country is group filter enabled.
      Returns:
      true if this country is group filter enabled; false otherwise
    • setGroupFilterEnabled

      void setGroupFilterEnabled(boolean groupFilterEnabled)
      Sets whether this country is group filter enabled.
      Parameters:
      groupFilterEnabled - the group filter enabled of this country
    • getIdd

      Returns the idd of this country.
      Returns:
      the idd of this country
    • setIdd

      void setIdd(String idd)
      Sets the idd of this country.
      Parameters:
      idd - the idd of this country
    • getName

      @AutoEscape String getName()
      Returns the name of this country.
      Returns:
      the name of this country
    • setName

      void setName(String name)
      Sets the name of this country.
      Parameters:
      name - the name of this country
    • getNumber

      @AutoEscape String getNumber()
      Returns the number of this country.
      Returns:
      the number of this country
    • setNumber

      void setNumber(String number)
      Sets the number of this country.
      Parameters:
      number - the number of this country
    • getPosition

      double getPosition()
      Returns the position of this country.
      Returns:
      the position of this country
    • setPosition

      void setPosition(double position)
      Sets the position of this country.
      Parameters:
      position - the position of this country
    • getShippingAllowed

      boolean getShippingAllowed()
      Returns the shipping allowed of this country.
      Returns:
      the shipping allowed of this country
    • isShippingAllowed

      boolean isShippingAllowed()
      Returns true if this country is shipping allowed.
      Returns:
      true if this country is shipping allowed; false otherwise
    • setShippingAllowed

      void setShippingAllowed(boolean shippingAllowed)
      Sets whether this country is shipping allowed.
      Parameters:
      shippingAllowed - the shipping allowed of this country
    • getSubjectToVAT

      boolean getSubjectToVAT()
      Returns the subject to vat of this country.
      Returns:
      the subject to vat of this country
    • isSubjectToVAT

      boolean isSubjectToVAT()
      Returns true if this country is subject to vat.
      Returns:
      true if this country is subject to vat; false otherwise
    • setSubjectToVAT

      void setSubjectToVAT(boolean subjectToVAT)
      Sets whether this country is subject to vat.
      Parameters:
      subjectToVAT - the subject to vat of this country
    • getZipRequired

      boolean getZipRequired()
      Returns the zip required of this country.
      Returns:
      the zip required of this country
    • isZipRequired

      boolean isZipRequired()
      Returns true if this country is zip required.
      Returns:
      true if this country is zip required; false otherwise
    • setZipRequired

      void setZipRequired(boolean zipRequired)
      Sets whether this country is zip required.
      Parameters:
      zipRequired - the zip required of this country
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this country.
      Returns:
      the last publish date of this country
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this country.
      Parameters:
      lastPublishDate - the last publish date of this country
    • getAvailableLanguageIds

      String[] getAvailableLanguageIds()
    • getTitle

      String getTitle()
    • getTitle

      String getTitle(String languageId)
    • getTitle

      String getTitle(String languageId, boolean useDefault)
    • getTitleMapAsXML

      String getTitleMapAsXML()
    • getLanguageIdToTitleMap

      Map<String,String> getLanguageIdToTitleMap()
    • cloneWithOriginalValues

      Country cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Country>
    • toXmlString

      default String toXmlString()