Class AppWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>
com.liferay.marketplace.model.AppWrapper
All Implemented Interfaces:
App, AppModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<App>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<App>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<App>

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

This class is a wrapper for App.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.marketplace.model.App

    APP_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addContextName(String contextName)
     
     
    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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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
     
    boolean
     
    boolean
    Returns true if this app is required.
    void
     
    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
     
    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.
     
    protected AppWrapper
    wrap(App app)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper

    getWrappedModel

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

    clone
  • Constructor Details

    • AppWrapper

      public AppWrapper(App app)
  • Method Details

    • getModelAttributes

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

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

      public String[] addContextName(String contextName)
      Specified by:
      addContextName in interface App
    • cloneWithOriginalValues

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

      public long getAppId()
      Returns the app ID of this app.
      Specified by:
      getAppId in interface AppModel
      Returns:
      the app ID of this app
    • getCategory

      public String getCategory()
      Returns the category of this app.
      Specified by:
      getCategory in interface AppModel
      Returns:
      the category of this app
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this app.
      Specified by:
      getCompanyId in interface AppModel
      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
    • getContextNames

      public String[] getContextNames()
      Specified by:
      getContextNames in interface App
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this app.
      Specified by:
      getCreateDate in interface AppModel
      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
    • getDescription

      public String getDescription()
      Returns the description of this app.
      Specified by:
      getDescription in interface AppModel
      Returns:
      the description of this app
    • getFileDir

      public String getFileDir()
      Specified by:
      getFileDir in interface App
    • getFileName

      public String getFileName()
      Specified by:
      getFileName in interface App
    • getFilePath

      public String getFilePath()
      Specified by:
      getFilePath in interface App
    • getIconURL

      public String getIconURL()
      Returns the icon url of this app.
      Specified by:
      getIconURL in interface AppModel
      Returns:
      the icon url of this app
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this app.
      Specified by:
      getModifiedDate in interface AppModel
      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
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this app.
      Specified by:
      getPrimaryKey in interface AppModel
      Returns:
      the primary key of this app
    • getRemoteAppId

      public long getRemoteAppId()
      Returns the remote app ID of this app.
      Specified by:
      getRemoteAppId in interface AppModel
      Returns:
      the remote app ID of this app
    • getRequired

      public boolean getRequired()
      Returns the required of this app.
      Specified by:
      getRequired in interface AppModel
      Returns:
      the required of this app
    • getTitle

      public String getTitle()
      Returns the title of this app.
      Specified by:
      getTitle in interface AppModel
      Returns:
      the title of this app
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this app.
      Specified by:
      getUuid in interface AppModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this app
    • getVersion

      public String getVersion()
      Returns the version of this app.
      Specified by:
      getVersion in interface AppModel
      Returns:
      the version of this app
    • isDownloaded

      public boolean isDownloaded() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isDownloaded in interface App
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isInstalled

      public boolean isInstalled()
      Specified by:
      isInstalled in interface App
    • isRequired

      public boolean isRequired()
      Returns true if this app is required.
      Specified by:
      isRequired in interface AppModel
      Returns:
      true if this app is required; false otherwise
    • persist

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

      public void setAppId(long appId)
      Sets the app ID of this app.
      Specified by:
      setAppId in interface AppModel
      Parameters:
      appId - the app ID of this app
    • setCategory

      public void setCategory(String category)
      Sets the category of this app.
      Specified by:
      setCategory in interface AppModel
      Parameters:
      category - the category of this app
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this app.
      Specified by:
      setCompanyId in interface AppModel
      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
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this app.
      Specified by:
      setCreateDate in interface AppModel
      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
    • setDescription

      public void setDescription(String description)
      Sets the description of this app.
      Specified by:
      setDescription in interface AppModel
      Parameters:
      description - the description of this app
    • setIconURL

      public void setIconURL(String iconURL)
      Sets the icon url of this app.
      Specified by:
      setIconURL in interface AppModel
      Parameters:
      iconURL - the icon url of this app
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this app.
      Specified by:
      setModifiedDate in interface AppModel
      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
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this app.
      Specified by:
      setPrimaryKey in interface AppModel
      Parameters:
      primaryKey - the primary key of this app
    • setRemoteAppId

      public void setRemoteAppId(long remoteAppId)
      Sets the remote app ID of this app.
      Specified by:
      setRemoteAppId in interface AppModel
      Parameters:
      remoteAppId - the remote app ID of this app
    • setRequired

      public void setRequired(boolean required)
      Sets whether this app is required.
      Specified by:
      setRequired in interface AppModel
      Parameters:
      required - the required of this app
    • setTitle

      public void setTitle(String title)
      Sets the title of this app.
      Specified by:
      setTitle in interface AppModel
      Parameters:
      title - the title of this app
    • setUserId

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

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

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

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

      public void setVersion(String version)
      Sets the version of this app.
      Specified by:
      setVersion in interface AppModel
      Parameters:
      version - the version of this app
    • toXmlString

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

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

      protected AppWrapper wrap(App app)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>