Package com.liferay.commerce.term.model
Interface CommerceTermEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<CommerceTermEntry>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Subinterfaces:
CommerceTermEntry
- All Known Implementing Classes:
CommerceTermEntryWrapper
@ProviderType
public interface CommerceTermEntryModel
extends com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.WorkflowedModel
The base model interface for the CommerceTermEntry service. Represents a row in the "CommerceTermEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.commerce.term.model.impl.CommerceTermEntryModelImpl 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.commerce.term.model.impl.CommerceTermEntryImpl.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this commerce term entry.String[]longReturns the commerce term entry ID of this commerce term entry.longReturns the company ID of this commerce term entry.Returns the create date of this commerce term entry.Returns the default language ID of this commerce term entry.getDescription(String languageId) getDescription(String languageId, boolean useDefault) Returns the display date of this commerce term entry.Returns the expiration date of this commerce term entry.Returns the external reference code of this commerce term entry.getLabel()Returns the last publish date of this commerce term entry.Returns the modified date of this commerce term entry.longReturns the mvcc version of this commerce term entry.getName()Returns the name of this commerce term entry.longReturns the primary key of this commerce term entry.doubleReturns the priority of this commerce term entry.intReturns the status of this commerce term entry.longReturns the status by user ID of this commerce term entry.Returns the status by user name of this commerce term entry.Returns the status by user uuid of this commerce term entry.Returns the status date of this commerce term entry.getType()Returns the type of this commerce term entry.Returns the type settings of this commerce term entry.longReturns the user ID of this commerce term entry.Returns the user name of this commerce term entry.Returns the user uuid of this commerce term entry.getUuid()Returns the uuid of this commerce term entry.booleanisActive()Returnstrueif this commerce term entry is active.booleanReturnstrueif this commerce term entry is approved.booleanisDenied()Returnstrueif this commerce term entry is denied.booleanisDraft()Returnstrueif this commerce term entry is a draft.booleanReturnstrueif this commerce term entry is expired.booleanReturnstrueif this commerce term entry is inactive.booleanReturnstrueif this commerce term entry is incomplete.booleanReturnstrueif this commerce term entry is pending.booleanReturnstrueif this commerce term entry is scheduled.voidsetActive(boolean active) Sets whether this commerce term entry is active.voidsetCommerceTermEntryId(long commerceTermEntryId) Sets the commerce term entry ID of this commerce term entry.voidsetCompanyId(long companyId) Sets the company ID of this commerce term entry.voidsetCreateDate(Date createDate) Sets the create date of this commerce term entry.voidsetDefaultLanguageId(String defaultLanguageId) Sets the default language ID of this commerce term entry.voidsetDisplayDate(Date displayDate) Sets the display date of this commerce term entry.voidsetExpirationDate(Date expirationDate) Sets the expiration date of this commerce term entry.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce term entry.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this commerce term entry.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce term entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce term entry.voidSets the name of this commerce term entry.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce term entry.voidsetPriority(double priority) Sets the priority of this commerce term entry.voidsetStatus(int status) Sets the status of this commerce term entry.voidsetStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce term entry.voidsetStatusByUserName(String statusByUserName) Sets the status by user name of this commerce term entry.voidsetStatusByUserUuid(String statusByUserUuid) Sets the status by user uuid of this commerce term entry.voidsetStatusDate(Date statusDate) Sets the status date of this commerce term entry.voidSets the type of this commerce term entry.voidsetTypeSettings(String typeSettings) Sets the type settings of this commerce term entry.voidsetUserId(long userId) Sets the user ID of this commerce term entry.voidsetUserName(String userName) Sets the user name of this commerce term entry.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce term entry.voidSets the uuid of this commerce term entry.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 commerce term entry.- Returns:
- the primary key of this commerce term entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this commerce term entry.- Parameters:
primaryKey- the primary key of this commerce term entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this commerce term entry.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce term entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce term entry.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce term entry
-
getUuid
Returns the uuid of this commerce term entry.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce term entry
-
setUuid
Sets the uuid of this commerce term entry.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce term entry
-
getExternalReferenceCode
Returns the external reference code of this commerce term entry.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce term entry
-
setExternalReferenceCode
Sets the external reference code of this commerce term entry.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce term entry
-
getDefaultLanguageId
Returns the default language ID of this commerce term entry.- Returns:
- the default language ID of this commerce term entry
-
setDefaultLanguageId
Sets the default language ID of this commerce term entry.- Parameters:
defaultLanguageId- the default language ID of this commerce term entry
-
getCommerceTermEntryId
long getCommerceTermEntryId()Returns the commerce term entry ID of this commerce term entry.- Returns:
- the commerce term entry ID of this commerce term entry
-
setCommerceTermEntryId
void setCommerceTermEntryId(long commerceTermEntryId) Sets the commerce term entry ID of this commerce term entry.- Parameters:
commerceTermEntryId- the commerce term entry ID of this commerce term entry
-
getCompanyId
long getCompanyId()Returns the company ID of this commerce term entry.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce term entry
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this commerce term entry.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce term entry
-
getUserId
long getUserId()Returns the user ID of this commerce term entry.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this commerce term entry
-
setUserId
void setUserId(long userId) Sets the user ID of this commerce term entry.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this commerce term entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this commerce term entry.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this commerce term entry
-
setUserUuid
Sets the user uuid of this commerce term entry.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this commerce term entry
-
getUserName
Returns the user name of this commerce term entry.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this commerce term entry
-
setUserName
Sets the user name of this commerce term entry.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this commerce term entry
-
getCreateDate
Date getCreateDate()Returns the create date of this commerce term entry.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce term entry
-
setCreateDate
Sets the create date of this commerce term entry.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce term entry
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this commerce term entry.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce term entry
-
setModifiedDate
Sets the modified date of this commerce term entry.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce term entry
-
getActive
boolean getActive()Returns the active of this commerce term entry.- Returns:
- the active of this commerce term entry
-
isActive
boolean isActive()Returnstrueif this commerce term entry is active.- Returns:
trueif this commerce term entry is active;falseotherwise
-
setActive
void setActive(boolean active) Sets whether this commerce term entry is active.- Parameters:
active- the active of this commerce term entry
-
getDisplayDate
Date getDisplayDate()Returns the display date of this commerce term entry.- Returns:
- the display date of this commerce term entry
-
setDisplayDate
Sets the display date of this commerce term entry.- Parameters:
displayDate- the display date of this commerce term entry
-
getExpirationDate
Date getExpirationDate()Returns the expiration date of this commerce term entry.- Returns:
- the expiration date of this commerce term entry
-
setExpirationDate
Sets the expiration date of this commerce term entry.- Parameters:
expirationDate- the expiration date of this commerce term entry
-
getName
Returns the name of this commerce term entry.- Returns:
- the name of this commerce term entry
-
setName
Sets the name of this commerce term entry.- Parameters:
name- the name of this commerce term entry
-
getPriority
double getPriority()Returns the priority of this commerce term entry.- Returns:
- the priority of this commerce term entry
-
setPriority
void setPriority(double priority) Sets the priority of this commerce term entry.- Parameters:
priority- the priority of this commerce term entry
-
getType
Returns the type of this commerce term entry.- Returns:
- the type of this commerce term entry
-
setType
Sets the type of this commerce term entry.- Parameters:
type- the type of this commerce term entry
-
getTypeSettings
Returns the type settings of this commerce term entry.- Returns:
- the type settings of this commerce term entry
-
setTypeSettings
Sets the type settings of this commerce term entry.- Parameters:
typeSettings- the type settings of this commerce term entry
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this commerce term entry.- Returns:
- the last publish date of this commerce term entry
-
setLastPublishDate
Sets the last publish date of this commerce term entry.- Parameters:
lastPublishDate- the last publish date of this commerce term entry
-
getStatus
int getStatus()Returns the status of this commerce term entry.- Specified by:
getStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status of this commerce term entry
-
setStatus
void setStatus(int status) Sets the status of this commerce term entry.- Specified by:
setStatusin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
status- the status of this commerce term entry
-
getStatusByUserId
long getStatusByUserId()Returns the status by user ID of this commerce term entry.- Specified by:
getStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user ID of this commerce term entry
-
setStatusByUserId
void setStatusByUserId(long statusByUserId) Sets the status by user ID of this commerce term entry.- Specified by:
setStatusByUserIdin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserId- the status by user ID of this commerce term entry
-
getStatusByUserUuid
String getStatusByUserUuid()Returns the status by user uuid of this commerce term entry.- Specified by:
getStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user uuid of this commerce term entry
-
setStatusByUserUuid
Sets the status by user uuid of this commerce term entry.- Specified by:
setStatusByUserUuidin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserUuid- the status by user uuid of this commerce term entry
-
getStatusByUserName
Returns the status by user name of this commerce term entry.- Specified by:
getStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status by user name of this commerce term entry
-
setStatusByUserName
Sets the status by user name of this commerce term entry.- Specified by:
setStatusByUserNamein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusByUserName- the status by user name of this commerce term entry
-
getStatusDate
Date getStatusDate()Returns the status date of this commerce term entry.- Specified by:
getStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
- the status date of this commerce term entry
-
setStatusDate
Sets the status date of this commerce term entry.- Specified by:
setStatusDatein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Parameters:
statusDate- the status date of this commerce term entry
-
getAvailableLanguageIds
String[] getAvailableLanguageIds() -
getDescription
String getDescription() -
getDescription
-
getDescription
-
getDescriptionMapAsXML
String getDescriptionMapAsXML() -
getLanguageIdToDescriptionMap
-
getLabel
String getLabel() -
getLabel
-
getLabel
-
getLabelMapAsXML
String getLabelMapAsXML() -
getLanguageIdToLabelMap
-
isApproved
boolean isApproved()Returnstrueif this commerce term entry is approved.- Specified by:
isApprovedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is approved;falseotherwise
-
isDenied
boolean isDenied()Returnstrueif this commerce term entry is denied.- Specified by:
isDeniedin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is denied;falseotherwise
-
isDraft
boolean isDraft()Returnstrueif this commerce term entry is a draft.- Specified by:
isDraftin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is a draft;falseotherwise
-
isExpired
boolean isExpired()Returnstrueif this commerce term entry is expired.- Specified by:
isExpiredin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is expired;falseotherwise
-
isInactive
boolean isInactive()Returnstrueif this commerce term entry is inactive.- Specified by:
isInactivein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is inactive;falseotherwise
-
isIncomplete
boolean isIncomplete()Returnstrueif this commerce term entry is incomplete.- Specified by:
isIncompletein interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is incomplete;falseotherwise
-
isPending
boolean isPending()Returnstrueif this commerce term entry is pending.- Specified by:
isPendingin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is pending;falseotherwise
-
isScheduled
boolean isScheduled()Returnstrueif this commerce term entry is scheduled.- Specified by:
isScheduledin interfacecom.liferay.portal.kernel.model.WorkflowedModel- Returns:
trueif this commerce term entry is scheduled;falseotherwise
-
cloneWithOriginalValues
CommerceTermEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>
-
toXmlString
-