@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 |
|---|---|
Country |
cloneWithOriginalValues() |
String |
getA2()
Returns the a2 of this country.
|
String |
getA3()
Returns the a3 of this country.
|
boolean |
getActive()
Returns the active of this country.
|
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.
|
Date |
getCreateDate()
Returns the create date of this country.
|
String |
getDefaultLanguageId()
Returns the default language ID of this country.
|
boolean |
getGroupFilterEnabled()
Returns the group filter enabled of this country.
|
String |
getIdd()
Returns the idd of this country.
|
Map<String,String> |
getLanguageIdToTitleMap() |
Date |
getLastPublishDate()
Returns the last publish date of this country.
|
Date |
getModifiedDate()
Returns the modified date of this country.
|
long |
getMvccVersion()
Returns the mvcc version of this country.
|
String |
getName()
Returns the name of this country.
|
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.
|
String |
getTitle() |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleMapAsXML() |
long |
getUserId()
Returns the user ID of this country.
|
String |
getUserName()
Returns the user name of this country.
|
String |
getUserUuid()
Returns the user uuid of this country.
|
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(String a2)
Sets the a2 of this country.
|
void |
setA3(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(Date createDate)
Sets the create date of this country.
|
void |
setDefaultLanguageId(String defaultLanguageId)
Sets the default language ID of this country.
|
void |
setGroupFilterEnabled(boolean groupFilterEnabled)
Sets whether this country is group filter enabled.
|
void |
setIdd(String idd)
Sets the idd of this country.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this country.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this country.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this country.
|
void |
setName(String name)
Sets the name of this country.
|
void |
setNumber(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(String userName)
Sets the user name of this country.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this country.
|
void |
setUuid(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 String getUuid()
getUuid in interface StagedModelvoid setUuid(String uuid)
setUuid in interface StagedModeluuid - the uuid of this country@AutoEscape String getDefaultLanguageId()
void setDefaultLanguageId(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 countryString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this country@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this countryDate getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this countryDate getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this country@AutoEscape String getA2()
void setA2(String a2)
a2 - the a2 of this country@AutoEscape String getA3()
void setA3(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 String getIdd()
void setIdd(String idd)
idd - the idd of this country@AutoEscape String getName()
void setName(String name)
name - the name of this country@AutoEscape String getNumber()
void setNumber(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 countryDate getLastPublishDate()
void setLastPublishDate(Date lastPublishDate)
lastPublishDate - the last publish date of this countryString[] getAvailableLanguageIds()
String getTitle()
String getTitle(String languageId)
String getTitle(String languageId,
boolean useDefault)
String getTitleMapAsXML()
Map<String,String> getLanguageIdToTitleMap()
Country cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Country>