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
modelFields inherited from interface com.liferay.marketplace.model.App
APP_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]addContextName(String contextName) longgetAppId()Returns the app ID of this app.Returns the category of this app.longReturns 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.longReturns the primary key of this app.longReturns the remote app ID of this app.booleanReturns the required of this app.com.liferay.exportimport.kernel.lar.StagedModelTypegetTitle()Returns the title of this app.longReturns 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.booleanbooleanbooleanReturnstrueif this app is required.voidpersist()voidsetAppId(long appId) Sets the app ID of this app.voidsetCategory(String category) Sets the category of this app.voidsetCompanyId(long companyId) Sets the company ID of this app.voidsetCreateDate(Date createDate) Sets the create date of this app.voidsetDescription(String description) Sets the description of this app.voidsetIconURL(String iconURL) Sets the icon url of this app.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this app.voidsetPrimaryKey(long primaryKey) Sets the primary key of this app.voidsetRemoteAppId(long remoteAppId) Sets the remote app ID of this app.voidsetRequired(boolean required) Sets whether this app is required.voidSets the title of this app.voidsetUserId(long userId) Sets the user ID of this app.voidsetUserName(String userName) Sets the user name of this app.voidsetUserUuid(String userUuid) Sets the user uuid of this app.voidSets the uuid of this app.voidsetVersion(String version) Sets the version of this app.protected AppWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
AppWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
addContextName
- Specified by:
addContextNamein interfaceApp
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAppModel- Specified by:
cloneWithOriginalValuesin 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:
getCategoryin interfaceAppModel- Returns:
- the category of this app
-
getCompanyId
public long getCompanyId()Returns the company ID of this app.- Specified by:
getCompanyIdin interfaceAppModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this app
-
getContextNames
- Specified by:
getContextNamesin interfaceApp
-
getCreateDate
Returns the create date of this app.- Specified by:
getCreateDatein interfaceAppModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this app
-
getDescription
Returns the description of this app.- Specified by:
getDescriptionin interfaceAppModel- Returns:
- the description of this app
-
getFileDir
- Specified by:
getFileDirin interfaceApp
-
getFileName
- Specified by:
getFileNamein interfaceApp
-
getFilePath
- Specified by:
getFilePathin interfaceApp
-
getIconURL
Returns the icon url of this app.- Specified by:
getIconURLin interfaceAppModel- Returns:
- the icon url of this app
-
getModifiedDate
Returns the modified date of this app.- Specified by:
getModifiedDatein interfaceAppModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
getPrimaryKeyin interfaceAppModel- Returns:
- the primary key of this app
-
getRemoteAppId
public long getRemoteAppId()Returns the remote app ID of this app.- Specified by:
getRemoteAppIdin interfaceAppModel- Returns:
- the remote app ID of this app
-
getRequired
public boolean getRequired()Returns the required of this app.- Specified by:
getRequiredin 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:
getUserNamein interfaceAppModel- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this app
-
getUserUuid
Returns the user uuid of this app.- Specified by:
getUserUuidin interfaceAppModel- Specified by:
getUserUuidin 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:
getVersionin interfaceAppModel- Returns:
- the version of this app
-
isDownloaded
public boolean isDownloaded() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
isDownloadedin interfaceApp- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isInstalled
public boolean isInstalled()- Specified by:
isInstalledin interfaceApp
-
isRequired
public boolean isRequired()Returnstrueif this app is required.- Specified by:
isRequiredin interfaceAppModel- Returns:
trueif this app is required;falseotherwise
-
persist
public void persist()- Specified by:
persistin 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:
setCategoryin interfaceAppModel- Parameters:
category- the category of this app
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this app.- Specified by:
setCompanyIdin interfaceAppModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this app
-
setCreateDate
Sets the create date of this app.- Specified by:
setCreateDatein interfaceAppModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this app
-
setDescription
Sets the description of this app.- Specified by:
setDescriptionin interfaceAppModel- Parameters:
description- the description of this app
-
setIconURL
Sets the icon url of this app.- Specified by:
setIconURLin interfaceAppModel- Parameters:
iconURL- the icon url of this app
-
setModifiedDate
Sets the modified date of this app.- Specified by:
setModifiedDatein interfaceAppModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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:
setPrimaryKeyin 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:
setRemoteAppIdin interfaceAppModel- Parameters:
remoteAppId- the remote app ID of this app
-
setRequired
public void setRequired(boolean required) Sets whether this app is required.- Specified by:
setRequiredin 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:
setUserNamein interfaceAppModel- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this app
-
setUserUuid
Sets the user uuid of this app.- Specified by:
setUserUuidin interfaceAppModel- Specified by:
setUserUuidin 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:
setVersionin interfaceAppModel- Parameters:
version- the version of this app
-
toXmlString
- Specified by:
toXmlStringin interfaceAppModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>
-