@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 u r l 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 u r l 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.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic 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 boolean getRequired()
getRequired in interface AppModelpublic boolean isCachedModel()
isCachedModel in interface AppModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<App>public boolean isDownloaded()
throws com.liferay.portal.kernel.exception.PortalException
isDownloaded in interface Appcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isEscapedModel()
isEscapedModel in interface AppModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<App>public boolean isInstalled()
isInstalled in interface Apppublic boolean isNew()
public boolean isRequired()
true if this app is required.isRequired in interface AppModeltrue if this app is required; false otherwisepublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface AppModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<App>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic App toEscapedModel()
toEscapedModel in interface AppModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<App>public App toUnescapedModel()
toUnescapedModel in interface AppModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<App>public com.liferay.portal.kernel.model.CacheModel<App> toCacheModel()
toCacheModel in interface AppModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<App>public int compareTo(App app)
public int hashCode()
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface AppModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<App>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Object clone()
public java.lang.String getCategory()
getCategory in interface AppModelpublic java.lang.String getDescription()
getDescription in interface AppModelpublic java.lang.String getFileDir()
getFileDir in interface Apppublic java.lang.String getFileName()
getFileName in interface Apppublic java.lang.String getFilePath()
getFilePath in interface Apppublic java.lang.String getIconURL()
getIconURL in interface AppModelpublic java.lang.String getTitle()
public java.lang.String getUserName()
getUserName in interface AppModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface AppModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
public java.lang.String getVersion()
getVersion in interface AppModelpublic java.lang.String toString()
public java.lang.String toXmlString()
toXmlString in interface AppModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<App>public java.lang.String[] addContextName(java.lang.String contextName)
addContextName in interface Apppublic java.lang.String[] getContextNames()
getContextNames in interface Apppublic java.util.Date getCreateDate()
getCreateDate in interface AppModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AppModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getAppId()
public long getCompanyId()
getCompanyId in interface AppModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface AppModelpublic long getRemoteAppId()
getRemoteAppId in interface AppModelpublic long getUserId()
public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAppId(long appId)
public void setCachedModel(boolean cachedModel)
setCachedModel in interface AppModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<App>public void setCategory(java.lang.String category)
setCategory in interface AppModelcategory - the category of this apppublic void setCompanyId(long companyId)
setCompanyId in interface AppModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this apppublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AppModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this apppublic void setDescription(java.lang.String description)
setDescription in interface AppModeldescription - the description of this apppublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AppModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<App>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AppModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<App>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface AppModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<App>public void setIconURL(java.lang.String iconURL)
setIconURL in interface AppModeliconURL - the icon u r l of this apppublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AppModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this apppublic void setNew(boolean n)
public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AppModelprimaryKey - the primary key of this apppublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface AppModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<App>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setRemoteAppId(long remoteAppId)
setRemoteAppId in interface AppModelremoteAppId - the remote app ID of this apppublic void setRequired(boolean required)
setRequired in interface AppModelrequired - 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 AppModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this apppublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AppModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this apppublic void setUuid(java.lang.String uuid)
public void setVersion(java.lang.String version)
setVersion in interface AppModelversion - the version of this apppublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic 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>