@StableMinor(version="12.5", sinceVersion="8.2") public class ActivityAction extends Object implements Serializable
Activity
.Constructor and Description |
---|
ActivityAction() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns the display name of this action.
|
String |
getId()
Returns the identifier of this action.
|
String |
getLocalizedDisplayName(Locale locale)
Returns the localized display name of this action.
|
IResource |
getStringResource()
Returns the string resource used to localize this action's strings.
|
void |
setDisplayName(String displayName)
Sets the display name of this action.
|
void |
setId(String id)
Sets the identifier of this action.
|
void |
setStringResource(IResource stringResource)
Sets the string localization resource paths for this action based on a string localization resource object.
|
void |
setStringResourcePath(String stringResourcePath)
Sets the string localization resource path for this action.
|
String |
toString() |
public String getId()
public void setId(String id)
id
- the identifier.public IResource getStringResource()
public void setStringResource(IResource stringResource)
stringResource
- the string localization resource object.setStringResourcePath(String)
public void setStringResourcePath(String stringResourcePath)
stringResourcePath
- the string localization resource path.setStringResource(IResource)
public String getDisplayName()
#getStringResourcePaths()
public void setDisplayName(String displayName)
displayName
- the plain-text display name value, possibly a localizable string key.getStringResource()
public String getLocalizedDisplayName(Locale locale) throws PortalException
locale
- the locale to use to localize the display name.PortalException
- if there was a problem while applying the localization on the value.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.