Class CommerceTermEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTermEntry>
com.liferay.commerce.term.model.CommerceTermEntryWrapper
All Implemented Interfaces:
CommerceTermEntry, CommerceTermEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceTermEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<CommerceTermEntry>

public class CommerceTermEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTermEntry> implements CommerceTermEntry, com.liferay.portal.kernel.model.ModelWrapper<CommerceTermEntry>

This class is a wrapper for CommerceTermEntry.

See Also:
Generated:
  • Constructor Details

    • CommerceTermEntryWrapper

      public CommerceTermEntryWrapper(CommerceTermEntry commerceTermEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>
    • cloneWithOriginalValues

      public CommerceTermEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceTermEntry>
      Specified by:
      cloneWithOriginalValues in interface CommerceTermEntryModel
    • getActive

      public boolean getActive()
      Returns the active of this commerce term entry.
      Specified by:
      getActive in interface CommerceTermEntryModel
      Returns:
      the active of this commerce term entry
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface CommerceTermEntryModel
    • getCommerceTermEntryId

      public long getCommerceTermEntryId()
      Returns the commerce term entry ID of this commerce term entry.
      Specified by:
      getCommerceTermEntryId in interface CommerceTermEntryModel
      Returns:
      the commerce term entry ID of this commerce term entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce term entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceTermEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce term entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce term entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceTermEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce term entry
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Returns the default language ID of this commerce term entry.
      Specified by:
      getDefaultLanguageId in interface CommerceTermEntryModel
      Returns:
      the default language ID of this commerce term entry
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface CommerceTermEntryModel
    • getDescription

      public String getDescription(String languageId)
      Specified by:
      getDescription in interface CommerceTermEntryModel
    • getDescription

      public String getDescription(String languageId, boolean useDefault)
      Specified by:
      getDescription in interface CommerceTermEntryModel
    • getDescriptionMapAsXML

      public String getDescriptionMapAsXML()
      Specified by:
      getDescriptionMapAsXML in interface CommerceTermEntryModel
    • getDisplayDate

      public Date getDisplayDate()
      Returns the display date of this commerce term entry.
      Specified by:
      getDisplayDate in interface CommerceTermEntryModel
      Returns:
      the display date of this commerce term entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this commerce term entry.
      Specified by:
      getExpirationDate in interface CommerceTermEntryModel
      Returns:
      the expiration date of this commerce term entry
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce term entry.
      Specified by:
      getExternalReferenceCode in interface CommerceTermEntryModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce term entry
    • getLabel

      public String getLabel()
      Specified by:
      getLabel in interface CommerceTermEntryModel
    • getLabel

      public String getLabel(String languageId)
      Specified by:
      getLabel in interface CommerceTermEntryModel
    • getLabel

      public String getLabel(String languageId, boolean useDefault)
      Specified by:
      getLabel in interface CommerceTermEntryModel
    • getLabelMapAsXML

      public String getLabelMapAsXML()
      Specified by:
      getLabelMapAsXML in interface CommerceTermEntryModel
    • getLanguageIdToDescriptionMap

      public Map<String,String> getLanguageIdToDescriptionMap()
      Specified by:
      getLanguageIdToDescriptionMap in interface CommerceTermEntryModel
    • getLanguageIdToLabelMap

      public Map<String,String> getLanguageIdToLabelMap()
      Specified by:
      getLanguageIdToLabelMap in interface CommerceTermEntryModel
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce term entry.
      Specified by:
      getLastPublishDate in interface CommerceTermEntryModel
      Returns:
      the last publish date of this commerce term entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce term entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceTermEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce term entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce term entry.
      Specified by:
      getMvccVersion in interface CommerceTermEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce term entry
    • getName

      public String getName()
      Returns the name of this commerce term entry.
      Specified by:
      getName in interface CommerceTermEntryModel
      Returns:
      the name of this commerce term entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce term entry.
      Specified by:
      getPrimaryKey in interface CommerceTermEntryModel
      Returns:
      the primary key of this commerce term entry
    • getPriority

      public double getPriority()
      Returns the priority of this commerce term entry.
      Specified by:
      getPriority in interface CommerceTermEntryModel
      Returns:
      the priority of this commerce term entry
    • getStatus

      public int getStatus()
      Returns the status of this commerce term entry.
      Specified by:
      getStatus in interface CommerceTermEntryModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this commerce term entry
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this commerce term entry.
      Specified by:
      getStatusByUserId in interface CommerceTermEntryModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this commerce term entry
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this commerce term entry.
      Specified by:
      getStatusByUserName in interface CommerceTermEntryModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this commerce term entry
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this commerce term entry.
      Specified by:
      getStatusByUserUuid in interface CommerceTermEntryModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this commerce term entry
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this commerce term entry.
      Specified by:
      getStatusDate in interface CommerceTermEntryModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this commerce term entry
    • getType

      public String getType()
      Returns the type of this commerce term entry.
      Specified by:
      getType in interface CommerceTermEntryModel
      Returns:
      the type of this commerce term entry
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this commerce term entry.
      Specified by:
      getTypeSettings in interface CommerceTermEntryModel
      Returns:
      the type settings of this commerce term entry
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce term entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceTermEntryModel
      Returns:
      the user ID of this commerce term entry
    • getUserName

      public String getUserName()
      Returns the user name of this commerce term entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceTermEntryModel
      Returns:
      the user name of this commerce term entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce term entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceTermEntryModel
      Returns:
      the user uuid of this commerce term entry
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce term entry.
      Specified by:
      getUuid in interface CommerceTermEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce term entry
    • isActive

      public boolean isActive()
      Returns true if this commerce term entry is active.
      Specified by:
      isActive in interface CommerceTermEntryModel
      Returns:
      true if this commerce term entry is active; false otherwise
    • isApproved

      public boolean isApproved()
      Returns true if this commerce term entry is approved.
      Specified by:
      isApproved in interface CommerceTermEntryModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this commerce term entry is denied.
      Specified by:
      isDenied in interface CommerceTermEntryModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this commerce term entry is a draft.
      Specified by:
      isDraft in interface CommerceTermEntryModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this commerce term entry is expired.
      Specified by:
      isExpired in interface CommerceTermEntryModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this commerce term entry is inactive.
      Specified by:
      isInactive in interface CommerceTermEntryModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this commerce term entry is incomplete.
      Specified by:
      isIncomplete in interface CommerceTermEntryModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is incomplete; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this commerce term entry is pending.
      Specified by:
      isPending in interface CommerceTermEntryModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is pending; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this commerce term entry is scheduled.
      Specified by:
      isScheduled in interface CommerceTermEntryModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce term entry is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setActive

      public void setActive(boolean active)
      Sets whether this commerce term entry is active.
      Specified by:
      setActive in interface CommerceTermEntryModel
      Parameters:
      active - the active of this commerce term entry
    • setCommerceTermEntryId

      public void setCommerceTermEntryId(long commerceTermEntryId)
      Sets the commerce term entry ID of this commerce term entry.
      Specified by:
      setCommerceTermEntryId in interface CommerceTermEntryModel
      Parameters:
      commerceTermEntryId - the commerce term entry ID of this commerce term entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce term entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceTermEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce term entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce term entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceTermEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce term entry
    • setDefaultLanguageId

      public void setDefaultLanguageId(String defaultLanguageId)
      Sets the default language ID of this commerce term entry.
      Specified by:
      setDefaultLanguageId in interface CommerceTermEntryModel
      Parameters:
      defaultLanguageId - the default language ID of this commerce term entry
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this commerce term entry.
      Specified by:
      setDisplayDate in interface CommerceTermEntryModel
      Parameters:
      displayDate - the display date of this commerce term entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this commerce term entry.
      Specified by:
      setExpirationDate in interface CommerceTermEntryModel
      Parameters:
      expirationDate - the expiration date of this commerce term entry
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce term entry.
      Specified by:
      setExternalReferenceCode in interface CommerceTermEntryModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce term entry
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce term entry.
      Specified by:
      setLastPublishDate in interface CommerceTermEntryModel
      Parameters:
      lastPublishDate - the last publish date of this commerce term entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce term entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceTermEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce term entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce term entry.
      Specified by:
      setMvccVersion in interface CommerceTermEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce term entry
    • setName

      public void setName(String name)
      Sets the name of this commerce term entry.
      Specified by:
      setName in interface CommerceTermEntryModel
      Parameters:
      name - the name of this commerce term entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce term entry.
      Specified by:
      setPrimaryKey in interface CommerceTermEntryModel
      Parameters:
      primaryKey - the primary key of this commerce term entry
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this commerce term entry.
      Specified by:
      setPriority in interface CommerceTermEntryModel
      Parameters:
      priority - the priority of this commerce term entry
    • setStatus

      public void setStatus(int status)
      Sets the status of this commerce term entry.
      Specified by:
      setStatus in interface CommerceTermEntryModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this commerce term entry
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this commerce term entry.
      Specified by:
      setStatusByUserId in interface CommerceTermEntryModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this commerce term entry
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this commerce term entry.
      Specified by:
      setStatusByUserName in interface CommerceTermEntryModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this commerce term entry
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this commerce term entry.
      Specified by:
      setStatusByUserUuid in interface CommerceTermEntryModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this commerce term entry
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this commerce term entry.
      Specified by:
      setStatusDate in interface CommerceTermEntryModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this commerce term entry
    • setType

      public void setType(String type)
      Sets the type of this commerce term entry.
      Specified by:
      setType in interface CommerceTermEntryModel
      Parameters:
      type - the type of this commerce term entry
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce term entry.
      Specified by:
      setTypeSettings in interface CommerceTermEntryModel
      Parameters:
      typeSettings - the type settings of this commerce term entry
    • setTypeSettingsUnicodeProperties

      public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
      Specified by:
      setTypeSettingsUnicodeProperties in interface CommerceTermEntry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this commerce term entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceTermEntryModel
      Parameters:
      userId - the user ID of this commerce term entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce term entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceTermEntryModel
      Parameters:
      userName - the user name of this commerce term entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce term entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceTermEntryModel
      Parameters:
      userUuid - the user uuid of this commerce term entry
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this commerce term entry.
      Specified by:
      setUuid in interface CommerceTermEntryModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce term entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceTermEntryModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceTermEntryWrapper wrap(CommerceTermEntry commerceTermEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTermEntry>