public class MDRActionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MDRAction> implements MDRAction, com.liferay.portal.kernel.model.ModelWrapper<MDRAction>
This class is a wrapper for MDRAction.
MDRAction,
Serialized FormACTION_ID_ACCESSOR, NAME_ACCESSOR| Constructor and Description |
|---|
MDRActionWrapper(MDRAction mdrAction) |
| Modifier and Type | Method and Description |
|---|---|
long |
getActionId()
Returns the action ID of this mdr action.
|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this mdr action.
|
long |
getClassNameId()
Returns the class name ID of this mdr action.
|
long |
getClassPK()
Returns the class pk of this mdr action.
|
long |
getCompanyId()
Returns the company ID of this mdr action.
|
java.util.Date |
getCreateDate()
Returns the create date of this mdr action.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this mdr action.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this mdr action in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this mdr action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this mdr action in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this mdr action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this mdr action.
|
long |
getGroupId()
Returns the group ID of this mdr action.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this mdr action.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this mdr action.
|
long |
getMvccVersion()
Returns the mvcc version of this mdr action.
|
java.lang.String |
getName()
Returns the name of this mdr action.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this mdr action in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this mdr action 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 mdr action in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this mdr action 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 mdr action.
|
long |
getPrimaryKey()
Returns the primary key of this mdr action.
|
long |
getRuleGroupInstanceId()
Returns the rule group instance ID of this mdr action.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getType()
Returns the type of this mdr action.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this mdr action.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getTypeSettingsProperties() |
long |
getUserId()
Returns the user ID of this mdr action.
|
java.lang.String |
getUserName()
Returns the user name of this mdr action.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this mdr action.
|
java.lang.String |
getUuid()
Returns the uuid of this mdr action.
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setActionId(long actionId)
Sets the action ID of this mdr action.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this mdr action.
|
void |
setClassPK(long classPK)
Sets the class pk of this mdr action.
|
void |
setCompanyId(long companyId)
Sets the company ID of this mdr action.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this mdr action.
|
void |
setDescription(java.lang.String description)
Sets the description of this mdr action.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this mdr action in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this mdr action in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this mdr action from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this mdr action from the map of locales and localized descriptions, and sets the default locale.
|
void |
setGroupId(long groupId)
Sets the group ID of this mdr action.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this mdr action.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this mdr action.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this mdr action.
|
void |
setName(java.lang.String name)
Sets the name of this mdr action.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this mdr action in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this mdr action 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 mdr action 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 mdr action from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this mdr action.
|
void |
setRuleGroupInstanceId(long ruleGroupInstanceId)
Sets the rule group instance ID of this mdr action.
|
void |
setType(java.lang.String type)
Sets the type of this mdr action.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this mdr action.
|
void |
setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) |
void |
setUserId(long userId)
Sets the user ID of this mdr action.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this mdr action.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this mdr action.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this mdr action.
|
protected MDRActionWrapper |
wrap(MDRAction mdrAction) |
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 MDRActionWrapper(MDRAction mdrAction)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MDRAction>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MDRAction>public long getActionId()
getActionId in interface MDRActionModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface MDRActionModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getClassName()
getClassName in interface MDRActionModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface MDRActionModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface MDRActionModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic long getCompanyId()
getCompanyId in interface MDRActionModelgetCompanyId 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.util.Date getCreateDate()
getCreateDate in interface MDRActionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface MDRActionModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface MDRActionModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface MDRActionModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface MDRActionModellocale - 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 getDescription(java.lang.String languageId)
getDescription in interface MDRActionModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface MDRActionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface MDRActionModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface MDRActionModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface MDRActionModelpublic long getGroupId()
getGroupId in interface MDRActionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface MDRActionModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface MDRActionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface MDRActionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface MDRActionModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface MDRActionModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface MDRActionModellocale - 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 MDRActionModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface MDRActionModellanguageId - 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 MDRActionModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface MDRActionModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface MDRActionModelpublic long getPrimaryKey()
getPrimaryKey in interface MDRActionModelpublic long getRuleGroupInstanceId()
getRuleGroupInstanceId in interface MDRActionModelpublic java.lang.String getType()
getType in interface MDRActionModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface MDRActionModelpublic com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface MDRActionpublic long getUserId()
getUserId in interface MDRActionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface MDRActionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface MDRActionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface MDRActionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface MDRActionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface MDRActionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setActionId(long actionId)
setActionId in interface MDRActionModelactionId - the action ID of this mdr actionpublic void setClassName(java.lang.String className)
setClassName in interface MDRActionModelpublic void setClassNameId(long classNameId)
setClassNameId in interface MDRActionModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this mdr actionpublic void setClassPK(long classPK)
setClassPK in interface MDRActionModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this mdr actionpublic void setCompanyId(long companyId)
setCompanyId in interface MDRActionModelsetCompanyId 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 mdr actionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface MDRActionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this mdr actionpublic void setDescription(java.lang.String description)
setDescription in interface MDRActionModeldescription - the description of this mdr actionpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface MDRActionModeldescription - the localized description of this mdr actionlocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface MDRActionModeldescription - the localized description of this mdr actionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface MDRActionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this mdr actionpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface MDRActionModeldescriptionMap - the locales and localized descriptions of this mdr actiondefaultLocale - the default localepublic void setGroupId(long groupId)
setGroupId in interface MDRActionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this mdr actionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface MDRActionModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this mdr actionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface MDRActionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this mdr actionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MDRActionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this mdr actionpublic void setName(java.lang.String name)
setName in interface MDRActionModelname - the name of this mdr actionpublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface MDRActionModelname - the localized name of this mdr actionlocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface MDRActionModelname - the localized name of this mdr actionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface MDRActionModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this mdr actionpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface MDRActionModelnameMap - the locales and localized names of this mdr actiondefaultLocale - the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MDRActionModelprimaryKey - the primary key of this mdr actionpublic void setRuleGroupInstanceId(long ruleGroupInstanceId)
setRuleGroupInstanceId in interface MDRActionModelruleGroupInstanceId - the rule group instance ID of this mdr actionpublic void setType(java.lang.String type)
setType in interface MDRActionModeltype - the type of this mdr actionpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface MDRActionModeltypeSettings - the type settings of this mdr actionpublic void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface MDRActionpublic void setUserId(long userId)
setUserId in interface MDRActionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this mdr actionpublic void setUserName(java.lang.String userName)
setUserName in interface MDRActionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this mdr actionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface MDRActionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this mdr actionpublic void setUuid(java.lang.String uuid)
setUuid in interface MDRActionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this mdr actionpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected MDRActionWrapper wrap(MDRAction mdrAction)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MDRAction>