Interface AppModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<App>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<App>, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
App
All Known Implementing Classes:
AppWrapper

@ProviderType public interface AppModel extends com.liferay.portal.kernel.model.BaseModel<App>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the App service. Represents a row in the "Marketplace_App" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.marketplace.model.impl.AppModelImpl 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.marketplace.model.impl.AppImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the app ID of this app.
    Returns the category of this app.
    long
    Returns the company ID of this app.
    Returns the create date of this app.
    Returns the description of this app.
    Returns the icon url of this app.
    Returns the modified date of this app.
    long
    Returns the primary key of this app.
    long
    Returns the remote app ID of this app.
    boolean
    Returns the required of this app.
    Returns the title of this app.
    long
    Returns the user ID of this app.
    Returns the user name of this app.
    Returns the user uuid of this app.
    Returns the uuid of this app.
    Returns the version of this app.
    boolean
    Returns true if this app is required.
    void
    setAppId(long appId)
    Sets the app ID of this app.
    void
    setCategory(String category)
    Sets the category of this app.
    void
    setCompanyId(long companyId)
    Sets the company ID of this app.
    void
    setCreateDate(Date createDate)
    Sets the create date of this app.
    void
    setDescription(String description)
    Sets the description of this app.
    void
    setIconURL(String iconURL)
    Sets the icon url of this app.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this app.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this app.
    void
    setRemoteAppId(long remoteAppId)
    Sets the remote app ID of this app.
    void
    setRequired(boolean required)
    Sets whether this app is required.
    void
    Sets the title of this app.
    void
    setUserId(long userId)
    Sets the user ID of this app.
    void
    setUserName(String userName)
    Sets the user name of this app.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this app.
    void
    Sets the uuid of this app.
    void
    setVersion(String version)
    Sets the version of this app.
    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 app.
      Returns:
      the primary key of this app
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this app.
      Parameters:
      primaryKey - the primary key of this app
    • getUuid

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

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

      long getAppId()
      Returns the app ID of this app.
      Returns:
      the app ID of this app
    • setAppId

      void setAppId(long appId)
      Sets the app ID of this app.
      Parameters:
      appId - the app ID of this app
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this app.
      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 app
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this app.
      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 app
    • getUserId

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

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

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

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

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

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

      Date getCreateDate()
      Returns the create date of this app.
      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 app
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this app.
      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 app
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this app.
      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 app
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this app.
      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 app
    • getRemoteAppId

      long getRemoteAppId()
      Returns the remote app ID of this app.
      Returns:
      the remote app ID of this app
    • setRemoteAppId

      void setRemoteAppId(long remoteAppId)
      Sets the remote app ID of this app.
      Parameters:
      remoteAppId - the remote app ID of this app
    • getTitle

      @AutoEscape String getTitle()
      Returns the title of this app.
      Returns:
      the title of this app
    • setTitle

      void setTitle(String title)
      Sets the title of this app.
      Parameters:
      title - the title of this app
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this app.
      Returns:
      the description of this app
    • setDescription

      void setDescription(String description)
      Sets the description of this app.
      Parameters:
      description - the description of this app
    • getCategory

      @AutoEscape String getCategory()
      Returns the category of this app.
      Returns:
      the category of this app
    • setCategory

      void setCategory(String category)
      Sets the category of this app.
      Parameters:
      category - the category of this app
    • getIconURL

      @AutoEscape String getIconURL()
      Returns the icon url of this app.
      Returns:
      the icon url of this app
    • setIconURL

      void setIconURL(String iconURL)
      Sets the icon url of this app.
      Parameters:
      iconURL - the icon url of this app
    • getVersion

      @AutoEscape String getVersion()
      Returns the version of this app.
      Returns:
      the version of this app
    • setVersion

      void setVersion(String version)
      Sets the version of this app.
      Parameters:
      version - the version of this app
    • getRequired

      boolean getRequired()
      Returns the required of this app.
      Returns:
      the required of this app
    • isRequired

      boolean isRequired()
      Returns true if this app is required.
      Returns:
      true if this app is required; false otherwise
    • setRequired

      void setRequired(boolean required)
      Sets whether this app is required.
      Parameters:
      required - the required of this app
    • cloneWithOriginalValues

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

      default String toXmlString()