@ProviderType public interface ObjectActionModel extends com.liferay.portal.kernel.model.BaseModel<ObjectAction>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
This interface and its corresponding implementation com.liferay.object.model.impl.ObjectActionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.object.model.impl.ObjectActionImpl.
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.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.
|
long |
getPrimaryKey()
Returns the primary key of this object action.
|
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 |
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 |
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.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this object actionlong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this object action@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this object action@AutoEscape java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelvoid setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this object actionlong getObjectActionId()
void setObjectActionId(long objectActionId)
objectActionId - the object action ID of this object actionlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId 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 actionlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this object actionjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this object action@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this object actionjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this object actionjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this object actionlong getObjectDefinitionId()
void setObjectDefinitionId(long objectDefinitionId)
objectDefinitionId - the object definition ID of this object actionboolean getActive()
boolean isActive()
true if this object action is active.true if this object action is active; false otherwisevoid setActive(boolean active)
active - the active of this object action@AutoEscape java.lang.String getConditionExpression()
void setConditionExpression(java.lang.String conditionExpression)
conditionExpression - the condition expression of this object action@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this object actionjava.lang.String getErrorMessage()
@AutoEscape java.lang.String getErrorMessage(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getErrorMessage(java.util.Locale locale,
boolean useDefault)
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.@AutoEscape java.lang.String getErrorMessage(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getErrorMessage(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getErrorMessageCurrentLanguageId()
@AutoEscape java.lang.String getErrorMessageCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getErrorMessageMap()
void setErrorMessage(java.lang.String errorMessage)
errorMessage - the error message of this object actionvoid setErrorMessage(java.lang.String errorMessage,
java.util.Locale locale)
errorMessage - the localized error message of this object actionlocale - the locale of the languagevoid setErrorMessage(java.lang.String errorMessage,
java.util.Locale locale,
java.util.Locale defaultLocale)
errorMessage - the localized error message of this object actionlocale - the locale of the languagedefaultLocale - the default localevoid setErrorMessageCurrentLanguageId(java.lang.String languageId)
void setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap)
errorMessageMap - the locales and localized error messages of this object actionvoid setErrorMessageMap(java.util.Map<java.util.Locale,java.lang.String> errorMessageMap,
java.util.Locale defaultLocale)
errorMessageMap - the locales and localized error messages of this object actiondefaultLocale - the default localejava.lang.String getLabel()
@AutoEscape java.lang.String getLabel(java.util.Locale locale)
locale - the locale of the language@AutoEscape
java.lang.String getLabel(java.util.Locale locale,
boolean useDefault)
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.@AutoEscape java.lang.String getLabel(java.lang.String languageId)
languageId - the ID of the language@AutoEscape
java.lang.String getLabel(java.lang.String languageId,
boolean useDefault)
languageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested language@AutoEscape java.lang.String getLabelCurrentLanguageId()
@AutoEscape java.lang.String getLabelCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getLabelMap()
void setLabel(java.lang.String label)
label - the label of this object actionvoid setLabel(java.lang.String label,
java.util.Locale locale)
label - the localized label of this object actionlocale - the locale of the languagevoid setLabel(java.lang.String label,
java.util.Locale locale,
java.util.Locale defaultLocale)
label - the localized label of this object actionlocale - the locale of the languagedefaultLocale - the default localevoid setLabelCurrentLanguageId(java.lang.String languageId)
void setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap)
labelMap - the locales and localized labels of this object actionvoid setLabelMap(java.util.Map<java.util.Locale,java.lang.String> labelMap,
java.util.Locale defaultLocale)
labelMap - the locales and localized labels of this object actiondefaultLocale - the default locale@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this object action@AutoEscape java.lang.String getObjectActionExecutorKey()
void setObjectActionExecutorKey(java.lang.String objectActionExecutorKey)
objectActionExecutorKey - the object action executor key of this object action@AutoEscape java.lang.String getObjectActionTriggerKey()
void setObjectActionTriggerKey(java.lang.String objectActionTriggerKey)
objectActionTriggerKey - the object action trigger key of this object action@AutoEscape java.lang.String getParameters()
void setParameters(java.lang.String parameters)
parameters - the parameters of this object actionint getStatus()
void setStatus(int status)
status - the status of this object actionjava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelvoid prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionObjectAction cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ObjectAction>default java.lang.String toXmlString()