public class AppWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App> 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) |
App |
cloneWithOriginalValues() |
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.
|
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.util.Date |
getModifiedDate()
Returns the modified date of this app.
|
long |
getPrimaryKey()
Returns the primary key of this app.
|
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.
|
boolean |
isDownloaded() |
boolean |
isInstalled() |
boolean |
isRequired()
Returns
true if this app is required. |
void |
persist() |
void |
setAppId(long appId)
Sets the app ID of this app.
|
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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this app.
|
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.
|
protected AppWrapper |
wrap(App app) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic AppWrapper(App app)
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 Apppublic App cloneWithOriginalValues()
cloneWithOriginalValues in interface AppModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<App>public long getAppId()
public java.lang.String getCategory()
getCategory in interface AppModelpublic 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 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.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.util.Date getModifiedDate()
getModifiedDate in interface AppModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface AppModelpublic long getRemoteAppId()
getRemoteAppId in interface AppModelpublic boolean getRequired()
getRequired in interface AppModelpublic java.lang.String getTitle()
public long getUserId()
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 boolean isDownloaded()
throws com.liferay.portal.kernel.exception.PortalException
isDownloaded in interface Appcom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isInstalled()
isInstalled in interface Apppublic boolean isRequired()
true if this app is required.isRequired in interface AppModeltrue if this app is required; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAppId(long appId)
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 setIconURL(java.lang.String iconURL)
setIconURL in interface AppModeliconURL - the icon url 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 setPrimaryKey(long primaryKey)
setPrimaryKey in interface AppModelprimaryKey - the primary key of this apppublic 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 com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected AppWrapper wrap(App app)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>