@ProviderType public interface AppModel extends com.liferay.portal.kernel.model.BaseModel<App>, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
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
.
App
,
com.liferay.marketplace.model.impl.AppImpl
,
com.liferay.marketplace.model.impl.AppModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(App app) |
long |
getAppId()
Returns the app ID of this app.
|
java.lang.String |
getCategory()
Returns the category of this app.
|
long |
getCompanyId()
Returns the company ID of this app.
|
java.util.Date |
getCreateDate()
Returns the create date of this app.
|
java.lang.String |
getDescription()
Returns the description of this app.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getIconURL()
Returns the icon url of this app.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this app.
|
long |
getPrimaryKey()
Returns the primary key of this app.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getRemoteAppId()
Returns the remote app ID of this app.
|
boolean |
getRequired()
Returns the required of this app.
|
java.lang.String |
getTitle()
Returns the title of this app.
|
long |
getUserId()
Returns the user ID of this app.
|
java.lang.String |
getUserName()
Returns the user name of this app.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this app.
|
java.lang.String |
getUuid()
Returns the uuid of this app.
|
java.lang.String |
getVersion()
Returns the version of this app.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
boolean |
isRequired()
Returns
true if this app is required. |
void |
setAppId(long appId)
Sets the app ID of this app.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCategory(java.lang.String category)
Sets the category of this app.
|
void |
setCompanyId(long companyId)
Sets the company ID of this app.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this app.
|
void |
setDescription(java.lang.String description)
Sets the description of this app.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setIconURL(java.lang.String iconURL)
Sets the icon url of this app.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this app.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this app.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setRemoteAppId(long remoteAppId)
Sets the remote app ID of this app.
|
void |
setRequired(boolean required)
Sets whether this app is required.
|
void |
setTitle(java.lang.String title)
Sets the title of this app.
|
void |
setUserId(long userId)
Sets the user ID of this app.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this app.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this app.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this app.
|
void |
setVersion(java.lang.String version)
Sets the version of this app.
|
com.liferay.portal.kernel.model.CacheModel<App> |
toCacheModel() |
App |
toEscapedModel() |
java.lang.String |
toString() |
App |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this app@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this applong getAppId()
void setAppId(long appId)
appId
- the app ID of this applong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this applong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this appjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this app@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this appjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this appjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this applong getRemoteAppId()
void setRemoteAppId(long remoteAppId)
remoteAppId
- the remote app ID of this app@AutoEscape java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- the title of this app@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description of this app@AutoEscape java.lang.String getCategory()
void setCategory(java.lang.String category)
category
- the category of this app@AutoEscape java.lang.String getIconURL()
void setIconURL(java.lang.String iconURL)
iconURL
- the icon url of this app@AutoEscape java.lang.String getVersion()
void setVersion(java.lang.String version)
version
- the version of this appboolean getRequired()
boolean isRequired()
true
if this app is required.true
if this app is required; false
otherwisevoid setRequired(boolean required)
required
- the required of this appboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<App>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<App>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<App>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<App>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<App>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<App>
clone
in interface com.liferay.portal.kernel.model.StagedModel
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<App> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
App toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
App toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<App>