Package com.liferay.portal.kernel.model
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 Summary
Modifier and TypeMethodDescriptiongetA2()Returns the a2 of this country.getA3()Returns the a3 of this country.booleanReturns the active of this country.String[]booleanReturns the billing allowed of this country.longReturns the company ID of this country.longReturns the country ID of this country.Returns the create date of this country.longReturns the ct collection ID of this country.Returns the default language ID of this country.booleanReturns the group filter enabled of this country.getIdd()Returns the idd of this country.Returns the last publish date of this country.Returns the modified date of this country.longReturns the mvcc version of this country.getName()Returns the name of this country.Returns the number of this country.doubleReturns the position of this country.longReturns the primary key of this country.booleanReturns the shipping allowed of this country.booleanReturns the subject to vat of this country.getTitle()longReturns the user ID of this country.Returns the user name of this country.Returns the user uuid of this country.getUuid()Returns the uuid of this country.booleanReturns the zip required of this country.booleanisActive()Returnstrueif this country is active.booleanReturnstrueif this country is billing allowed.booleanReturnstrueif this country is group filter enabled.booleanReturnstrueif this country is shipping allowed.booleanReturnstrueif this country is subject to vat.booleanReturnstrueif this country is zip required.voidSets the a2 of this country.voidSets the a3 of this country.voidsetActive(boolean active) Sets whether this country is active.voidsetBillingAllowed(boolean billingAllowed) Sets whether this country is billing allowed.voidsetCompanyId(long companyId) Sets the company ID of this country.voidsetCountryId(long countryId) Sets the country ID of this country.voidsetCreateDate(Date createDate) Sets the create date of this country.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this country.voidsetDefaultLanguageId(String defaultLanguageId) Sets the default language ID of this country.voidsetGroupFilterEnabled(boolean groupFilterEnabled) Sets whether this country is group filter enabled.voidSets the idd of this country.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this country.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this country.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this country.voidSets the name of this country.voidSets the number of this country.voidsetPosition(double position) Sets the position of this country.voidsetPrimaryKey(long primaryKey) Sets the primary key of this country.voidsetShippingAllowed(boolean shippingAllowed) Sets whether this country is shipping allowed.voidsetSubjectToVAT(boolean subjectToVAT) Sets whether this country is subject to vat.voidsetUserId(long userId) Sets the user ID of this country.voidsetUserName(String userName) Sets the user name of this country.voidsetUserUuid(String userUuid) Sets the user uuid of this country.voidSets the uuid of this country.voidsetZipRequired(boolean zipRequired) Sets whether this country is zip required.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this country.- Specified by:
getPrimaryKeyin interfaceCTModel<Country>- Returns:
- the primary key of this country
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this country.- Specified by:
setPrimaryKeyin interfaceCTModel<Country>- Parameters:
primaryKey- the primary key of this country
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this country.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this country
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this country.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this country
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this country.- Specified by:
getCtCollectionIdin interfaceCTModel<Country>- Returns:
- the ct collection ID of this country
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this country.- Specified by:
setCtCollectionIdin interfaceCTModel<Country>- Parameters:
ctCollectionId- the ct collection ID of this country
-
getUuid
Returns the uuid of this country.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this country
-
setUuid
Sets the uuid of this country.- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this country
-
getDefaultLanguageId
Returns the default language ID of this country.- Returns:
- the default language ID of this country
-
setDefaultLanguageId
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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this country
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this country.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this country
-
getUserId
long getUserId()Returns the user ID of this country.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this country
-
setUserId
void setUserId(long userId) Sets the user ID of this country.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this country
-
getUserUuid
String getUserUuid()Returns the user uuid of this country.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this country
-
setUserUuid
Sets the user uuid of this country.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this country
-
getUserName
Returns the user name of this country.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this country
-
setUserName
Sets the user name of this country.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this country
-
getCreateDate
Date getCreateDate()Returns the create date of this country.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this country
-
setCreateDate
Sets the create date of this country.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this country
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this country.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this country
-
setModifiedDate
Sets the modified date of this country.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this country
-
getA2
Returns the a2 of this country.- Returns:
- the a2 of this country
-
setA2
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
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()Returnstrueif this country is active.- Returns:
trueif this country is active;falseotherwise
-
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()Returnstrueif this country is billing allowed.- Returns:
trueif this country is billing allowed;falseotherwise
-
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()Returnstrueif this country is group filter enabled.- Returns:
trueif this country is group filter enabled;falseotherwise
-
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
Sets the idd of this country.- Parameters:
idd- the idd of this country
-
getName
Returns the name of this country.- Returns:
- the name of this country
-
setName
Sets the name of this country.- Parameters:
name- the name of this country
-
getNumber
Returns the number of this country.- Returns:
- the number of this country
-
setNumber
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()Returnstrueif this country is shipping allowed.- Returns:
trueif this country is shipping allowed;falseotherwise
-
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()Returnstrueif this country is subject to vat.- Returns:
trueif this country is subject to vat;falseotherwise
-
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()Returnstrueif this country is zip required.- Returns:
trueif this country is zip required;falseotherwise
-
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
Sets the last publish date of this country.- Parameters:
lastPublishDate- the last publish date of this country
-
getAvailableLanguageIds
String[] getAvailableLanguageIds() -
getTitle
String getTitle() -
getTitle
-
getTitle
-
getTitleMapAsXML
String getTitleMapAsXML() -
getLanguageIdToTitleMap
-
cloneWithOriginalValues
Country cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Country>
-
toXmlString
-