Interface TranslationEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<TranslationEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<TranslationEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>, com.liferay.portal.kernel.model.GroupedModel, 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.TypedModel, com.liferay.portal.kernel.model.WorkflowedModel
All Known Subinterfaces:
TranslationEntry
All Known Implementing Classes:
TranslationEntryWrapper

@ProviderType public interface TranslationEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TranslationEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>, com.liferay.portal.kernel.model.GroupedModel, 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 TranslationEntry service. Represents a row in the "TranslationEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.translation.model.impl.TranslationEntryModelImpl 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.translation.model.impl.TranslationEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this translation entry.
    long
    Returns the class name ID of this translation entry.
    long
    Returns the class pk of this translation entry.
    long
    Returns the company ID of this translation entry.
    Returns the content of this translation entry.
    Returns the content type of this translation entry.
    Returns the create date of this translation entry.
    long
    Returns the ct collection ID of this translation entry.
    long
    Returns the group ID of this translation entry.
    Returns the language ID of this translation entry.
    Returns the modified date of this translation entry.
    long
    Returns the mvcc version of this translation entry.
    long
    Returns the primary key of this translation entry.
    int
    Returns the status of this translation entry.
    long
    Returns the status by user ID of this translation entry.
    Returns the status by user name of this translation entry.
    Returns the status by user uuid of this translation entry.
    Returns the status date of this translation entry.
    long
    Returns the translation entry ID of this translation entry.
    long
    Returns the user ID of this translation entry.
    Returns the user name of this translation entry.
    Returns the user uuid of this translation entry.
    Returns the uuid of this translation entry.
    boolean
    Returns true if this translation entry is approved.
    boolean
    Returns true if this translation entry is denied.
    boolean
    Returns true if this translation entry is a draft.
    boolean
    Returns true if this translation entry is expired.
    boolean
    Returns true if this translation entry is inactive.
    boolean
    Returns true if this translation entry is incomplete.
    boolean
    Returns true if this translation entry is pending.
    boolean
    Returns true if this translation entry is scheduled.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this translation entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this translation entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this translation entry.
    void
    setContent(String content)
    Sets the content of this translation entry.
    void
    setContentType(String contentType)
    Sets the content type of this translation entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this translation entry.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this translation entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this translation entry.
    void
    setLanguageId(String languageId)
    Sets the language ID of this translation entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this translation entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this translation entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this translation entry.
    void
    setStatus(int status)
    Sets the status of this translation entry.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this translation entry.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this translation entry.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this translation entry.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this translation entry.
    void
    setTranslationEntryId(long translationEntryId)
    Sets the translation entry ID of this translation entry.
    void
    setUserId(long userId)
    Sets the user ID of this translation entry.
    void
    setUserName(String userName)
    Sets the user name of this translation entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this translation entry.
    void
    Sets the uuid of this translation entry.
    default String
     

    Methods 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, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this translation entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
      Returns:
      the primary key of this translation entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this translation entry.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
      Parameters:
      primaryKey - the primary key of this translation entry
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this translation entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this translation entry
    • setMvccVersion

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

      long getCtCollectionId()
      Returns the ct collection ID of this translation entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
      Returns:
      the ct collection ID of this translation entry
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this translation entry.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TranslationEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this translation entry
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this translation entry.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this translation entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this translation entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this translation entry
    • getTranslationEntryId

      long getTranslationEntryId()
      Returns the translation entry ID of this translation entry.
      Returns:
      the translation entry ID of this translation entry
    • setTranslationEntryId

      void setTranslationEntryId(long translationEntryId)
      Sets the translation entry ID of this translation entry.
      Parameters:
      translationEntryId - the translation entry ID of this translation entry
    • getGroupId

      long getGroupId()
      Returns the group ID of this translation entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this translation entry
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this translation entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this translation entry
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this translation entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      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 translation entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this translation entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      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 translation entry
    • getUserId

      long getUserId()
      Returns the user ID of this translation entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this translation entry
    • setUserId

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

      String getUserUuid()
      Returns the user uuid of this translation entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this translation entry
    • setUserUuid

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

      @AutoEscape String getUserName()
      Returns the user name of this translation entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this translation entry
    • setUserName

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

      Date getCreateDate()
      Returns the create date of this translation entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this translation entry
    • setCreateDate

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

      Date getModifiedDate()
      Returns the modified date of this translation entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this translation entry
    • setModifiedDate

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

      String getClassName()
      Returns the fully qualified class name of this translation entry.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this translation entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this translation entry.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this translation entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this translation entry.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this translation entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this translation entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this translation entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this translation entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this translation entry
    • getContent

      @AutoEscape String getContent()
      Returns the content of this translation entry.
      Returns:
      the content of this translation entry
    • setContent

      void setContent(String content)
      Sets the content of this translation entry.
      Parameters:
      content - the content of this translation entry
    • getContentType

      @AutoEscape String getContentType()
      Returns the content type of this translation entry.
      Returns:
      the content type of this translation entry
    • setContentType

      void setContentType(String contentType)
      Sets the content type of this translation entry.
      Parameters:
      contentType - the content type of this translation entry
    • getLanguageId

      @AutoEscape String getLanguageId()
      Returns the language ID of this translation entry.
      Returns:
      the language ID of this translation entry
    • setLanguageId

      void setLanguageId(String languageId)
      Sets the language ID of this translation entry.
      Parameters:
      languageId - the language ID of this translation entry
    • getStatus

      int getStatus()
      Returns the status of this translation entry.
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this translation entry
    • setStatus

      void setStatus(int status)
      Sets the status of this translation entry.
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this translation entry
    • getStatusByUserId

      long getStatusByUserId()
      Returns the status by user ID of this translation entry.
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this translation entry
    • setStatusByUserId

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

      String getStatusByUserUuid()
      Returns the status by user uuid of this translation entry.
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this translation entry
    • setStatusByUserUuid

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

      @AutoEscape String getStatusByUserName()
      Returns the status by user name of this translation entry.
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this translation entry
    • setStatusByUserName

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

      Date getStatusDate()
      Returns the status date of this translation entry.
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this translation entry
    • setStatusDate

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

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

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

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

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

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

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

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

      boolean isScheduled()
      Returns true if this translation entry is scheduled.
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this translation entry is scheduled; false otherwise
    • cloneWithOriginalValues

      TranslationEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<TranslationEntry>
    • toXmlString

      default String toXmlString()