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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 ObjectActionModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ObjectAction>public boolean getActive()
getActive in interface ObjectActionModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface ObjectActionModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCompanyId()
getCompanyId in interface ObjectActionModelgetCompanyId 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 getConditionExpression()
getConditionExpression in interface ObjectActionModelpublic java.util.Date getCreateDate()
getCreateDate in interface ObjectActionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface ObjectActionModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface ObjectActionModelpublic java.lang.String getErrorMessage()
getErrorMessage in interface ObjectActionModelpublic java.lang.String getErrorMessage(java.util.Locale locale)
getErrorMessage in interface ObjectActionModellocale - the locale of the languagepublic java.lang.String getErrorMessage(java.util.Locale locale,
boolean useDefault)
getErrorMessage in interface ObjectActionModellocale - 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 ObjectActionModellanguageId - the ID of the languagepublic java.lang.String getErrorMessage(java.lang.String languageId,
boolean useDefault)
getErrorMessage in interface ObjectActionModellanguageId - 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 ObjectActionModelpublic java.lang.String getErrorMessageCurrentValue()
getErrorMessageCurrentValue in interface ObjectActionModelpublic java.util.Map<java.util.Locale,java.lang.String> getErrorMessageMap()
getErrorMessageMap in interface ObjectActionModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface ObjectActionModelpublic java.lang.String getLabel()
getLabel in interface ObjectActionModelpublic java.lang.String getLabel(java.util.Locale locale)
getLabel in interface ObjectActionModellocale - the locale of the languagepublic java.lang.String getLabel(java.util.Locale locale,
boolean useDefault)
getLabel in interface ObjectActionModellocale - 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 ObjectActionModellanguageId - the ID of the languagepublic java.lang.String getLabel(java.lang.String languageId,
boolean useDefault)
getLabel in interface ObjectActionModellanguageId - 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 ObjectActionModelpublic java.lang.String getLabelCurrentValue()
getLabelCurrentValue in interface ObjectActionModelpublic java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
getLabelMap in interface ObjectActionModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface ObjectActionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface ObjectActionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface ObjectActionModelpublic java.lang.String getObjectActionExecutorKey()
getObjectActionExecutorKey in interface ObjectActionModelpublic long getObjectActionId()
getObjectActionId in interface ObjectActionModelpublic java.lang.String getObjectActionTriggerKey()
getObjectActionTriggerKey in interface ObjectActionModelpublic long getObjectDefinitionId()
getObjectDefinitionId in interface ObjectActionModelpublic java.lang.String getParameters()
getParameters in interface ObjectActionModelpublic com.liferay.portal.kernel.util.UnicodeProperties getParametersUnicodeProperties()
getParametersUnicodeProperties in interface ObjectActionpublic long getPrimaryKey()
getPrimaryKey in interface ObjectActionModelpublic int getStatus()
getStatus in interface ObjectActionModelpublic long getUserId()
getUserId in interface ObjectActionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface ObjectActionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface ObjectActionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface ObjectActionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isActive()
true if this object action is active.isActive in interface ObjectActionModeltrue if this object action is active; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface ObjectActionModelprepareLocalizedFieldsForImport 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 ObjectActionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setActive(boolean active)
setActive in interface ObjectActionModelactive - the active of this object actionpublic void setCompanyId(long companyId)
setCompanyId in interface ObjectActionModelsetCompanyId 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 object actionpublic void setConditionExpression(java.lang.String conditionExpression)
setConditionExpression in interface ObjectActionModelconditionExpression - the condition expression of this object actionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface ObjectActionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this object actionpublic void setDescription(java.lang.String description)
setDescription in interface ObjectActionModeldescription - the description of this object actionpublic void setErrorMessage(java.lang.String errorMessage)
setErrorMessage in interface ObjectActionModelerrorMessage - the error message of this object actionpublic void setErrorMessage(java.lang.String errorMessage,
java.util.Locale locale)
setErrorMessage in interface ObjectActionModelerrorMessage - 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 ObjectActionModelerrorMessage - 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 ObjectActionModelpublic void setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap)
setErrorMessageMap in interface ObjectActionModelerrorMessageMap - 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 ObjectActionModelerrorMessageMap - the locales and localized error messages of this object actiondefaultLocale - the default localepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface ObjectActionModelexternalReferenceCode - the external reference code of this object actionpublic void setLabel(java.lang.String label)
setLabel in interface ObjectActionModellabel - the label of this object actionpublic void setLabel(java.lang.String label,
java.util.Locale locale)
setLabel in interface ObjectActionModellabel - 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 ObjectActionModellabel - the localized label of this object actionlocale - the locale of the languagedefaultLocale - the default localepublic void setLabelCurrentLanguageId(java.lang.String languageId)
setLabelCurrentLanguageId in interface ObjectActionModelpublic void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
setLabelMap in interface ObjectActionModellabelMap - 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 ObjectActionModellabelMap - the locales and localized labels of this object actiondefaultLocale - the default localepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface ObjectActionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this object actionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ObjectActionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this object actionpublic void setName(java.lang.String name)
setName in interface ObjectActionModelname - the name of this object actionpublic void setObjectActionExecutorKey(java.lang.String objectActionExecutorKey)
setObjectActionExecutorKey in interface ObjectActionModelobjectActionExecutorKey - the object action executor key of this object actionpublic void setObjectActionId(long objectActionId)
setObjectActionId in interface ObjectActionModelobjectActionId - the object action ID of this object actionpublic void setObjectActionTriggerKey(java.lang.String objectActionTriggerKey)
setObjectActionTriggerKey in interface ObjectActionModelobjectActionTriggerKey - the object action trigger key of this object actionpublic void setObjectDefinitionId(long objectDefinitionId)
setObjectDefinitionId in interface ObjectActionModelobjectDefinitionId - the object definition ID of this object actionpublic void setParameters(java.lang.String parameters)
setParameters in interface ObjectActionModelparameters - the parameters of this object actionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ObjectActionModelprimaryKey - the primary key of this object actionpublic void setStatus(int status)
setStatus in interface ObjectActionModelstatus - the status of this object actionpublic void setUserId(long userId)
setUserId in interface ObjectActionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this object actionpublic void setUserName(java.lang.String userName)
setUserName in interface ObjectActionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this object actionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface ObjectActionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this object actionpublic void setUuid(java.lang.String uuid)
setUuid in interface ObjectActionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this object actionpublic java.lang.String toXmlString()
toXmlString in interface ObjectActionModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected ObjectActionWrapper wrap(ObjectAction objectAction)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectAction>