public class AppBuilderAppWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AppBuilderApp> implements AppBuilderApp, com.liferay.portal.kernel.model.ModelWrapper<AppBuilderApp>
This class is a wrapper for AppBuilderApp
.
AppBuilderApp
,
Serialized FormAPP_BUILDER_APP_ID_ACCESSOR
Constructor and Description |
---|
AppBuilderAppWrapper(AppBuilderApp appBuilderApp) |
Modifier and Type | Method and Description |
---|---|
boolean |
getActive()
Returns the active of this app builder app.
|
long |
getAppBuilderAppId()
Returns the app builder app ID of this app builder app.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this app builder app.
|
java.util.Date |
getCreateDate()
Returns the create date of this app builder app.
|
long |
getDdlRecordSetId()
Returns the ddl record set ID of this app builder app.
|
long |
getDdmStructureId()
Returns the ddm structure ID of this app builder app.
|
long |
getDdmStructureLayoutId()
Returns the ddm structure layout ID of this app builder app.
|
long |
getDeDataListViewId()
Returns the de data list view ID of this app builder app.
|
java.lang.String |
getDefaultLanguageId() |
long |
getGroupId()
Returns the group ID of this app builder app.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this app builder app.
|
java.lang.String |
getName()
Returns the name of this app builder app.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this app builder app in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this app builder app in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this app builder app in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this app builder app in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this app builder app.
|
long |
getPrimaryKey()
Returns the primary key of this app builder app.
|
java.lang.String |
getScope()
Returns the scope of this app builder app.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this app builder app.
|
java.lang.String |
getUserName()
Returns the user name of this app builder app.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this app builder app.
|
java.lang.String |
getUuid()
Returns the uuid of this app builder app.
|
boolean |
isActive()
Returns
true if this app builder app is active. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setActive(boolean active)
Sets whether this app builder app is active.
|
void |
setAppBuilderAppId(long appBuilderAppId)
Sets the app builder app ID of this app builder app.
|
void |
setCompanyId(long companyId)
Sets the company ID of this app builder app.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this app builder app.
|
void |
setDdlRecordSetId(long ddlRecordSetId)
Sets the ddl record set ID of this app builder app.
|
void |
setDdmStructureId(long ddmStructureId)
Sets the ddm structure ID of this app builder app.
|
void |
setDdmStructureLayoutId(long ddmStructureLayoutId)
Sets the ddm structure layout ID of this app builder app.
|
void |
setDeDataListViewId(long deDataListViewId)
Sets the de data list view ID of this app builder app.
|
void |
setGroupId(long groupId)
Sets the group ID of this app builder 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 builder app.
|
void |
setName(java.lang.String name)
Sets the name of this app builder app.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this app builder app in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this app builder app in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this app builder app from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this app builder app from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this app builder app.
|
void |
setScope(java.lang.String scope)
Sets the scope of this app builder app.
|
void |
setUserId(long userId)
Sets the user ID of this app builder app.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this app builder app.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this app builder app.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this app builder app.
|
protected AppBuilderAppWrapper |
wrap(AppBuilderApp appBuilderApp) |
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, toXmlString
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, toXmlString
public AppBuilderAppWrapper(AppBuilderApp appBuilderApp)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<AppBuilderApp>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<AppBuilderApp>
public boolean getActive()
getActive
in interface AppBuilderAppModel
public long getAppBuilderAppId()
getAppBuilderAppId
in interface AppBuilderAppModel
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface AppBuilderAppModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getCompanyId()
getCompanyId
in interface AppBuilderAppModel
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.util.Date getCreateDate()
getCreateDate
in interface AppBuilderAppModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getDdlRecordSetId()
getDdlRecordSetId
in interface AppBuilderAppModel
public long getDdmStructureId()
getDdmStructureId
in interface AppBuilderAppModel
public long getDdmStructureLayoutId()
getDdmStructureLayoutId
in interface AppBuilderAppModel
public long getDeDataListViewId()
getDeDataListViewId
in interface AppBuilderAppModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface AppBuilderAppModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getGroupId()
getGroupId
in interface AppBuilderAppModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AppBuilderAppModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getName()
getName
in interface AppBuilderAppModel
public java.lang.String getName(java.util.Locale locale)
getName
in interface AppBuilderAppModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
getName
in interface AppBuilderAppModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested languageuseDefault
is false
and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
getName
in interface AppBuilderAppModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
getName
in interface AppBuilderAppModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface AppBuilderAppModel
public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface AppBuilderAppModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap
in interface AppBuilderAppModel
public long getPrimaryKey()
getPrimaryKey
in interface AppBuilderAppModel
public java.lang.String getScope()
getScope
in interface AppBuilderAppModel
public long getUserId()
getUserId
in interface AppBuilderAppModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface AppBuilderAppModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface AppBuilderAppModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface AppBuilderAppModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isActive()
true
if this app builder app is active.isActive
in interface AppBuilderAppModel
true
if this app builder app is active; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface AppBuilderAppModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface AppBuilderAppModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setActive(boolean active)
setActive
in interface AppBuilderAppModel
active
- the active of this app builder apppublic void setAppBuilderAppId(long appBuilderAppId)
setAppBuilderAppId
in interface AppBuilderAppModel
appBuilderAppId
- the app builder app ID of this app builder apppublic void setCompanyId(long companyId)
setCompanyId
in interface AppBuilderAppModel
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 app builder apppublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AppBuilderAppModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this app builder apppublic void setDdlRecordSetId(long ddlRecordSetId)
setDdlRecordSetId
in interface AppBuilderAppModel
ddlRecordSetId
- the ddl record set ID of this app builder apppublic void setDdmStructureId(long ddmStructureId)
setDdmStructureId
in interface AppBuilderAppModel
ddmStructureId
- the ddm structure ID of this app builder apppublic void setDdmStructureLayoutId(long ddmStructureLayoutId)
setDdmStructureLayoutId
in interface AppBuilderAppModel
ddmStructureLayoutId
- the ddm structure layout ID of this app builder apppublic void setDeDataListViewId(long deDataListViewId)
setDeDataListViewId
in interface AppBuilderAppModel
deDataListViewId
- the de data list view ID of this app builder apppublic void setGroupId(long groupId)
setGroupId
in interface AppBuilderAppModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this app builder apppublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AppBuilderAppModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this app builder apppublic void setName(java.lang.String name)
setName
in interface AppBuilderAppModel
name
- the name of this app builder apppublic void setName(java.lang.String name, java.util.Locale locale)
setName
in interface AppBuilderAppModel
name
- the localized name of this app builder applocale
- the locale of the languagepublic void setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
setName
in interface AppBuilderAppModel
name
- the localized name of this app builder applocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId
in interface AppBuilderAppModel
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap
in interface AppBuilderAppModel
nameMap
- the locales and localized names of this app builder apppublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
setNameMap
in interface AppBuilderAppModel
nameMap
- the locales and localized names of this app builder appdefaultLocale
- the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AppBuilderAppModel
primaryKey
- the primary key of this app builder apppublic void setScope(java.lang.String scope)
setScope
in interface AppBuilderAppModel
scope
- the scope of this app builder apppublic void setUserId(long userId)
setUserId
in interface AppBuilderAppModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this app builder apppublic void setUserName(java.lang.String userName)
setUserName
in interface AppBuilderAppModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this app builder apppublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AppBuilderAppModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this app builder apppublic void setUuid(java.lang.String uuid)
setUuid
in interface AppBuilderAppModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this app builder apppublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected AppBuilderAppWrapper wrap(AppBuilderApp appBuilderApp)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AppBuilderApp>