Package com.liferay.marketplace.model
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 TypeMethodDescriptionlonggetAppId()Returns the app ID of this app.Returns the category of this app.longReturns 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.longReturns the primary key of this app.longReturns the remote app ID of this app.booleanReturns the required of this app.getTitle()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.booleanReturnstrueif this app is required.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.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.default StringMethods 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, 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.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
Returns the uuid of this app.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this app
-
setUuid
Sets the uuid of this app.- Specified by:
setUuidin interfacecom.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:
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
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this app.- 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
-
getUserId
long getUserId()Returns the user ID of this app.- Specified by:
getUserIdin interfacecom.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:
setUserIdin interfacecom.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:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this app
-
setUserUuid
Sets the user uuid of this app.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this app
-
getUserName
Returns the user name of this app.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this app
-
setUserName
Sets the user name of this app.- Specified by:
setUserNamein interfacecom.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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this app
-
setCreateDate
Sets the create date of this app.- 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
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this app.- 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
-
setModifiedDate
Sets the modified date of this app.- 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
-
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
Returns the title of this app.- Returns:
- the title of this app
-
setTitle
Sets the title of this app.- Parameters:
title- the title of this app
-
getDescription
Returns the description of this app.- Returns:
- the description of this app
-
setDescription
Sets the description of this app.- Parameters:
description- the description of this app
-
getCategory
Returns the category of this app.- Returns:
- the category of this app
-
setCategory
Sets the category of this app.- Parameters:
category- the category of this app
-
getIconURL
Returns the icon url of this app.- Returns:
- the icon url of this app
-
setIconURL
Sets the icon url of this app.- Parameters:
iconURL- the icon url of this app
-
getVersion
Returns the version of this app.- Returns:
- the version of this app
-
setVersion
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()Returnstrueif this app is required.- Returns:
trueif this app is required;falseotherwise
-
setRequired
void setRequired(boolean required) Sets whether this app is required.- Parameters:
required- the required of this app
-
cloneWithOriginalValues
App cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<App>
-
toXmlString
-