@ProviderType public interface AppModel extends BaseModel<App>, ShardedModel, 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
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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()
Returns the primary key of this model instance.
|
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()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isRequired()
Returns
true if this app is required. |
void |
setAppId(long appId)
Sets the app ID of this app.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this app.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<App> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
App |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
java.lang.String |
toString() |
App |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this app@AutoEscape java.lang.String getUuid()
getUuid
in interface StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this applong getAppId()
void setAppId(long appId)
appId
- the app ID of this applong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this applong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this appjava.lang.String getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this app@AutoEscape java.lang.String getUserName()
getUserName
in interface AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface AuditedModel
userName
- the user name of this appjava.util.Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this appjava.util.Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface 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()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<App>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<App>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<App>
true
if this model instance is escaped;
false
otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<App>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<App>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<App>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<App>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<App>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<App>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
java.lang.Object clone()
BaseModel
clone
in interface BaseModel<App>
clone
in interface StagedModel
int hashCode()
hashCode
in class java.lang.Object
CacheModel<App> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<App>
App toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<App>
AutoEscapeBeanHandler
App toUnescapedModel()
toUnescapedModel
in interface BaseModel<App>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
BaseModel
toXmlString
in interface BaseModel<App>