@ProviderType public class AppWrapper extends java.lang.Object implements App, com.liferay.portal.kernel.model.ModelWrapper<App>
This class is a wrapper for App
.
App
,
Serialized FormAPP_ID_ACCESSOR
Constructor and Description |
---|
AppWrapper(App app) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
addContextName(java.lang.String contextName) |
java.lang.Object |
clone() |
int |
compareTo(App app) |
boolean |
equals(java.lang.Object obj) |
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.lang.String[] |
getContextNames() |
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 |
getFileDir() |
java.lang.String |
getFileName() |
java.lang.String |
getFilePath() |
java.lang.String |
getIconURL()
Returns the icon url of this app.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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.
|
App |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isDownloaded() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isInstalled() |
boolean |
isNew() |
boolean |
isRequired()
Returns
true if this app is required. |
void |
persist() |
void |
resetOriginalValues() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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() |
public AppWrapper(App app)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
public java.lang.String[] addContextName(java.lang.String contextName)
addContextName
in interface App
public java.lang.Object clone()
public int compareTo(App app)
public long getAppId()
public java.lang.String getCategory()
getCategory
in interface AppModel
public long getCompanyId()
getCompanyId
in interface AppModel
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
public java.lang.String[] getContextNames()
getContextNames
in interface App
public java.util.Date getCreateDate()
getCreateDate
in interface AppModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDescription()
getDescription
in interface AppModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface AppModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<App>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getFileDir()
getFileDir
in interface App
public java.lang.String getFileName()
getFileName
in interface App
public java.lang.String getFilePath()
getFilePath
in interface App
public java.lang.String getIconURL()
getIconURL
in interface AppModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AppModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getPrimaryKey()
getPrimaryKey
in interface AppModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface AppModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<App>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public long getRemoteAppId()
getRemoteAppId
in interface AppModel
public boolean getRequired()
getRequired
in interface AppModel
public java.lang.String getTitle()
public long getUserId()
public java.lang.String getUserName()
getUserName
in interface AppModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface AppModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
public java.lang.String getVersion()
getVersion
in interface AppModel
public int hashCode()
public boolean isCachedModel()
isCachedModel
in interface AppModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public boolean isDownloaded() throws com.liferay.portal.kernel.exception.PortalException
isDownloaded
in interface App
com.liferay.portal.kernel.exception.PortalException
public boolean isEscapedModel()
isEscapedModel
in interface AppModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public boolean isInstalled()
isInstalled
in interface App
public boolean isNew()
public boolean isRequired()
true
if this app is required.isRequired
in interface AppModel
true
if this app is required; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAppId(long appId)
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface AppModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void setCategory(java.lang.String category)
setCategory
in interface AppModel
category
- the category of this apppublic void setCompanyId(long companyId)
setCompanyId
in interface AppModel
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 apppublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AppModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this apppublic void setDescription(java.lang.String description)
setDescription
in interface AppModel
description
- the description of this apppublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface AppModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface AppModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface AppModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void setIconURL(java.lang.String iconURL)
setIconURL
in interface AppModel
iconURL
- the icon url of this apppublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AppModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this apppublic void setNew(boolean n)
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AppModel
primaryKey
- the primary key of this apppublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface AppModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<App>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setRemoteAppId(long remoteAppId)
setRemoteAppId
in interface AppModel
remoteAppId
- the remote app ID of this apppublic void setRequired(boolean required)
setRequired
in interface AppModel
required
- the required of this apppublic void setTitle(java.lang.String title)
public void setUserId(long userId)
public void setUserName(java.lang.String userName)
setUserName
in interface AppModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this apppublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AppModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this apppublic void setUuid(java.lang.String uuid)
public void setVersion(java.lang.String version)
setVersion
in interface AppModel
version
- the version of this apppublic com.liferay.portal.kernel.model.CacheModel<App> toCacheModel()
toCacheModel
in interface AppModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public App toEscapedModel()
toEscapedModel
in interface AppModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public java.lang.String toString()
public App toUnescapedModel()
toUnescapedModel
in interface AppModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<App>
public java.lang.String toXmlString()
toXmlString
in interface AppModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<App>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public App getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<App>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<App>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<App>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<App>