Package com.liferay.marketplace.model
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 -
Method Summary
Modifier and TypeMethodDescriptionString[]
addContextName
(String contextName) long
getAppId()
Returns the app ID of this app.Returns the category of this app.long
Returns the company ID of this app.String[]
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
getTitle()
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.getUuid()
Returns the uuid of this app.Returns the version of this app.boolean
boolean
boolean
Returnstrue
if this app is required.void
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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
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
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
addContextName
- Specified by:
addContextName
in interfaceApp
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAppModel
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
getAppId
public long getAppId()Returns the app ID of this app. -
getCategory
Returns the category of this app.- Specified by:
getCategory
in interfaceAppModel
- Returns:
- the category of this app
-
getCompanyId
public long getCompanyId()Returns the company ID of this app.- Specified by:
getCompanyId
in interfaceAppModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this app
-
getContextNames
- Specified by:
getContextNames
in interfaceApp
-
getCreateDate
Returns the create date of this app.- Specified by:
getCreateDate
in interfaceAppModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this app
-
getDescription
Returns the description of this app.- Specified by:
getDescription
in interfaceAppModel
- Returns:
- the description of this app
-
getFileDir
- Specified by:
getFileDir
in interfaceApp
-
getFileName
- Specified by:
getFileName
in interfaceApp
-
getFilePath
- Specified by:
getFilePath
in interfaceApp
-
getIconURL
Returns the icon url of this app.- Specified by:
getIconURL
in interfaceAppModel
- Returns:
- the icon url of this app
-
getModifiedDate
Returns the modified date of this app.- Specified by:
getModifiedDate
in interfaceAppModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.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 interfaceAppModel
- Returns:
- the primary key of this app
-
getRemoteAppId
public long getRemoteAppId()Returns the remote app ID of this app.- Specified by:
getRemoteAppId
in interfaceAppModel
- Returns:
- the remote app ID of this app
-
getRequired
public boolean getRequired()Returns the required of this app.- Specified by:
getRequired
in interfaceAppModel
- Returns:
- the required of this app
-
getTitle
Returns the title of this app. -
getUserId
public long getUserId()Returns the user ID of this app. -
getUserName
Returns the user name of this app.- Specified by:
getUserName
in interfaceAppModel
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this app
-
getUserUuid
Returns the user uuid of this app.- Specified by:
getUserUuid
in interfaceAppModel
- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this app
-
getUuid
Returns the uuid of this app. -
getVersion
Returns the version of this app.- Specified by:
getVersion
in interfaceAppModel
- Returns:
- the version of this app
-
isDownloaded
public boolean isDownloaded() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
isDownloaded
in interfaceApp
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isInstalled
public boolean isInstalled()- Specified by:
isInstalled
in interfaceApp
-
isRequired
public boolean isRequired()Returnstrue
if this app is required.- Specified by:
isRequired
in interfaceAppModel
- Returns:
true
if this app is required;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAppId
public void setAppId(long appId) Sets the app ID of this app. -
setCategory
Sets the category of this app.- Specified by:
setCategory
in interfaceAppModel
- Parameters:
category
- the category of this app
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this app.- Specified by:
setCompanyId
in interfaceAppModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this app
-
setCreateDate
Sets the create date of this app.- Specified by:
setCreateDate
in interfaceAppModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this app
-
setDescription
Sets the description of this app.- Specified by:
setDescription
in interfaceAppModel
- Parameters:
description
- the description of this app
-
setIconURL
Sets the icon url of this app.- Specified by:
setIconURL
in interfaceAppModel
- Parameters:
iconURL
- the icon url of this app
-
setModifiedDate
Sets the modified date of this app.- Specified by:
setModifiedDate
in interfaceAppModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.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 interfaceAppModel
- 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 interfaceAppModel
- 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 interfaceAppModel
- Parameters:
required
- the required of this app
-
setTitle
Sets the title of this app. -
setUserId
public void setUserId(long userId) Sets the user ID of this app. -
setUserName
Sets the user name of this app.- Specified by:
setUserName
in interfaceAppModel
- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this app
-
setUserUuid
Sets the user uuid of this app.- Specified by:
setUserUuid
in interfaceAppModel
- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this app
-
setUuid
Sets the uuid of this app. -
setVersion
Sets the version of this app.- Specified by:
setVersion
in interfaceAppModel
- Parameters:
version
- the version of this app
-
toXmlString
- Specified by:
toXmlString
in interfaceAppModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>
-