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.
|
java.lang.String |
toXmlString() |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public 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 App
public App cloneWithOriginalValues()
cloneWithOriginalValues
in interface AppModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<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 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 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 boolean isDownloaded() throws com.liferay.portal.kernel.exception.PortalException
isDownloaded
in interface App
com.liferay.portal.kernel.exception.PortalException
public boolean isInstalled()
isInstalled
in interface App
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 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 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 setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AppModel
primaryKey
- the primary key of this apppublic 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 java.lang.String toXmlString()
toXmlString
in interface AppModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected AppWrapper wrap(App app)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<App>