public class ObjectActionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectAction> implements com.liferay.portal.kernel.model.ModelWrapper<ObjectAction>, ObjectAction
This class is a wrapper for ObjectAction
.
ObjectAction
,
Serialized FormOBJECT_ACTION_ID_ACCESSOR
Constructor and Description |
---|
ObjectActionWrapper(ObjectAction objectAction) |
Modifier and Type | Method and Description |
---|---|
ObjectAction |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this object action.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this object action.
|
java.lang.String |
getConditionExpression()
Returns the condition expression of this object action.
|
java.util.Date |
getCreateDate()
Returns the create date of this object action.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this object action.
|
java.lang.String |
getErrorMessage()
Returns the error message of this object action.
|
java.lang.String |
getErrorMessage(java.util.Locale locale)
Returns the localized error message of this object action in the language.
|
java.lang.String |
getErrorMessage(java.util.Locale locale,
boolean useDefault)
Returns the localized error message of this object action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getErrorMessage(java.lang.String languageId)
Returns the localized error message of this object action in the language.
|
java.lang.String |
getErrorMessage(java.lang.String languageId,
boolean useDefault)
Returns the localized error message of this object action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getErrorMessageCurrentLanguageId() |
java.lang.String |
getErrorMessageCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getErrorMessageMap()
Returns a map of the locales and localized error messages of this object action.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this object action.
|
java.lang.String |
getLabel()
Returns the label of this object action.
|
java.lang.String |
getLabel(java.util.Locale locale)
Returns the localized label of this object action in the language.
|
java.lang.String |
getLabel(java.util.Locale locale,
boolean useDefault)
Returns the localized label of this object action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getLabel(java.lang.String languageId)
Returns the localized label of this object action in the language.
|
java.lang.String |
getLabel(java.lang.String languageId,
boolean useDefault)
Returns the localized label of this object action in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getLabelCurrentLanguageId() |
java.lang.String |
getLabelCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getLabelMap()
Returns a map of the locales and localized labels of this object action.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this object action.
|
long |
getMvccVersion()
Returns the mvcc version of this object action.
|
java.lang.String |
getName()
Returns the name of this object action.
|
java.lang.String |
getObjectActionExecutorKey()
Returns the object action executor key of this object action.
|
long |
getObjectActionId()
Returns the object action ID of this object action.
|
java.lang.String |
getObjectActionTriggerKey()
Returns the object action trigger key of this object action.
|
long |
getObjectDefinitionId()
Returns the object definition ID of this object action.
|
java.lang.String |
getParameters()
Returns the parameters of this object action.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getParametersUnicodeProperties() |
long |
getPrimaryKey()
Returns the primary key of this object action.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this object action.
|
long |
getUserId()
Returns the user ID of this object action.
|
java.lang.String |
getUserName()
Returns the user name of this object action.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this object action.
|
java.lang.String |
getUuid()
Returns the uuid of this object action.
|
boolean |
isActive()
Returns
true if this object action is active. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setActive(boolean active)
Sets whether this object action is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this object action.
|
void |
setConditionExpression(java.lang.String conditionExpression)
Sets the condition expression of this object action.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this object action.
|
void |
setDescription(java.lang.String description)
Sets the description of this object action.
|
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message of this object action.
|
void |
setErrorMessage(java.lang.String errorMessage,
java.util.Locale locale)
Sets the localized error message of this object action in the language.
|
void |
setErrorMessage(java.lang.String errorMessage,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized error message of this object action in the language, and sets the default locale.
|
void |
setErrorMessageCurrentLanguageId(java.lang.String languageId) |
void |
setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap)
Sets the localized error messages of this object action from the map of locales and localized error messages.
|
void |
setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap,
java.util.Locale defaultLocale)
Sets the localized error messages of this object action from the map of locales and localized error messages, and sets the default locale.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this object action.
|
void |
setLabel(java.lang.String label)
Sets the label of this object action.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale)
Sets the localized label of this object action in the language.
|
void |
setLabel(java.lang.String label,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized label of this object action in the language, and sets the default locale.
|
void |
setLabelCurrentLanguageId(java.lang.String languageId) |
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
Sets the localized labels of this object action from the map of locales and localized labels.
|
void |
setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.util.Locale defaultLocale)
Sets the localized labels of this object action from the map of locales and localized labels, and sets the default locale.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this object action.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this object action.
|
void |
setName(java.lang.String name)
Sets the name of this object action.
|
void |
setObjectActionExecutorKey(java.lang.String objectActionExecutorKey)
Sets the object action executor key of this object action.
|
void |
setObjectActionId(long objectActionId)
Sets the object action ID of this object action.
|
void |
setObjectActionTriggerKey(java.lang.String objectActionTriggerKey)
Sets the object action trigger key of this object action.
|
void |
setObjectDefinitionId(long objectDefinitionId)
Sets the object definition ID of this object action.
|
void |
setParameters(java.lang.String parameters)
Sets the parameters of this object action.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this object action.
|
void |
setStatus(int status)
Sets the status of this object action.
|
void |
setUserId(long userId)
Sets the user ID of this object action.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this object action.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this object action.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this object action.
|
java.lang.String |
toXmlString() |
protected ObjectActionWrapper |
wrap(ObjectAction objectAction) |
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 ObjectActionWrapper(ObjectAction objectAction)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ObjectAction>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ObjectAction>
public ObjectAction cloneWithOriginalValues()
cloneWithOriginalValues
in interface ObjectActionModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<ObjectAction>
public boolean getActive()
getActive
in interface ObjectActionModel
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface ObjectActionModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getCompanyId()
getCompanyId
in interface ObjectActionModel
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 getConditionExpression()
getConditionExpression
in interface ObjectActionModel
public java.util.Date getCreateDate()
getCreateDate
in interface ObjectActionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface ObjectActionModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDescription()
getDescription
in interface ObjectActionModel
public java.lang.String getErrorMessage()
getErrorMessage
in interface ObjectActionModel
public java.lang.String getErrorMessage(java.util.Locale locale)
getErrorMessage
in interface ObjectActionModel
locale
- the locale of the languagepublic java.lang.String getErrorMessage(java.util.Locale locale, boolean useDefault)
getErrorMessage
in interface ObjectActionModel
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 getErrorMessage(java.lang.String languageId)
getErrorMessage
in interface ObjectActionModel
languageId
- the ID of the languagepublic java.lang.String getErrorMessage(java.lang.String languageId, boolean useDefault)
getErrorMessage
in interface ObjectActionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getErrorMessageCurrentLanguageId()
getErrorMessageCurrentLanguageId
in interface ObjectActionModel
public java.lang.String getErrorMessageCurrentValue()
getErrorMessageCurrentValue
in interface ObjectActionModel
public java.util.Map<java.util.Locale,java.lang.String> getErrorMessageMap()
getErrorMessageMap
in interface ObjectActionModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface ObjectActionModel
public java.lang.String getLabel()
getLabel
in interface ObjectActionModel
public java.lang.String getLabel(java.util.Locale locale)
getLabel
in interface ObjectActionModel
locale
- the locale of the languagepublic java.lang.String getLabel(java.util.Locale locale, boolean useDefault)
getLabel
in interface ObjectActionModel
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 getLabel(java.lang.String languageId)
getLabel
in interface ObjectActionModel
languageId
- the ID of the languagepublic java.lang.String getLabel(java.lang.String languageId, boolean useDefault)
getLabel
in interface ObjectActionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic java.lang.String getLabelCurrentLanguageId()
getLabelCurrentLanguageId
in interface ObjectActionModel
public java.lang.String getLabelCurrentValue()
getLabelCurrentValue
in interface ObjectActionModel
public java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
getLabelMap
in interface ObjectActionModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface ObjectActionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface ObjectActionModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface ObjectActionModel
public java.lang.String getObjectActionExecutorKey()
getObjectActionExecutorKey
in interface ObjectActionModel
public long getObjectActionId()
getObjectActionId
in interface ObjectActionModel
public java.lang.String getObjectActionTriggerKey()
getObjectActionTriggerKey
in interface ObjectActionModel
public long getObjectDefinitionId()
getObjectDefinitionId
in interface ObjectActionModel
public java.lang.String getParameters()
getParameters
in interface ObjectActionModel
public com.liferay.portal.kernel.util.UnicodeProperties getParametersUnicodeProperties()
getParametersUnicodeProperties
in interface ObjectAction
public long getPrimaryKey()
getPrimaryKey
in interface ObjectActionModel
public int getStatus()
getStatus
in interface ObjectActionModel
public long getUserId()
getUserId
in interface ObjectActionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface ObjectActionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface ObjectActionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface ObjectActionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isActive()
true
if this object action is active.isActive
in interface ObjectActionModel
true
if this object action 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 ObjectActionModel
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 ObjectActionModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setActive(boolean active)
setActive
in interface ObjectActionModel
active
- the active of this object actionpublic void setCompanyId(long companyId)
setCompanyId
in interface ObjectActionModel
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 object actionpublic void setConditionExpression(java.lang.String conditionExpression)
setConditionExpression
in interface ObjectActionModel
conditionExpression
- the condition expression of this object actionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface ObjectActionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this object actionpublic void setDescription(java.lang.String description)
setDescription
in interface ObjectActionModel
description
- the description of this object actionpublic void setErrorMessage(java.lang.String errorMessage)
setErrorMessage
in interface ObjectActionModel
errorMessage
- the error message of this object actionpublic void setErrorMessage(java.lang.String errorMessage, java.util.Locale locale)
setErrorMessage
in interface ObjectActionModel
errorMessage
- the localized error message of this object actionlocale
- the locale of the languagepublic void setErrorMessage(java.lang.String errorMessage, java.util.Locale locale, java.util.Locale defaultLocale)
setErrorMessage
in interface ObjectActionModel
errorMessage
- the localized error message of this object actionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setErrorMessageCurrentLanguageId(java.lang.String languageId)
setErrorMessageCurrentLanguageId
in interface ObjectActionModel
public void setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap)
setErrorMessageMap
in interface ObjectActionModel
errorMessageMap
- the locales and localized error messages of this object actionpublic void setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap, java.util.Locale defaultLocale)
setErrorMessageMap
in interface ObjectActionModel
errorMessageMap
- the locales and localized error messages of this object actiondefaultLocale
- the default localepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface ObjectActionModel
externalReferenceCode
- the external reference code of this object actionpublic void setLabel(java.lang.String label)
setLabel
in interface ObjectActionModel
label
- the label of this object actionpublic void setLabel(java.lang.String label, java.util.Locale locale)
setLabel
in interface ObjectActionModel
label
- the localized label of this object actionlocale
- the locale of the languagepublic void setLabel(java.lang.String label, java.util.Locale locale, java.util.Locale defaultLocale)
setLabel
in interface ObjectActionModel
label
- the localized label of this object actionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setLabelCurrentLanguageId(java.lang.String languageId)
setLabelCurrentLanguageId
in interface ObjectActionModel
public void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
setLabelMap
in interface ObjectActionModel
labelMap
- the locales and localized labels of this object actionpublic void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap, java.util.Locale defaultLocale)
setLabelMap
in interface ObjectActionModel
labelMap
- the locales and localized labels of this object actiondefaultLocale
- the default localepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface ObjectActionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this object actionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface ObjectActionModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this object actionpublic void setName(java.lang.String name)
setName
in interface ObjectActionModel
name
- the name of this object actionpublic void setObjectActionExecutorKey(java.lang.String objectActionExecutorKey)
setObjectActionExecutorKey
in interface ObjectActionModel
objectActionExecutorKey
- the object action executor key of this object actionpublic void setObjectActionId(long objectActionId)
setObjectActionId
in interface ObjectActionModel
objectActionId
- the object action ID of this object actionpublic void setObjectActionTriggerKey(java.lang.String objectActionTriggerKey)
setObjectActionTriggerKey
in interface ObjectActionModel
objectActionTriggerKey
- the object action trigger key of this object actionpublic void setObjectDefinitionId(long objectDefinitionId)
setObjectDefinitionId
in interface ObjectActionModel
objectDefinitionId
- the object definition ID of this object actionpublic void setParameters(java.lang.String parameters)
setParameters
in interface ObjectActionModel
parameters
- the parameters of this object actionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ObjectActionModel
primaryKey
- the primary key of this object actionpublic void setStatus(int status)
setStatus
in interface ObjectActionModel
status
- the status of this object actionpublic void setUserId(long userId)
setUserId
in interface ObjectActionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this object actionpublic void setUserName(java.lang.String userName)
setUserName
in interface ObjectActionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this object actionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface ObjectActionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this object actionpublic void setUuid(java.lang.String uuid)
setUuid
in interface ObjectActionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this object actionpublic java.lang.String toXmlString()
toXmlString
in interface ObjectActionModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected ObjectActionWrapper wrap(ObjectAction objectAction)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectAction>