@ProviderType public interface CountryModel extends BaseModel<Country>, MVCCModel, ShardedModel, StagedAuditedModel
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.
Country| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getA2()
Returns the a2 of this country.
|
java.lang.String |
getA3()
Returns the a3 of this country.
|
boolean |
getActive()
Returns the active of this country.
|
java.lang.String[] |
getAvailableLanguageIds() |
boolean |
getBillingAllowed()
Returns the billing allowed of this country.
|
long |
getCompanyId()
Returns the company ID of this country.
|
long |
getCountryId()
Returns the country ID of this country.
|
java.util.Date |
getCreateDate()
Returns the create date of this country.
|
java.lang.String |
getDefaultLanguageId()
Returns the default language ID of this country.
|
boolean |
getGroupFilterEnabled()
Returns the group filter enabled of this country.
|
java.lang.String |
getIdd()
Returns the idd of this country.
|
java.util.Map<java.lang.String,java.lang.String> |
getLanguageIdToTitleMap() |
java.util.Date |
getLastPublishDate()
Returns the last publish date of this country.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this country.
|
long |
getMvccVersion()
Returns the mvcc version of this country.
|
java.lang.String |
getName()
Returns the name of this country.
|
java.lang.String |
getNumber()
Returns the number of this country.
|
double |
getPosition()
Returns the position of this country.
|
long |
getPrimaryKey()
Returns the primary key of this country.
|
boolean |
getShippingAllowed()
Returns the shipping allowed of this country.
|
boolean |
getSubjectToVAT()
Returns the subject to vat of this country.
|
java.lang.String |
getTitle() |
java.lang.String |
getTitle(java.lang.String languageId) |
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault) |
java.lang.String |
getTitleMapAsXML() |
long |
getUserId()
Returns the user ID of this country.
|
java.lang.String |
getUserName()
Returns the user name of this country.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this country.
|
java.lang.String |
getUuid()
Returns the uuid of this country.
|
boolean |
getZipRequired()
Returns the zip required of this country.
|
boolean |
isActive()
Returns
true if this country is active. |
boolean |
isBillingAllowed()
Returns
true if this country is billing allowed. |
boolean |
isGroupFilterEnabled()
Returns
true if this country is group filter enabled. |
boolean |
isShippingAllowed()
Returns
true if this country is shipping allowed. |
boolean |
isSubjectToVAT()
Returns
true if this country is subject to vat. |
boolean |
isZipRequired()
Returns
true if this country is zip required. |
void |
setA2(java.lang.String a2)
Sets the a2 of this country.
|
void |
setA3(java.lang.String a3)
Sets the a3 of this country.
|
void |
setActive(boolean active)
Sets whether this country is active.
|
void |
setBillingAllowed(boolean billingAllowed)
Sets whether this country is billing allowed.
|
void |
setCompanyId(long companyId)
Sets the company ID of this country.
|
void |
setCountryId(long countryId)
Sets the country ID of this country.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this country.
|
void |
setDefaultLanguageId(java.lang.String defaultLanguageId)
Sets the default language ID of this country.
|
void |
setGroupFilterEnabled(boolean groupFilterEnabled)
Sets whether this country is group filter enabled.
|
void |
setIdd(java.lang.String idd)
Sets the idd of this country.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this country.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this country.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this country.
|
void |
setName(java.lang.String name)
Sets the name of this country.
|
void |
setNumber(java.lang.String number)
Sets the number of this country.
|
void |
setPosition(double position)
Sets the position of this country.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this country.
|
void |
setShippingAllowed(boolean shippingAllowed)
Sets whether this country is shipping allowed.
|
void |
setSubjectToVAT(boolean subjectToVAT)
Sets whether this country is subject to vat.
|
void |
setUserId(long userId)
Sets the user ID of this country.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this country.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this country.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this country.
|
void |
setZipRequired(boolean zipRequired)
Sets whether this country is zip required.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclone, getStagedModelTypegetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this countrylong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this country@AutoEscape java.lang.String getUuid()
getUuid in interface StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface StagedModeluuid - the uuid of this country@AutoEscape java.lang.String getDefaultLanguageId()
void setDefaultLanguageId(java.lang.String defaultLanguageId)
defaultLanguageId - the default language ID of this countrylong getCountryId()
void setCountryId(long countryId)
countryId - the country ID of this countrylong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this countrylong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this countryjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this country@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this countryjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this countryjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this country@AutoEscape java.lang.String getA2()
void setA2(java.lang.String a2)
a2 - the a2 of this country@AutoEscape java.lang.String getA3()
void setA3(java.lang.String a3)
a3 - the a3 of this countryboolean getActive()
boolean isActive()
true if this country is active.true if this country is active; false otherwisevoid setActive(boolean active)
active - the active of this countryboolean getBillingAllowed()
boolean isBillingAllowed()
true if this country is billing allowed.true if this country is billing allowed; false otherwisevoid setBillingAllowed(boolean billingAllowed)
billingAllowed - the billing allowed of this countryboolean getGroupFilterEnabled()
boolean isGroupFilterEnabled()
true if this country is group filter enabled.true if this country is group filter enabled; false otherwisevoid setGroupFilterEnabled(boolean groupFilterEnabled)
groupFilterEnabled - the group filter enabled of this country@AutoEscape java.lang.String getIdd()
void setIdd(java.lang.String idd)
idd - the idd of this country@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this country@AutoEscape java.lang.String getNumber()
void setNumber(java.lang.String number)
number - the number of this countrydouble getPosition()
void setPosition(double position)
position - the position of this countryboolean getShippingAllowed()
boolean isShippingAllowed()
true if this country is shipping allowed.true if this country is shipping allowed; false otherwisevoid setShippingAllowed(boolean shippingAllowed)
shippingAllowed - the shipping allowed of this countryboolean getSubjectToVAT()
boolean isSubjectToVAT()
true if this country is subject to vat.true if this country is subject to vat; false otherwisevoid setSubjectToVAT(boolean subjectToVAT)
subjectToVAT - the subject to vat of this countryboolean getZipRequired()
boolean isZipRequired()
true if this country is zip required.true if this country is zip required; false otherwisevoid setZipRequired(boolean zipRequired)
zipRequired - the zip required of this countryjava.util.Date getLastPublishDate()
void setLastPublishDate(java.util.Date lastPublishDate)
lastPublishDate - the last publish date of this countryjava.lang.String[] getAvailableLanguageIds()
java.lang.String getTitle()
java.lang.String getTitle(java.lang.String languageId)
java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
java.lang.String getTitleMapAsXML()
java.util.Map<java.lang.String,java.lang.String> getLanguageIdToTitleMap()